Re: [CMake] #cmakedefine vs #define

2011-03-15 Thread Alan W. Irwin
on #ifdef (i.e., True/False binary macro logic). For cases where you need to #define an explicit value, then you should forget about #cmakedefine and use the configured #define (as you did above). Alan __ Alan W. Irwin Astronomical research affiliation with Department

[CMake] One too many ../ instances in the relative paths generated by file(GLOB_RECURSE variable RELATIVE ...)

2011-03-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

Re: [CMake] One too many ../ instances in the relative paths generated by file(GLOB_RECURSE variable RELATIVE ...)

2011-03-19 Thread Alan W. Irwin
On 2011-03-19 07:32+0100 Michael Hertling wrote: On 03/18/2011 09:28 PM, Alan W. Irwin wrote: I am using the following CMake code fragment to collect file depends for a custom target that generatates doxygen documentation: # Collect essentially same source code dependencies

Re: [CMake] 2.8.4 order of tests

2011-03-19 Thread Alan W. Irwin
according to the cmake-2.6.x documentation. 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] Bug fix requests for the *next* release of CMake...

2011-03-29 Thread Alan W. Irwin
specific discussions into the bugs themselves or start a new thread to talk about it... Replies on this thread should just be a collector for bug numbers. Please do a fundamental fix for http://public.kitware.com/Bug/view.php?id=9220. Alan __ Alan W. Irwin Astronomical

Re: [CMake] Updated: CMake 2.8.4-1

2011-05-19 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] Updated: CMake 2.8.4-1

2011-05-19 Thread Alan W. Irwin
On 2011-05-19 14:19-0400 Bill Hoffman wrote: On 5/19/2011 2:11 PM, Alan W. Irwin wrote: On 2011-05-19 10:55-0400 Bill Hoffman wrote: CMake 2.8.4-1 is now available on Cygwin mirrors. Hi Bill: Could you give some background information about why you create a binary version of cmake

Re: [CMake] CMake pod cast

2011-05-27 Thread Alan W. Irwin
at CMake because of the information you gave him. Thanks for that link. 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] TGZ installer following links

2011-06-22 Thread Alan W. Irwin
On 2011-06-22 12:04-0400 Bill Hoffman wrote: On 6/21/2011 4:43 PM, Alan W. Irwin wrote: So it is not a regression, but in my opinion it is still a bug. More comments at http://public.kitware.com/Bug/view.php?id=12284. Please fix. Patches are welcome, please send one... It would have

Re: [CMake] Parallel make custom command

2011-06-30 Thread Alan W. Irwin
the dependency issues you have to solve before you can reliably run a parallel build. 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] Parallel make custom command

2011-07-02 Thread Alan W. Irwin
Hi Bill: Thanks for your response. More comments below. On 2011-06-30 22:03-0400 Bill Hoffman wrote: On 6/30/2011 5:23 PM, Alan W. Irwin wrote: To help with the general difficulty of getting dependencies right, would it be possible to implement a CMake change so that for a given flag (say

Re: [CMake] Problem running cmake 2.8.4 on Ubuntu 10.04

2011-07-06 Thread Alan W. Irwin
by stale build results on the same platform. Of course, none of these comments are relevant if you get the above error messages starting with an empty build tree. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University

Re: [CMake] Problem running cmake 2.8.4 on Ubuntu 10.04

2011-07-06 Thread Alan W. Irwin
the complicated one until you find the CMake logic in the complicated one that is the source of the trouble for CMake-2.8.3 or later. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca

Re: [CMake] Invalid library output directory when VC++ solution is generated

2011-07-25 Thread Alan W. Irwin
to switch over to the recommended method at some point.) 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] Invalid library output directory when VC++ solution is generated

2011-07-25 Thread Alan W. Irwin
On 2011-07-25 07:59-0700 Alan W. Irwin wrote: One possibility is you are setting CMAKE_LIBRARY_OUTPUT_DIRECTORY after your dll's are built. That was sloppy language. What I meant was after your dll targets are configured by CMake. Alan __ Alan W. Irwin Astronomical

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-07-29 Thread Alan W. Irwin
Please do a fundamental fix for http://public.kitware.com/Bug/view.php?id=9220. 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] Bug fix requests for the *next* release of CMake...

