[CMake] Are target dependencies always processed before file dependencies for custom targets?

2006-10-30 Thread Alan W. Irwin
case, for example. Can I count on target-depends for my custom target _always_ being processed before file-depends? Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming

Re: [CMake] cache variable prevents FIND_LIBRARY to be called again :/

2006-11-01 Thread Alan W. Irwin
, but apparently there is documentation of it in the CVS version of CMake that will turn into 2.4.4. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations

Re: [CMake] cache variable prevents FIND_LIBRARY to be called again :/

2006-11-03 Thread Alan W. Irwin
that decision. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net

[CMake] How to set up user option defaults that depend on other user option defaults?

2006-11-06 Thread Alan W. Irwin
an accident waiting to happen to me when some unsuspecting user sets that variable by accident, but I may be misunderstanding what is going on. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] Fortran 90 module dependencies problem

2006-11-08 Thread Alan W. Irwin
this bug will get fixed soon. I believe that everybody using fortran 95 modules trips over this bug. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations

Re: [CMake] 'make dist' like target

2006-11-13 Thread Alan W. Irwin
, for CMake/CPack you do have to make a specific custom target for the pre-built files you want to go into your source tarball, but that is straightforward if you have some fundamental knowledge of cmake target and file dependencies. Alan __ Alan W. Irwin Astronomical research

[CMake] What is the status of CMake on DJGPP?

2006-11-13 Thread Alan W. Irwin
build system. On the other hand, if CMake is not expected to work on DJGPP, it would be nice to know that as well so we won't waste our time with that combination. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University

Re: [CMake] Does cmake work with clearmake ?

2006-11-13 Thread Alan W. Irwin
of Makefile.) Note, CMake generates its own version of Makefiles so your existing Makefiles that are currently processed by clearmake will be completely ignored/superseded. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy

Re: [CMake] Re: 'make dist' like target

2006-11-13 Thread Alan W. Irwin
Alan W. Irwin [EMAIL PROTECTED] writes: We have used CPACK_SOURCE_IGNORE_FILES to ignore all backup (*~) files, all CVS directories, and some directories that are specific to our project. These regex's (not file globs) are a powerful means of deciding exactly what you want to go into your

RE: RE: Re: [CMake] cpack help

2006-11-14 Thread Alan W. Irwin
) Any hints? Use the PERMISSIONS attribute of the INSTALL command. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation

Re: [CMake] What is the status of CMake on DJGPP?

2006-11-15 Thread Alan W. Irwin
On 2006-11-13 15:19-0500 Bill Hoffman wrote: Alan W. Irwin wrote: One of the PLplot developers has been maintaining a special DJGPP build of PLplot for some time, and I was wondering if it would be possible for him to use our existing CMake build system instead? [...]If CMake is expected

Re: [CMake] Suggestion for CMake platform/compiler detection

2006-11-16 Thread Alan W. Irwin
) there will be a concerted effort to port more of our useful libraries to windows, and the problem of library availability on windows for software that originated on the Linux platform should be greatly reduced in consequence. Alan __ Alan W. Irwin Astronomical research

Re: [CMake] What is the status of CMake on DJGPP?