2011-07-29 Thread Alan W. Irwin
http://public.kitware.com/Bug/view.php?id=12301 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at:

Re: [CMake] cmake support D programming?

2011-08-06 Thread Alan W. Irwin
files that are at the same PLplot location and which also work for us under the same conditions (mostly by rote with very little understanding). Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] cmake support D programming?

2011-08-07 Thread Alan W. Irwin
On 2011-08-07 09:21+0200 jonathan MERCIER wrote: Le samedi 06 août 2011 à 20:00 -0700, Alan W. Irwin a écrit : Thanks for your answer, i have read this file: http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/cmake/modules/language_support/cmake/Platform/Linux-dmd.cmake?revision=10805view

[CMake] append command

2011-08-09 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] append command

2011-08-11 Thread Alan W. Irwin
., string(REGEX REPLACE regular_expression replace_expression output variable) so I believe this generalization would be backwards compatible. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] append command

2011-08-11 Thread Alan W. Irwin
the non-existent last argument case from all others, then I would sadly have to agree with your conclusion that my idea should be rejected. Because I do agree you want to continue to generate CMake errors for the cases you mention. Alan __ Alan W. Irwin Astronomical research

[CMake] Visualizing all build-system options

2011-09-01 Thread Alan W. Irwin
if they are exactly equivalent to the situation I understand which is running cmake in an empty build tree with various layers of possible -D options set on the cmake command line). Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy

Re: [CMake] Visualizing all build-system options

2011-09-01 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); the Time Ephemerides project

Re: [CMake] CMake example for Qt console application (without GUI)

2011-09-12 Thread Alan W. Irwin
with Qt4 for both interactive GUI and noninteractive file device drivers. 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] CMake 2.8.6-rc3 ready for testing!

2011-09-20 Thread Alan W. Irwin
, but if nothing else, your post should galvanize lots of testing of cmake-2.8.6-rc3 which is a good thing. When I did such build testing myself, the optimized build of PLplot appears to be OK for cmake-2.8.6-rc3 on at least my platform. Alan __ Alan W. Irwin Astronomical

Re: [CMake] CMake 2.8.6-rc3 ready for testing!

2011-09-20 Thread Alan W. Irwin
On 2011-09-20 11:56-0700 Alan W. Irwin wrote: I don't want to overly dilute what seems to be your really important message that there are serious build problems for cmake-2.8.6-rc3, but if nothing else, your post should galvanize lots of testing of cmake-2.8.6-rc3 which is a good thing. When I

Re: [CMake] CMake 2.8.6-rc3 ready for testing!

2011-09-20 Thread Alan W. Irwin
On 2011-09-20 13:01-0700 Alan W. Irwin wrote: On 2011-09-20 11:56-0700 Alan W. Irwin wrote: I don't want to overly dilute what seems to be your really important message that there are serious build problems for cmake-2.8.6-rc3, but if nothing else, your post should galvanize lots of testing

Re: [CMake] CMake 2.8.6-rc3 ready for testing!

2011-09-20 Thread Alan W. Irwin
will be fine for PLplot. 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] CMake 2.8.6-rc4 ready for testing!

2011-09-22 Thread Alan W. Irwin
well for rc4. As far as I am concerned, bring on 2.8.6-final! Much thanks to you and the rest of the CMake development team for this effort! Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] CMake Using a C Preprocessor for Fortran Source Files

2011-11-02 Thread Alan W. Irwin
'. To manually invoke the preprocessor on any file, use -cpp', to disable preprocessing on files where the preprocessor is run automatically, use -nocpp'. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] Adding a new language

2011-11-14 Thread Alan W. Irwin
generic way. 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] Adding a new language

2011-11-15 Thread Alan W. Irwin
bindings), and http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/examples/ocaml/CMakeLists.txt?view=log (which shows how we build the PLplot OCaml examples). Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University

Re: [CMake] Adding a new language

2011-11-16 Thread Alan W. Irwin
On 2011-11-15 23:35-0500 Bill Hoffman wrote: On 11/14/2011 3:24 PM, Alan W. Irwin wrote: If you are willing to make such an OCaml summary, I would be willing to do the same thing for Ada to make our joint case to the CMake developers of what kind of additional generic language support