2006-11-16 Thread Alan W. Irwin
of the platforms mentioned on the DJGPP website, and apparently FreeDOS is a real OS (not an emulator) that purports to do everything that DOS did. Alan -- Forwarded message -- Date: Fri, 17 Nov 2006 14:51:09 +1000 From: Andrew Roach [EMAIL PROTECTED] To: Alan W. Irwin [EMAIL PROTECTED

Re: [CMake] Suggestion for CMake platform/compiler detection

2006-11-17 Thread Alan W. Irwin
a large catalytic effect. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors

Re: [CMake] Suggestion for CMake platform/compiler detection

2006-11-18 Thread Alan W. Irwin
__ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software

Re: [CMake] CMake 2.4.4 available for download

2006-11-21 Thread Alan W. Irwin
__ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific

Re: [CMake] CMake 2.4.4 available for download

2006-11-23 Thread Alan W. Irwin
On 2006-11-21 19:31-0800 Alan W. Irwin wrote: CMake[2.4.4] built cleanly (using the bootstrap script to start) on my Debian stable and Ubuntu Dapper systems. However, there were errors (certain necessary scripts were silently not created) when I attempted to build PLplot with the new version

Re: [CMake] Fortran bugs/Mixed C/CXX/Fortran/Silly Questions?

2006-11-24 Thread Alan W. Irwin
77 and g77 user from way back, but all the high-level things that it is possible to do with arrays in gfortran has caught my interest, and I think that would prove true for the large number of scientific programmers who are still using g77.) Alan __ Alan W. Irwin

Re: [CMake] Howto create an empty directory during 'make install'?

2006-11-25 Thread Alan W. Irwin
. Instead work on getting a normal install to work properly. My experience with cmake is that once the normal make install works properly, then make install DESTDIR='/temporary/staging/area' works fine as well. Alan __ Alan W. Irwin Astronomical research affiliation

Re: [CMake] Re: Howto create an empty directory during 'make install'?

2006-11-25 Thread Alan W. Irwin
On 2006-11-25 18:47+0100 Enrico Scholz wrote: Alan W. Irwin [EMAIL PROTECTED] writes: how can I create an empty directory during 'make install'? With ordinary make I would write: | install-data-local: | mkdir -p ${DESTDIR}${mydir} How can I do this with cmake? ... I suggest you drop

Re: [CMake] Re: Howto create an empty directory during 'make install'?

2006-11-25 Thread Alan W. Irwin
? In the above case lena.pgm is a relatively large image so I much prefer a symlink to the (current) file copy I am using to work around the problem. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] Target names now pollute namespace of filenames (was CMake 2.4.4 available for download)

2006-11-25 Thread Alan W. Irwin
. Is there a CVS tag I can use that will include your fix but still be stable enough to work? Or can you send me a patch of your fix to be applied to 2.4.4? Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] Result of FIND_LIBRARY changing its value

2006-11-26 Thread Alan W. Irwin
__ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting

Re: [CMake] Fortran bugs/Mixed C/CXX/Fortran/Silly Questions?

2006-11-29 Thread Alan W. Irwin
On 2006-11-24 12:30-0800 Alan W. Irwin wrote: * For our fortran 77 library and examples code we replace use and module in comments with something else such as _use_ and _module_). This works around a bug in CMake (bug #3109, http://www.cmake.org/Bug/bug.php?op=showbugid=3109) that processes

Re: [CMake] CMake 2.4.5 RC 2

2006-11-30 Thread Alan W. Irwin
__ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software

Re: [CMake] CMake 2.4.5 RC 4

2006-12-01 Thread Alan W. Irwin
development team for their efforts on stabilizing the 2.4.5 RCs, and I look forward to CMake-2.4.5-final coming out soon. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca

Re: [CMake] How to INSTALL generated files

2006-12-03 Thread Alan W. Irwin
not exist or has an earlier date than ${DOXYGEN_INPUT}. I hope this suggested style helps solve your problem. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming

Re: [CMake] PKGCONFIG backward compatibility on CVS trunk.

2006-12-05 Thread Alan W. Irwin
, please? Are you comparing an old CVS version with latest CVS or an _actual release_ (such as 2.4.5 which is available for you to try) with latest CVS? Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] PKGCONFIG backward compatibility on CVS trunk.

2006-12-05 Thread Alan W. Irwin
by Michel to keep backwards compatibility with what the old PKGCONFIG module did in 2.4.5. Michel, please compare 2.4.5 with recent CVS to see if the behaviour of PKGCONFIG is the same. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics

Re: [CMake] Weird if nesting problem

2006-12-05 Thread Alan W. Irwin
}) == IF(EXISTS PARSER_EXECUTABLE) Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors

Re: [CMake] PKGCONFIG backward compatibility on CVS trunk.

2006-12-05 Thread Alan W. Irwin
On 2006-12-05 23:51+0100 Michel Hermier wrote: Alan W. Irwin wrote: On 2006-12-05 22:31+0100 Michel Hermier wrote: Do you have a case where something works in CMake-2.4.4, but does not work in CVS CMake that uses UsePkgConfig.cmake? If so, we will fix it. If this is new stuff, we can

Re: [CMake] PKGCONFIG backward compatibility on CVS trunk.

2006-12-05 Thread Alan W. Irwin
On 2006-12-05 20:09-0500 Bill Hoffman wrote: Alan W. Irwin wrote: Therefore, I suggest the following improved proposal to take care of these compatibility issues exactly. 1) Copy the 2.4.5 UsePkgConfig.cmake which defines the PKGCONFIG macro to CVS with the only change being to add a message

Re: [CMake] FindPerlLibs.cmake and FindSwig.cmake outdated!

2006-12-07 Thread Alan W. Irwin
of FindSWIG.cmake for the next cmake release. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar

Re: [CMake] PKGCONFIG backward compatibility on CVS trunk.

2006-12-09 Thread Alan W. Irwin
and put in the additional filtering yourself. Anyhow, could we finish off this issue? I hate to see something so close to solution hang fire like this. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] Debian, Redhat, and Cygwin packaging

2006-12-11 Thread Alan W. Irwin
of habit and completely ignoring what we said on the PLplot list about the reason (widespread testing our new CMake build system) for this development release. So it goes. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy

RE: [CMake] Copying Files on Windows

2006-12-12 Thread Alan W. Irwin
, and our MinGW users have not reported any problems with it. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state

Re: [CMake] digging in the dark corners of the command line argument interpreter

2006-12-13 Thread Alan W. Irwin
illumination! All your examples above have the path first. Just out of curiosity, what happens if you use the recommended style with the path on the end, i.e., cmake [options] path-to-source ? Alan __ Alan W. Irwin Astronomical research affiliation with Department

[CMake] cpack makes good source release, but empty binary release

2006-12-15 Thread Alan W. Irwin
with the names of files that ordinarily would be installed. I will attach that file as well. Thanks in advance for any help you can give me. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

[CMake] cpack makes good source release, but empty binary release

2006-12-15 Thread Alan W. Irwin
Last time, my mailer screwed up, but this time, I really will attach the compressed install_manifest.txt.gz. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming

Re: [CMake] cpack makes good source release, but empty binary release

2006-12-15 Thread Alan W. Irwin
__ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific

Re: [CMake] cpack makes good source release, but empty binary release

2006-12-16 Thread Alan W. Irwin
On 2006-12-16 13:04-0500 Bill Hoffman wrote: Alan W. Irwin wrote: Question for the CPack developers here Is this relative install path limitation for CPack really necessary or just a temporary programming expedient that should be straightforward to fix? Most likely CPack should be re

Re: [CMake] cpack makes good source release, but empty binary release

2006-12-18 Thread Alan W. Irwin
On 2006-12-16 13:04-0500 Bill Hoffman wrote: Alan W. Irwin wrote: Question for the CPack developers here Is this relative install path limitation for CPack really necessary or just a temporary programming expedient that should be straightforward to fix? Most likely CPack should be re

Re: [CMake] Native build system invocation

2006-12-25 Thread Alan W. Irwin
On 2006-12-25 16:44+0200 Roman Yakovenko wrote: My goal is to create fully automated setup. How about creating a three-line script that invokes the following commands: cmake path make make install ? Merry Christmas, by the way. Alan __ Alan W. Irwin Astronomical

Re: [CMake] Why does find_library prefer xxx.dll

2006-12-29 Thread Alan W. Irwin
(simplest CMakeLists.txt file and simplest Hello World style source code) that produces the problem? This should help others to reproduce the problem and understand the specifics you have used. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics

Re: [CMake] [ANN] 'make dist(check)' support

2006-12-29 Thread Alan W. Irwin
the command make package_source to create the compressed source tarball. PLplot has used that method to create our last two source releases, and it works quite well. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy

Re: [CMake] CMake 2.4.6-RC-2

2007-01-08 Thread Alan W. Irwin
the bootstrap script) went well as did a PLplot build using the resulting binary version of cmake. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations

Re: [CMake] make package still fails to work for absolute install locations.

2007-01-12 Thread Alan W. Irwin
, and if the final fix is more complicated than this one liner, I would be happy to test again. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS

Re: [CMake] How to switch off dependencies in special cases?

2007-01-16 Thread Alan W. Irwin
. So the pattern should be run make to get everything up to date, edit (only!) comments , then run make -t to get everything up to date again without actually compiling anything. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy

[CMake] New CMake modules for a large variety of BLAS/LAPACK API implementations.

2007-01-25 Thread Alan W. Irwin
have decided not to do any f2c logic in my version of the modules unless somebody requests it and can test it for me. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca

Re: [CMake] New CMake modules for a large variety of BLAS/LAPACK API implementations.

2007-01-26 Thread Alan W. Irwin
On 2007-01-25 23:41-0800 Alan W. Irwin wrote: For those of you with an interest in BLAS or LAPACK, please try the new FindBLAS.cmake and FindBLAS.cmake modules (and the CheckFortranFunctionExists.cmake module that defines a macro used by both of them) which can be found at http

Re: [CMake] New CMake modules for a large variety of BLAS/LAPACK API implementations.

2007-01-26 Thread Alan W. Irwin
__ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific

[CMake] Re: Patch to include Apple support in FindBLAS.cmake

2007-01-28 Thread Alan W. Irwin
have now, see the FindBLAS.cmake and FindBLAS.cmake modules (and the CheckFortranFunctionExists.cmake module that defines a macro used by both of them) which can be found at http://freeeos.cvs.sourceforge.net/freeeos/freeeos/cmake/modules/. Alan __ Alan W. Irwin Astronomical

Re: [CMake] Re: How to update a variable inside a subfolder?

2007-01-29 Thread Alan W. Irwin
are using this rule to (rightly) limit variable scope to make it more difficult to have cross-directory bugs. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations

Re: [CMake] Re: How to update a variable inside a subfolder?

2007-01-30 Thread Alan W. Irwin
On 2007-01-30 21:23+0100 Peter Soetens wrote: Quoting kitts [EMAIL PROTECTED]: On Monday 29 Jan 2007 IST, Alan W. Irwin wrote: BTW, my understanding of why variables set in subdirectories do not propagate to parent directories is the CMake developers are using this rule to (rightly) limit

Re: [CMake] Dynamic libraries and library dependencies

2007-01-31 Thread Alan W. Irwin
or install tree, I find the ldd command (especially with the -r option) and nm commands are extremely useful for the Linux case. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca

[CMake] Undocumented magic required for installing globbed files