Re: [CMake] [RFC] How to use pkg-config under Windows (... and OSX) ?

2011-11-16 Thread Alan W. Irwin
libraries using pkg-config) from that build system for those using MSYS or Cygwin. 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] [RFC] How to use pkg-config under Windows (... and OSX)?

2011-11-17 Thread Alan W. Irwin
-config support, but we have to discuss these issues here to make sure they are all off-topic for CMake. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming

Re: [CMake] [RFC] How to use pkg-config under Windows (... and OSX)?

2011-11-17 Thread Alan W. Irwin
location in the install tree) to deal with the pkg-config Windows issue the KDE Windows developers have been so concerned about. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca

[CMake] Bad documentation of the LINK_INTERFACE_LIBRARIES property and other transitive linking topics

2011-11-23 Thread Alan W. Irwin
docstring that warns that ON is experimental and may not work on all platforms. All this to quiet rpmlint warnings Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca

Re: [CMake] transitive linking topics

2011-11-23 Thread Alan W. Irwin
On 2011-11-23 10:44+0100 Michael Wild wrote: On 11/23/2011 10:25 AM, Alan W. Irwin wrote: cmake-2.8.6 has the following documentation of the LINK_INTERFACE_LIBRARIES property for targets: LINK_INTERFACE_LIBRARIES List public interface libraries for a shared library or executable

Re: [CMake] other transitive linking topics

2011-11-23 Thread Alan W. Irwin
On 2011-11-23 11:11+0100 Rolf Eike Beer wrote: On 11/23/2011 10:25 AM, Alan W. Irwin wrote: In sum, from this experiment it looks like I will have to set LINK_INTERFACE_LIBRARIES to empty for all PLplot library targets that depend on other library targets (e.g., B, C, D, and E, above

Re: [CMake] transitive linking topics

2011-11-23 Thread Alan W. Irwin
guess is it may be related to the problem of specifying unnecessary package dependencies that are incorrectly determined by following unnecessary direct linking, but I don't know for sure. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics

Re: [CMake] Best practices/preferred methods for linking external libraries

2011-12-03 Thread Alan W. Irwin
for each release that will affect ProjectB. 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] Best practices/preferred methods for linking external libraries

2011-12-03 Thread Alan W. Irwin
On 2011-12-03 12:42-0800 Alan W. Irwin wrote: On 2011-12-02 19:33- Matthew LeRoy wrote: Assuming we want to just put the install tree in version control somewhere, and have ProjectB's list files reference the install tree out of version control, is writing a Find module the best way

[CMake] 2.8.7 implications for FindLAPACK problem

2011-12-13 Thread Alan W. Irwin
developers for 2.8.7 since 2.8.6 will have to be black-listed for FreeEOS (and presumably many other projects that use lapack/blas). Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca

Re: [CMake] CMake 2.8.7-rc2 ready for testing!

2011-12-27 Thread Alan W. Irwin
) versions of these modules for the next release cycle to give them some additional testing before the next release. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming

Re: [CMake] CMake 2.8.7-rc2 ready for testing!

2011-12-29 Thread Alan W. Irwin
. 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); the Time

Re: [CMake] CMake 2.8.7-rc2 ready for testing!

2011-12-30 Thread Alan W. Irwin
platform testing for the lapack/blas find modules is an excellent one. 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] CMake 2.8.7-rc2 ready for testing!

2011-12-30 Thread Alan W. Irwin
On 2011-12-30 11:06+0100 Eric Noulard wrote: 2011/12/27 Alan W. Irwin ir...@beluga.phys.uvic.ca: Hi Alan, The issue is that if I set CMAKE_LIBRARY_PATH to find a special version of lapack/blas, only the lapack part of that is honored.  For example, if I set export CMAKE_LIBRARY_PATH=/home

Re: [CMake] CMake 2.8.7-rc2 ready for testing!

2011-12-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); the Time Ephemerides

Re: [CMake] Are u using mingw32 gcc / with Cmake?

2012-01-09 Thread Alan W. Irwin
first try to build CMake itself. Once that works with MinGW or MinGW/MSYS (whichever you prefer), then I would move on to attempt other builds. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] mingw vs MSYS makefiles

2012-02-23 Thread Alan W. Irwin
competition. It makes no sense to me that Linux has 500+ free and open software distributions while Windows only has one free and open software distribution. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University

Re: [CMake] mingw vs MSYS makefiles

2012-02-23 Thread Alan W. Irwin
of sh.exe on the PATH no longer affects what mingw32-make.exe does. 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] CXX incorrectly includes CMakeFortranInformation.cmake for MinGW/MSYS/Wine

2010-06-10 Thread Alan W. Irwin
SystemTools::GetShortPath is defined that appears to be unused anywhere else in the source tree now that the patch has been applied. Therefore, shouldn't that method be removed? Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy

Re: [CMake] CXX incorrectly includes CMakeFortranInformation.cmake for MinGW/MSYS/Wine

2010-06-10 Thread Alan W. Irwin
to reduce or eliminate the use of GetShortPath from the CMake code or else replace the call to GetShortPathName within GetShortPath by something else? Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] CXX incorrectly includes CMakeFortranInformation.cmake for MinGW/MSYS/Wine

2010-06-10 Thread Alan W. Irwin
On 2010-06-10 16:20-0400 David Cole wrote: On Thu, Jun 10, 2010 at 4:17 PM, Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: On 2010-04-09 12:17-0400 David Cole wrote: A real fix for this has been committed to the CVS repository for kwsys. The change

Re: [CMake] CXX incorrectly includes CMakeFortranInformation.cmake for MinGW/MSYS/Wine

2010-06-11 Thread Alan W. Irwin
seems to work for building and testing Windows apps from Linux so it may eventually replace cross-compilation as the method of choice for doing that. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] CMake 2.8.2 RC 1 ready for testing!

2010-06-14 Thread Alan W. Irwin
you made that change. 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] CMake 2.8.2 RC 1 ready for testing!

2010-06-14 Thread Alan W. Irwin
for me to convince others to try CMake/MinGW/MSYS on Wine. Pretty much everything in git next will end up in the release. Does http://cmake.org/gitweb refer to git next or can it be used to access that? Alan __ Alan W. Irwin Astronomical research affiliation

Re: [CMake] CXX incorrectly includes CMakeFortranInformation.cmake for MinGW/MSYS/Wine

2010-06-16 Thread Alan W. Irwin
in Wiki form. 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 2.8.2-rc2 ready for testing!

2010-06-16 Thread Alan W. Irwin
the different compilers, MinGW-W32 and MinGW-W64). 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

[CMake] Choice of compilers

2010-06-17 Thread Alan W. Irwin
to choose which compiler (the 32-bit variant or 64-bit variant) you want to use. See the CMake documentation for how to use CMAKE_LANG_COMPILER. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] An observation about CTest

2010-06-27 Thread Alan W. Irwin
have outlined and because of functions is steadily improving. 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] An observation about CTest

2010-06-28 Thread Alan W. Irwin
there should be a sentence in the documentation of macros that deprecates them in favor of functions (because of the known scope issue with macros). Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] Finding Python3

2010-07-18 Thread Alan W. Irwin
$0.02. 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); PLplot

Re: [CMake] Finding Python3

2010-07-19 Thread Alan W. Irwin
On 2010-07-20 00:51+0200 Michael Hertling wrote: On 07/18/2010 10:14 PM, Alan W. Irwin wrote: (1) http://public.kitware.com/Bug/view.php?id=10718 is fixed. In my view this bug has been the source of much CMake find trouble for a long time, and I hope the CMake developers make it a high

Re: [CMake] Finding Python3

2010-07-20 Thread Alan W. Irwin
On 2010-07-20 17:12+0200 Michael Hertling wrote: On 07/20/2010 03:26 AM, Alan W. Irwin wrote: On 2010-07-20 00:51+0200 Michael Hertling wrote: On 07/18/2010 10:14 PM, Alan W. Irwin wrote: (1) http://public.kitware.com/Bug/view.php?id=10718 is fixed. In my view this bug has been the source

Re: [CMake] Finding Python3