2007-01-31 Thread Alan W. Irwin
do not. So all this seems very much like magic to me in the absence of documentation. Could somebody please rectify that lack of documentation for the file(INSTALL signature? Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy

Re: [CMake] Undocumented magic required for installing globbed files

2007-01-31 Thread Alan W. Irwin
On 2007-01-31 17:06-0800 Radu Serban wrote: Alan W. Irwin wrote: install( CODE file(GLOB USER_DOCS ${CMAKE_SOURCE_DIR}/doc/user/html/*) \n file(INSTALL DESTINATION ${docdir}/html/user/html TYPE FILE FILES \${USER_DOCS} ) ) [snip] Just out of curiosity, is there any reason

Re: [CMake] Undocumented magic required for installing globbed files

2007-01-31 Thread Alan W. Irwin
. That is why I have to put the undocumented magic inside the documented install(CODE... signature for my case. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming

Re: [CMake] Undocumented magic required for installing globbed files

2007-02-01 Thread Alan W. Irwin
On 2007-02-01 09:20-0500 David Cole wrote: On 1/31/07, Alan W. Irwin [EMAIL PROTECTED] wrote: Sorry, I should have made clear in my original post that the files I was globbing are generated at make time.[...] Have you tried the INSTALL(DIRECTORY form of the INSTALL command...? Not sure

Re: [CMake] CMake and Doxygen documentation

2007-02-05 Thread Alan W. Irwin
let me know!) so we ended up creating an empty subversion directory called doc to satisfy this need. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations

Re: [CMake] CMake and Doxygen documentation

2007-02-05 Thread Alan W. Irwin
On 2007-02-05 20:04+0100 Eric Noulard wrote: 2007/2/5, Alan W. Irwin [EMAIL PROTECTED]: Browse the subversion repository of libLASi project at http://lasi.svn.sourceforge.net/viewvc/lasi/trunk/. [...]One nasty complication is the INSTALL(DIRECTORY ... pattern we use to install the doxygen

Re: [CMake] swig and LINK_DIRECTORIES

2007-02-09 Thread Alan W. Irwin
/libacis.so. If it is not, fix it. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar

Re: [CMake] Newbie about REGEX

2007-02-11 Thread Alan W. Irwin
then use INSTALL( DIRECTORY ) without having to exclude anything. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state

Re: [CMake] Making timestamped tarball with CPack

2007-02-15 Thread Alan W. Irwin
to build the name that you want within your top-level CMakeLists.txt file. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation

Re: [CMake] foreach and find_library

2007-02-22 Thread Alan W. Irwin
__ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package

Re: [CMake] Re: Trouble with libraries on MacOS X

2007-02-24 Thread Alan W. Irwin
, and that also documents CLEAN_DIRECT_OUTPUT for 2.4.6. Finally, http://www.cmake.org/HTML/Documentation.html also documents CLEAN_DIRECT_OUTPUT. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

[CMake] Ada and CMake

2007-02-24 Thread Alan W. Irwin
__ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting

Re: [CMake] Newbie question

2007-02-25 Thread Alan W. Irwin
.) You probably have to reorder how your targets are specified. The ADD_LIBRARY and ADD_EXECUTABLE commands should occur before your TARGET_LINK_LIBRARIES command. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University

Re: [CMake] Ada and CMake

2007-02-25 Thread Alan W. Irwin
On 2007-02-24 12:03-0800 Alan W. Irwin wrote: I am a rank Ada beginner, but nevertheless somebody just donated an Ada interface to PLplot so I am trying to get on top of what changes to our CMake build system will be required to build and install an Ada project library interfacing Ada

Re: [CMake] Ada and CMake

2007-02-25 Thread Alan W. Irwin
On 2007-02-25 22:36- Filipe Sousa wrote: Alan W. Irwin wrote: [...] Can somebody tell me how to arrange the above [Ada language support] modifications? In Modules directory there is a file with instructions on how to add a new language to cmake. http://public.kitware.com/cgi-bin

Re: [CMake] cmake and crosscompiling

2007-02-27 Thread Alan W. Irwin
On 2007-02-27 15:17+0200 Alexander Ivash wrote: And I still can't find how to change library extension. :( That part, at least, is easy. Look up SET_TARGET_PROPERTIES and the SUFFIX property. Alan __ Alan W. Irwin Astronomical research affiliation with Department

Re: [CMake] Ada and CMake

2007-02-27 Thread Alan W. Irwin
custom commands to build executables, it is looking pretty good. The next step is to write our ~25 standard examples (currently implemented for all our mature language interfaces) in Ada to greatly improve the level of testing of this Ada interface to PLplot. Alan __ Alan W

Re: [CMake] Ada and CMake

2007-02-27 Thread Alan W. Irwin
On 2007-02-27 21:38-0500 Bill Hoffman wrote: Alan W. Irwin wrote: A question for the CMake developers: how difficult would it be to add support for SOURCE when interpreting CMAKE_(LANG)_LINK_EXECUTABLE? As explained above without this core change to CMake it is impossible to implement

Re: [CMake] Ada and CMake

2007-02-27 Thread Alan W. Irwin
On 2007-02-27 23:13-0500 Bill Hoffman wrote: Alan W. Irwin wrote: In sum, gnatgcc handles compiling and linking into a library in a manner identical to gcc (it is actually a symlink to an Ada-enabled gcc on Linux systems) so ADD_LIBRARY for the Ada case is easy to implement. However, gnatmake

Re: [CMake] documentation for previous cmake versions

2007-02-28 Thread Alan W. Irwin
only have to be done once after each official release. Suppose that file was called Docs/help_full.out. Then browsing that file in http://www.cmake.org/cgi-bin/viewcvs.cgi/Docs/?root=CMake automatically gives the user any diff between any version. Alan __ Alan W. Irwin

Re: [CMake] Creating some kind of release target

2007-03-01 Thread Alan W. Irwin
such a cmake setup, then you create a source release and binary release with the make package_source and make package commands. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca

Re: [CMake] FAQ update for renaming a library

2007-03-02 Thread Alan W. Irwin
been too polite and left the old cruft in. If your complete rewrite makes it worse (highly doubtful), then it can always be reverted. So I think you should just go ahead with your rewrite, and see how people like your new version. Alan __ Alan W. Irwin Astronomical

Re: [CMake] Ada and CMake

2007-03-02 Thread Alan W. Irwin
missed it for my experimental Ada language support or some core change needs to be made to CMake itself. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations

Re: [CMake] Help with custom targets

2007-03-03 Thread Alan W. Irwin
of the dependency problem you are encountering? Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar

Re: [CMake] Ada and CMake

2007-03-05 Thread Alan W. Irwin
On 2007-03-02 12:19-0800 Alan W. Irwin wrote: So how does Fortran (and C, and C++) avoid the TRY_COMPILE infinite recursion? Whatever it is, I have obviously missed it for my experimental Ada language support or some core change needs to be made to CMake itself. Another possibility

Re: [CMake] Re: IA64 HP-UX build failure

2007-03-05 Thread Alan W. Irwin
Modules/Platform files so your platform/compiler is working, send a patch. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation

Re: [CMake] Re: IA64 HP-UX build failure

2007-03-06 Thread Alan W. Irwin
On 2007-03-06 13:00-0600 Matthew Woehlke wrote: Alan W. Irwin wrote: [snip] Once you have modified Modules/Platform files so your platform/compiler is working, send a patch. Looks like this won't be a problem for HP-UX, but since Kent mentioned problems I think I'd better ask: *where* do I

Re: [CMake] .. in CMAKE_BINARY_DIR breaks ADD_CUSTOM_COMMAND

2007-03-10 Thread Alan W. Irwin
. To explicitly answer your above questions in order, you can pass an argument (e.g., -DCMAKE_BUILD_TYPE=Debug) for the build type, no output directory is required (its the one where you invoke cmake, see above), and it is not necessary to prebuild the cache file. Alan __ Alan W

Re: [CMake] Ada and CMake

2007-03-14 Thread Alan W. Irwin
On 2007-03-05 12:20-0500 Bill Hoffman wrote: Alan W. Irwin wrote: Anyhow, with the gnatmake test, the first form of TRY_COMPILE is required, and so far I have not been able to figure out how to avoid the infinite TRY_COMPILE issue with that form. Thus, I would really appreciate an answer

Re: [CMake] Debug build compiles and links, but Release build fails to link?

2007-03-14 Thread Alan W. Irwin
the needed function, saves the return code, and only uses assert on a test of that saved return code. My conclusion from this experience is you have to be really careful about how the debugging part of your code is defined before NDEBUG works properly. Alan __ Alan W. Irwin

Re: [CMake] Debug build compiles and links, but Release build fails to link?

2007-03-15 Thread Alan W. Irwin
for. Also, it should be emphasised that the assert case is just a simple example of possible side effects for debug code, and the general conclusion is you must be on the look out for debug code with side effects when using the -DNDEBUG compile option. Alan __ Alan W

Re: [CMake] Debug build compiles and links, but Release build fails to link?

2007-03-15 Thread Alan W. Irwin
__ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package

Re: [CMake] cmake exception

2007-03-15 Thread Alan W. Irwin
. The following syntax for the -D options cmake -DCROSSCOMPILE=True ... should work (at least on Linux/Unix). Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations

Re: [CMake] Re: 'make test' fails on x86/Solaris

2007-03-15 Thread Alan W. Irwin
have been testing? Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors

Re: [CMake] Re: 'make test' fails on x86/Solaris

2007-03-16 Thread Alan W. Irwin
__ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting

Re: [CMake] Re: 'make test' fails on x86/Solaris

2007-03-16 Thread Alan W. Irwin
should not have to always remember to do the workaround so that is why I reported the dependency issue as bug 4615. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming

Re: [CMake] Re: 'make test' fails on x86/Solaris

2007-03-16 Thread Alan W. Irwin
target. (If Bill feels this is an efficiency concern, he could make that an option for ENABLE_TESTING, but I am not certain even that much complication is warranted to deal with this dependency issue.) Alan __ Alan W. Irwin Astronomical research affiliation with Department

Re: [CMake] Problem with VC++ 2005 Express

2007-03-17 Thread Alan W. Irwin
of figuring out why you are having trouble with your PLplot build for your particular windows development environment. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming

Re: [CMake] INCLUDE_DIRECTORIES oddity

2007-03-24 Thread Alan W. Irwin
questions about the CVS versions of FindPkgConfig.cmake and UsePkgConfig.cmake were settled prior to 2.4.6, but somehow those tested CVS versions did not make it into that release.) Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy

[CMake] CMAKE_BUILD_TYPE does not work correctly for Linux and CMake-2.4.6

2007-04-01 Thread Alan W. Irwin
bug). Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net

Re: [CMake] CMAKE_BUILD_TYPE does not work correctly for Linux and CMake-2.4.6

2007-04-03 Thread Alan W. Irwin
On 2007-04-01 13:59-0700 Alan W. Irwin wrote: I have found two bugs in compiler flag support for Linux that I would like to discuss here before making formal bug reports. 1. A general compiler flag bug with ENABLE_LANGUAGE. The combination PROJECT(free_eos CXX) ENABLE_LANGUAGE(C) defines

Re: [CMake] strange build problems

2007-04-05 Thread Alan W. Irwin
by CMake) for the dynamic library case? This might well be some obscure CMake bug, but I am not sufficiently familiar with the CMake internals to know for sure. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University

Re: [CMake] cmake does not set execute bit on shared libraries

2007-04-06 Thread Alan W. Irwin
it is not a difficult fixup in either case. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation

Re: [CMake] cmake does not set execute bit on shared libraries

2007-04-06 Thread Alan W. Irwin
On 2007-04-07 00:13+0200 Hendrik Sattler wrote: Am Freitag 06 April 2007 19:32 schrieb Alan W. Irwin: but for now the result is that Debian packagers have to remove the execute Debhelper(dh_fixperms) usually takes care of this. bit for libraries installed with autotools while Fedora

[CMake] What is the preferred method of establishing the dependence of a custom command on an executable target?

2007-04-07 Thread Alan W. Irwin
. ** If you spot anything in his report that seems off, please let me know, and I will pass it on for interpretation to the members of the PLplot development team who are windows capable (unlike me). Alan __ Alan W. Irwin Astronomical research

<    2   3   4   5   6   7   8   9   10   11   >