2010-07-21 Thread Alan W. Irwin
sys; print(%s.%s.%s % sys.version_info[0:3])' 3.1.2 So I would recommend this command form to determined the python version corresponding to the found interpreter for CMake. Thanks again for your help with this. Alan __ Alan W. Irwin Astronomical research affiliation

Re: [CMake] Finding Python3

2010-07-21 Thread Alan W. Irwin
On 2010-07-21 08:50-0700 Alan W. Irwin wrote: To draw this subthread to a definite conclusion, here is what works for me now to get python version for either python2 or python3. softw...@raven python -c \ 'import sys; print(%s.%s.%s % sys.version_info[0:3])' 2.6.5 softw...@raven python3 -c

Re: [CMake] Finding Python3

2010-07-22 Thread Alan W. Irwin
of setting the python version to anything they liked (e.g., nothing, 2, 2.5, 2.6, 3, etc.); and used find_package to find and print out the appropriate Python interpreter, header file directory, and library for the user-specified version. Alan __ Alan W. Irwin Astronomical

Re: [CMake] Finding Python3

2010-08-03 Thread Alan W. Irwin
of the self-documentation for each find module. Finally, bug 10718 should also be fixed to make manipulating the superpath a reliable method of specifying a particular version of headers, libraries, etc., _for the case of a unique location for the desired version_. Alan __ Alan W

Re: [CMake] Cmake 2.8.2 Bug under windows

2010-08-12 Thread Alan W. Irwin
? 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); PLplot

Re: [CMake] D support

2010-08-14 Thread Alan W. Irwin
/cmake/modules/language_support/cmake/ 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] CMake OCaml

2010-08-25 Thread Alan W. Irwin
for their own CMake/OCaml projects if nobody is ever able to implement official OCaml language support under CMake that is based on the ocamlbuild command. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] CMake OCaml

2010-08-25 Thread Alan W. Irwin
on a detailed set of custom commands that do the equivalent to gnatmake using CMake custom commands. Do the CMake developers here like the idea of this type of generalization of the CMake language support? Alan __ Alan W. Irwin Astronomical research affiliation with Department

Re: [CMake] CMake OCaml

2010-08-25 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 without C/C++ compiler check.

2010-08-30 Thread Alan W. Irwin
++ compiler tests ? project(projectname Fortran) or project(projectname NONE) enable_language(Fortran) Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations

[CMake] Problem with GNU compilers - difference between Windows and MinGW

2010-09-23 Thread Alan W. Irwin
be done with FindLAPACK.cmake and FindBLAS.cmake. If there is agreement from the CMake developers that FindLAPACK.cmake and FindBLAS.cmake should be changed to save and restore CMAKE_FIND_LIBRARY_SUFFIXES, I will write up the appropriate bug report. Alan __ Alan W. Irwin

Re: [CMake] cmake for cygwin

2010-10-27 Thread Alan W. Irwin
fashion. 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] call already made makefile

2010-10-30 Thread Alan W. Irwin
. Note the above is a reasonable interim measure to get you started, but I predict that once you become more familiar with cmake you will find that you will want to also build the library with cmake to completely get rid of your autotools chains. :-) Alan __ Alan W. Irwin

Re: [CMake] Converting a large C++-Project to CMake

2010-10-30 Thread Alan W. Irwin
take essentially no time at all. Then touch one of your source code files and run make a third time. You should see only the object file corresponding to that source code being rebuilt. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics

Re: [CMake] Converting a large C++-Project to CMake

2010-10-31 Thread Alan W. Irwin
-based build systems. 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] call already made makefile

2010-11-04 Thread Alan W. Irwin
. For example, if you want to use a giant library (not necessarily the best organization, by the way), then accumulate a list of all the relevant source files then, e.g., add_library(giant_library ${giant_library_src_LIST}) Alan __ Alan W. Irwin Astronomical research

Re: [CMake] call already made makefile

2010-11-04 Thread Alan W. Irwin
On 2010-11-04 16:29-0700 SK wrote: On Sat, Oct 30, 2010 at 8:31 AM, Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: On 2010-10-29 20:50-0700 mina adel wrote: Hi All I have an open source code that I use in my project. This open source code already has Makefile coded for it. I want to use

Re: [CMake] call already made makefile

2010-11-05 Thread Alan W. Irwin
On 2010-11-05 11:00-0700 SK wrote: On Thu, Nov 4, 2010 at 9:23 PM, SK s...@metrokings.com wrote: On Thu, Nov 4, 2010 at 6:09 PM, Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: then the custom make command should always be run (since it has no DEPENDS option), Alan, you are absolutely right

Re: [CMake] call already made makefile

2010-11-05 Thread Alan W. Irwin
On 2010-11-05 14:12-0400 David Cole wrote: On Fri, Nov 5, 2010 at 2:00 PM, SK s...@metrokings.com wrote: On Thu, Nov 4, 2010 at 9:23 PM, SK s...@metrokings.com wrote: On Thu, Nov 4, 2010 at 6:09 PM, Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: then the custom make command should always

Re: [CMake] call already made makefile

2010-11-06 Thread Alan W. Irwin
On 2010-11-05 22:50-0700 SK wrote: On Fri, Nov 5, 2010 at 1:04 PM, Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: I agree the above idea should work, but dropping add_custom_command completely and moving the COMMAND to add_custom_target instead (and dropping all file DEPENDS for the custom

Re: [CMake] make test missing

2010-11-08 Thread Alan W. Irwin
projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake __ Alan W. Irwin

Re: [CMake] Merging a project from autoconf and GNUMakefiles

2010-11-16 Thread Alan W. Irwin
a GLOBAL property (see documentation of set_property(GLOBAL...[APPEND]...)). 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] Problems with parallel builds

2010-11-18 Thread Alan W. Irwin
isn't done consistently in the complex project (e.g., some third library you forgot about also depends on your generated header) or there is some other CMake logic in your complex project that needs changing to make your project ready for parallel builds. Alan __ Alan W. Irwin

[CMake] How to apply the --as-needed linker flag?

2010-11-27 Thread Alan W. Irwin
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] How to apply the --as-needed linker flag?

2010-11-28 Thread Alan W. Irwin
On 2010-11-28 06:39+0100 Michael Hertling wrote: On 11/27/2010 06:45 PM, Alan W. Irwin wrote: I just discovered that many Linux distros these days use the --as-needed Linux linker option by default. At first glance that option makes a lot of sense since it tends to reduce startup times. But I

Re: [CMake] Wiki: version compatibility matrix

2010-12-04 Thread Alan W. Irwin
errors are probably due to issues in the software used to generate the wiki page rather than something done by you. Despite those errors, the page does appear to render well here with konqueror. Alan __ Alan W. Irwin Astronomical research affiliation with Department

Re: [CMake] CMake bug tracker discussion

2010-12-09 Thread Alan W. Irwin
no quick fix. 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 bug tracker discussion

2010-12-09 Thread Alan W. Irwin
On 2010-12-09 19:23-0500 David Cole wrote: On Thu, Dec 9, 2010 at 7:09 PM, Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: On 2010-12-09 17:06-0500 David Cole wrote: Hello CMake users and devs, (And now for something completely different...) Controversial questions: - Should we eliminate

Re: [CMake] CMake bug tracker discussion

2010-12-10 Thread Alan W. Irwin
message to bug reporters of a time-based policy that we both dislike so much. 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] Building a mega library after building smaller component libraries?

2010-12-13 Thread Alan W. Irwin
that you can use to build the giant library. 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] Maintainer for FindX11, FindOpenGL, and FindTCL (and friends)

2010-12-20 Thread Alan W. Irwin
are themselves colon-separated to allow easy parsing of all required data inside the loop, but you may have your own loop paradigm you prefer to use instead.) Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] Maintainer for FindX11, FindOpenGL, and FindTCL (and friends)

2010-12-20 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] how to ignore errors/keep going using cmake

2011-01-05 Thread Alan W. Irwin
screwup in a CMakeLists.txt file) that is the most important one so ordinarily I ignored the attempt to continue if it occurs. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca

Re: [CMake] building gcc with cmake

2011-01-05 Thread Alan W. Irwin
make a small amount of sense as an exercise of your cmake skills, but you could do it with an ordinary bash script as well, and I assume that is what is done now in any case. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy

  1   2   3   4   5   6   7   8   9   10   >