Re: [CMake] make test

2008-03-27 Thread Alan W. Irwin
On 2008-03-14 13:04-0700 Alan W. Irwin wrote: Another concern with the current make test is it does not depend on the default all target. That is a bad oversight IMO, since the current situation is you will be running out-of-date tests after some code fixup unless you remember to run make

Re: [CMake] New FindMPI module has some backward-compatibility problems

2008-03-28 Thread Alan W. Irwin
(FOO_LIBRARY somevar) ENDIF(NOT FOO_LIBRARY) Or is there a better away of getting around this cached variable issue? Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming

Re: [CMake] make test

2008-03-28 Thread Alan W. Irwin
as it may seem. (e.g. it would also be nice if targets which are OPTIONAL would be automatically built if the test which uses them is executed). I hope this complication does not delay the implementation of a DEPENDS option for ADD_TEST too much. Alan __ Alan W. Irwin

Re: [CMake] (no subject)

2008-03-31 Thread Alan W. Irwin
Fortran support really sucks (you will require a number of ugly Fortran workarounds if you use 2.4.8) so I advise you strongly to use the CMake cvs version (which I checked above for absoft customizations) or else the recently released CMake 2.6.0 Beta. Alan __ Alan W. Irwin

Re: [CMake] FOSDEM Talk on CMake is available

2008-04-02 Thread Alan W. Irwin
to be any fundamental reason to discourage the use of pkg-config on windows even though most windows-only developers are currently completely unaware of how useful pkg-config can be. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics

[CMake] Mostly O.T. Need advice on Mac OS X compatibility version for libraries

2008-04-02 Thread Alan W. Irwin
a warning if SOVERSION is ever less than 1? 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] FOSDEM Talk on CMake is available

2008-04-02 Thread Alan W. Irwin
FindPkgConfig.cmake runs pkg-config at CMake time, and that executable honors PKG_CONFIG_PATH). 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] Mostly O.T. Need advice on Mac OS X compatibility version for libraries

2008-04-02 Thread Alan W. Irwin
and the resulting compatibility version on Mac OS X? Of course, if that person has more to say about why the major portion of that compatibility version should not be zero on that platform, that would be great as well. Alan __ Alan W. Irwin Astronomical research affiliation

Re: [CMake] FOSDEM Talk on CMake is available

2008-04-03 Thread Alan W. Irwin
environment variable. 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] Mostly O.T. Need advice on Mac OS X co mpatibility version for libraries

2008-04-03 Thread Alan W. Irwin
of my other projects were configured and built with autotools and wouldn't mind going back to using those same rules for CMake. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca

Re: [CMake] FOSDEM Talk on CMake is available

2008-04-03 Thread Alan W. Irwin
in PKG_CONFIG_PATH), but it sounds like PKG_CONFIG_LIBDIR (or that variable in combination with PKG_CONFIG_PATH) might give you the absolutely clean result that you want. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University

Re: [CMake] FindBoost.cmake updated on the bugtracker

2008-04-12 Thread Alan W. Irwin
to be reversed, i.e., boost and KDE need some time/effort to work on MinGW. Such effort should be worth it since there is obviously _a lot_ of interest in the MinGW platform that would be a shame to ignore for any project. My $0.02. Alan __ Alan W. Irwin Astronomical

Re: [CMake] FindBoost.cmake updated on the bugtracker

2008-04-13 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.6.0 RC 8 ready for testing

2008-04-14 Thread Alan W. Irwin
, and a PLplot build and ctest with that cmake version (2.6-patch 0 RC-8). 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

[CMake] FindX11.cmake needs some work for 2.6.0

2008-04-14 Thread Alan W. Irwin
} to X11_LIBRARIES which would eliminate the CMP0003 warnings without compromising the need of some who require a non-standard install location for X. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] FindX11.cmake needs some work for 2.6.0

2008-04-14 Thread Alan W. Irwin
On 2008-04-14 21:55-0400 Bill Hoffman wrote: Alan W. Irwin wrote: On some platforms, X11_LIBRARIES derived by FindX11.cmake is going to be a mixture of full pathnames for libraries and a series of -l flags which is not a recommended form for CMake 2.6.x. To see this, look at the FindX11.cmake

[CMake] Some minor issues for 2.6.0-RC-8

2008-04-17 Thread Alan W. Irwin
(IIRC) a complete list of CMP0003 warnings was generated. It's a completely self-explanatory warning message so users should not complain if they encounter more than one of these messages. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics

[CMake] LIST bugs for cmake version 2.6-patch 0 RC-8

2008-04-17 Thread Alan W. Irwin
the end of the list, it should work just like an append instead of giving you an index error as above. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations

Re: [CMake] Some minor issues for 2.6.0-RC-8

2008-04-18 Thread Alan W. Irwin
On 2008-04-18 10:35-0400 Bill Hoffman wrote: Alan W. Irwin wrote: (2) In CMP0003 OLD mode, the -pthread linker option triggers the warning. That is obviously incorrect, and only a list of actual libraries (specified only by -l options?) should trigger the warning. I will look

Re: [CMake] LIST bugs for cmake version 2.6-patch 0 RC-8

2008-04-18 Thread Alan W. Irwin
out 2.4.8 has the same LIST issues. 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 2.4 (8) WxWidgets + RichText Pt 2

2008-04-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] LIST bugs for cmake version 2.6-patch 0 RC-8

2008-04-19 Thread Alan W. Irwin
On 2008-04-18 15:14-0400 Bill Hoffman wrote: Alan W. Irwin wrote: Is this something new to 2.6, or is it the same as 2.4? I have been concentrating fairly exclusively on issues I have been noticing during my 2.6 tests, but in response to your question I ran the above CMakeLists.txt

Re: [CMake] cmake and distutils

2008-04-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

Re: [CMake] Differentiate between Linux and FreeBSD

2008-04-22 Thread Alan W. Irwin
which would screw up target_link_libraries without the if protection. 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] Some minor issues for 2.6.0-RC-8

2008-04-23 Thread Alan W. Irwin
and/or LINK_FLAGS_CONFIG property set by SET_TARGET_PROPERTIES to pass the separated out (by e.g., wxWidgets_LDFLAGS_OTHER) -framework, -isysroot, -arch, -pthread options to the linker. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics

Re: [CMake] cmake and distutils

2008-04-23 Thread Alan W. Irwin
your question you should check what is done with the complete working example I gave you. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations

Re: [CMake] Some minor issues for 2.6.0-RC-8

2008-04-24 Thread Alan W. Irwin
On 2008-04-24 15:45+0200 Hendrik Sattler wrote: Zitat von Alan W. Irwin [EMAIL PROTECTED]: which is equivalent to the pkg-config --libs option, but unlike pkg-config there doesn't appear to be any other linker flag options for wx-config. However, I suggest you use the appropriate CMake logic

[CMake] What is the best autotools == CMake conversion script?

2008-05-02 Thread Alan W. Irwin
such a script from the KDE project years ago for the PLplot conversion, but it was fairly immature at that time. Thus, I hope it has been improved or there is something better now. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy

Re: [CMake] CMAKE_MODULE_PATH on windows.

2008-05-05 Thread Alan W. Irwin
, please let us know the exact path you have specified. I think for INCLUDE it must be in internal CMake form (i.e., in Unix form), but I am not sure since I only have Unix experience with CMake. Alan __ Alan W. Irwin Astronomical research affiliation with Department

Re: [CMake] compiling a python module

2008-05-05 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] CMake 2.6.0 available for download

2008-05-06 Thread Alan W. Irwin
so far. The bootstrap build, ctest, and install of http://www.cmake.org/files/v2.6/cmake-2.6.0.tar.gz works fine. So does the build, install, ctest, and install-tree test of PLplot with CMake 2.6.0. Thanks, guys, for all your hard work! Alan __ Alan W. Irwin

Re: [CMake] How to read content of a registry entry on WIN32?

2008-05-07 Thread Alan W. Irwin
knowledge of the windows registry) I cannot see what is wrong with the above, but maybe you will have better luck spotting the problem given all the (presumably) working examples. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics

Re: [CMake] LIST bugs for cmake version 2.6-patch 0 RC-8

2008-05-07 Thread Alan W. Irwin
On 2008-04-19 11:46-0700 Alan W. Irwin wrote: On 2008-04-18 15:14-0400 Bill Hoffman wrote: OK, so it is not a regression... Can you please create a bug entry for this. Thanks. Done, see http://public.kitware.com/Bug/view.php?id=6852. This bug had been closed, but the fix is not quite

Re: [CMake] LIST bugs for cmake version 2.6-patch 0 RC-8

2008-05-07 Thread Alan W. Irwin
On 2008-05-07 09:12-0700 Alan W. Irwin wrote: On 2008-04-19 11:46-0700 Alan W. Irwin wrote: On 2008-04-18 15:14-0400 Bill Hoffman wrote: OK, so it is not a regression... Can you please create a bug entry for this. Thanks. Done, see http://public.kitware.com/Bug/view.php?id=6852

Re: [CMake] LIST bugs for cmake version 2.6-patch 0 RC-8

2008-05-07 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] LIST bugs for cmake version 2.6-patch 0 RC-8

2008-05-07 Thread Alan W. Irwin
time the corresponding backwards compatibility issue should be dealt with using the POLICY mechanism (presumably with a new independent policy number rather than CMP0007). Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy

Re: [CMake] LIST bugs for cmake version 2.6-patch 0 RC-8

2008-05-07 Thread Alan W. Irwin
). The second result seems to remove all empty elements correctly, but this second result should be included in the test in case the fix for the error in the first result affects the second result. Thanks in advance for fixing this bug. Alan __ Alan W. Irwin Astronomical

Re: [CMake] LIST bugs for cmake version 2.6-patch 0 RC-8

2008-05-08 Thread Alan W. Irwin
On 2008-05-07 15:18-0700 Alan W. Irwin wrote: I used your FOREACH example in my post, but it is really this expansion inconsistency in all contexts which bothers me. Your answer so far is essentially we have always done it that way. Perhaps there are excellent practical reasons

Re: [CMake] Coverage tests with gcov under Linux

2008-05-09 Thread Alan W. Irwin
internationalization is becoming more and more ubiquitous on all platforms. So, Bill, is there some good alternative to parsing for the locale-dependent Lines executed string or are you stuck with it? Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics

Re: [CMake] Checking for a Fortran compiler

2008-05-11 Thread Alan W. Irwin
(CMakeDetermineFortranCompiler) if(NOT CMAKE_Fortran_COMPILER) message(STATUS WARNING: fortran compiler not found. Disabling f77/f95 bindings ) etc... Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] Ruby Python Binding with SWIG in CMake

2008-05-12 Thread Alan W. Irwin
/plplotcapi.i (which defines our API for swig), and CMakeLists.txt files and *.i files in bindings/python and bindings/java. Hope that working example helps you to figure out what is wrong for your own attempt to build multiple bindings using swig and CMake. Alan __ Alan W. Irwin

Re: [CMake] Custom-Targets with unknown outputs

2008-05-13 Thread Alan W. Irwin
? This will create (or change create time) for an empty output file with a fixed unique name of your choice that can be used as a file dependency for a custom target. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] Custom-Targets with unknown outputs

2008-05-14 Thread Alan W. Irwin
be worth your while to look further into figuring out how you can do that. 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] Executable extension (MSVC)

2008-05-14 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] CPack: Adding external DLLs to installer package

2008-05-15 Thread Alan W. Irwin
Is there a command for converting backslashes to regular slashes? Yes. Look at FILE(TO_CMAKE_PATH...) in the documentation. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca

Re: [CMake] Can't unset suffix

2008-05-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 plotting software

[CMake] What is the proper way to handle additional non-object files generated by compilation?

2008-05-21 Thread Alan W. Irwin
with the extension .mod that are generated by the PLplot build). If that correct make clean result for Fortran module files is set up in the CMake Fortran language support files, please point me to the area, and I can probably do the rest for the Ada case. Alan __ Alan W

Re: [CMake] Bump -- CMAKE_INSTALL_PREFIX weirdness.

2008-05-22 Thread Alan W. Irwin
first, then the path to your source tree (absolute or relative) to see whether that solves your issue. I am actually surprised the -D options were even recognized part of the time with them being placed incorrectly after the path. Alan __ Alan W. Irwin Astronomical research

Re: [CMake] What is the proper way to handle additional non-object files generated by compilation?

2008-05-22 Thread Alan W. Irwin
On 2008-05-21 18:25-0700 Alan W. Irwin wrote: I am finally working again on the CMake language support for Ada (currently implemented just for the gcc gnatmake compiler). One of the issues is the gnatmake compiler not only produces *.o object files but also *.ali (Ada library information

Re: [CMake] What is the proper way to handle additional non-object files generated by compilation?

2008-05-23 Thread Alan W. Irwin
On 2008-05-23 07:07+0200 Maik Beckmann wrote: Am Freitag 23 Mai 2008 01:08:46 schrieb Alan W. Irwin: On 2008-05-21 18:25-0700 Alan W. Irwin wrote: I am finally working again on the CMake language support for Ada (currently implemented just for the gcc gnatmake compiler). One of the issues

Re: [CMake] What is the proper way to handle additional non-object files generated by compilation?

2008-05-23 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] Disabling IF strict checking

2008-05-23 Thread Alan W. Irwin
(whatever0) endif(whatever1) ? 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] Finder repository

2008-05-28 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.6 + Intel Visual Fortran 10 with /MD flag?

2008-05-30 Thread Alan W. Irwin
build in an initially empty build directory which is separate from your pristine (no generated files from prior in-source builds) source tree. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] CMake 2.6 + Intel Visual Fortran 10 with /MD flag?

2008-05-30 Thread Alan W. Irwin
do your build in an initially empty build directory which is separate from your pristine (no generated files from prior in-source builds) source tree. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] add_custom_command: regenerate all on modifcation?

2008-05-31 Thread Alan W. Irwin
should weigh in here on the difficulties (which I suspect are large) of implementing this? You might want to try FILE(GLOB ...) to assemble your list of source files, but I suspect there are going to be build dependency issues for that case as well. Alan __ Alan W. Irwin

Re: [CMake] multiple executables

2008-06-01 Thread Alan W. Irwin
set_target_properties, I believe you will get the result you want. 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] multiple executables

2008-06-01 Thread Alan W. Irwin
...) signatures of the cmake install command. Anyhow, I am just trying to give you some ideas here, and you will have to experiment a little to see what is right for your needs. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy

Re: [CMake] Custom target failing to build on Mac

2008-06-07 Thread Alan W. Irwin
tried that. HTH. 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] Compiling a file during CMake creation

2008-06-09 Thread Alan W. Irwin
the executable and set up the target dependencies so it is built before it is needed to process other files. We use this approach, for example, when using an executable to build a header that is needed to build our principal library. Alan __ Alan W. Irwin Astronomical

Re: [CMake] static library linking

2008-06-15 Thread Alan W. Irwin
the shared (but not static) libraries being linked to by test and to show any symbols which are not resolved by the link. You can also use nm to look for unresolved symbols. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy

Re: [CMake] static library linking

2008-06-15 Thread Alan W. Irwin
-lpthread is not doing the expected thing on your system. 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] static library linking

2008-06-15 Thread Alan W. Irwin
on the executable that is produced. (If there is a linking error, you can run the linking command again by hand using the --noinhibit-exec option to generate an executable regardless of most errors.) Alan __ Alan W. Irwin Astronomical research affiliation with Department

[CMake] gfortran/CheckFortranFunctionExists.cmake issue with 2.6.0

2008-06-19 Thread Alan W. Irwin
for most/all other fortran compilers? If so, I will put in the appropriate bug fix request for 2.6.1. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations

[CMake] Generating source code packages with Windows line endings

2008-06-23 Thread Alan W. Irwin
source by cpack and run a special script afterward to generate the windows source package? If special script, could that be made a CPack option? Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] Generating source code packages with Windows line endings

2008-06-23 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] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-25 Thread Alan W. Irwin
FindCLAPACK.cmake to find and test the C variant of the LAPACK 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

Re: [CMake] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-25 Thread Alan W. Irwin
On 2008-06-25 16:32+0200 Bernd Schubert wrote: On Wednesday 25 June 2008, Alan W. Irwin wrote: On 2008-06-25 15:15+0200 Hauke Heibel wrote: Hi there, I started diving into the world of CMake and spend the last two days in trying to convert a project of mine to be working with CMake. We

Re: [CMake] CMake generates different outputs on different Linux machines

2008-06-25 Thread Alan W. Irwin
FindBoost.cmake on that machine? 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] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-26 Thread Alan W. Irwin
and BLAS possibilities than I do so if I got something wrong or forgot an issue, please correct me. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations

Re: [CMake] Problem Porting from cmake 2.4.7 to 2.6

2008-06-27 Thread Alan W. Irwin
hoping for for your own project) will have to wait until I have more time to fix the Ada 2.6.x issues unless someone else can fix those issues first. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

Re: [CMake] Problem Porting from cmake 2.4.7 to 2.6

2008-06-27 Thread Alan W. Irwin
On 2008-06-27 11:09-0400 Bill Hoffman wrote: Alan W. Irwin wrote: On 2008-06-27 16:15+0200 [EMAIL PROTECTED] wrote: Hi List, Today I started to port my Ada project (Windows, MinGW, Ada cmake files from plplot) from cmake 2.4.7 to cmake 2.6. Now I have the problem that cmake doesn't want

Re: [CMake] Problem Porting from cmake 2.4.7 to 2.6

2008-06-27 Thread Alan W. Irwin
On 2008-06-27 11:25-0400 Brad King wrote: Alan W. Irwin wrote: On 2008-06-27 16:15+0200 [EMAIL PROTECTED] wrote: Hi List, Today I started to port my Ada project (Windows, MinGW, Ada cmake files from plplot) from cmake 2.4.7 to cmake 2.6. Now I have the problem that cmake doesn't want to use

Re: [CMake] Problem Porting from cmake 2.4.7 to 2.6

2008-06-27 Thread Alan W. Irwin
On 2008-06-27 16:11-0400 Brad King wrote: Alan W. Irwin wrote: The issue is that for 2.4.8, rpath is set appropriately for the Ada executable to find the Ada shared library that was built, but for 2.6.0, rpath is not set at all. Note, I do nothing special with rpath for this simple test

Re: [CMake] CPack ZIP error with NSIS on WinXP

2008-07-01 Thread Alan W. Irwin
On 2008-07-01 16:25-0400 Mike Jackson wrote: Do I have to do a make install first? [to get cpack to work]? No. In my experience make package uses the make install infrastructure, but doesn't need make install to be done first. Alan __ Alan W. Irwin Astronomical

Re: [CMake] Adding C(XX)FLAGS by using an environment variable?

2008-07-02 Thread Alan W. Irwin
. Try putting C options in CC environment variable, like export CC='gcc -g' This used to be documented at http://www.cmake.org/Wiki/CMake_Useful_Variables, but somebody removed it in error. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics

Re: [CMake] Adding C(XX)FLAGS by using an environment variable?

2008-07-02 Thread Alan W. Irwin
am not going to end up wasting my time fighting some CMake developer who feels strongly it should be removed again. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming

Re: [CMake] ADD_TEST comparing the command input with a file content

2008-07-04 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] Building Mac kext from CMake

2008-07-09 Thread Alan W. Irwin
or SET_TARGET_PROPERTIES. Good luck with building your kernel extension, and let the list know how it goes. 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_CACHE_MAJOR_VERSION not set yet during initial cmake run

2008-07-11 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] Problem linking to shared library (inside project) after upgrade to cmake 2.6

2008-07-12 Thread Alan W. Irwin
for each when the library is being built. Note, rpath in the build tree works fine for 2.6.0, but normally only if you set up your library linking in the recommended way with find_library results. Alan __ Alan W. Irwin Astronomical research affiliation with Department

Re: [CMake] Help with Execute_Process

2008-07-15 Thread Alan W. Irwin
Rev:\ COMMAND cut -d: -f2 should do what you want. 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] Sending Swig options to compiler

2008-07-15 Thread Alan W. Irwin
} PROPERTIES CPLUSPLUS ON ) SET( CMAKE_SWIG_FLAGS -package ${PACKAGE_NAME} ) Try dropping the quotes, i.e., SET(CMAKE_SWIG_FLAGS -package ${PACKAGE_NAME}) That form works for the PLplot project. Alan __ Alan W. Irwin Astronomical research affiliation with Department

Re: [CMake] anybody crosscompiling and using pkg_config ?

2008-07-18 Thread Alan W. Irwin
think the same principle (keep CMake internals simple) should apply to cross-compilation. Unless I am missing something, the cross-compiler user should be able to set PKG_CONFIG_LIBDIR externally just like I currently set PKG_CONFIG_PATH externally. My $0.02. Alan __ Alan W

Re: [CMake] Clear cache on upgrade?

2012-04-23 Thread Alan W. Irwin
to try a fresh build whenever some aspect of the CMake-based build and/or test system doesn't appear to be working correctly and certainly before any error is reported. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy

Re: [CMake] lapack-3.4.1-cmake testing error

2012-05-19 Thread Alan W. Irwin
) that does honor the WORKING DIRECTORY option for the add_test 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] CMake 2.8.6 -- 2.8.8 New TryCompile Fails on GCC-GNAT Ada Linking

2012-07-06 Thread Alan W. Irwin
necessary since the build is occurring in that tree rather than in the source tree. But the -aI flag may be needed even if you do a build in the source tree. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria

[CMake] How to get started with the CMake Ninja backend on Linux and Windows?

2012-07-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); the Time Ephemerides project

Re: [CMake] How to get started with the CMake Ninja backend on Linux and Windows?

2012-07-19 Thread Alan W. Irwin
On 2012-07-19 09:04+0200 Nicolas Desprès wrote: On Thu, Jul 19, 2012 at 7:33 AM, Alan W. Irwin ir...@beluga.phys.uvic.cawrote: There has been a lot of traffic here concerning the CMake Ninja backend for more than a year with some claims that that combination is now working pretty well on all

Re: [CMake] how to build cmake with mingw and msys?

2012-08-14 Thread Alan W. Irwin
for you when you try the bootstrap method of building CMake under MinGW/MSYS. 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 build cmake with mingw and msys?

2012-08-15 Thread Alan W. Irwin
in this thread that the bootstrap method just works under MinGW/MSYS, that change to the PATH may be all that is necessary. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca

Re: [CMake] how to build cmake with mingw and msys?

2012-08-16 Thread Alan W. Irwin
On 2012-08-16 09:32-0400 Bill Hoffman wrote: On 8/16/2012 1:47 AM, Alan W. Irwin wrote: Bill, you are the chief guru here so I am a bit hesitant to correct you. :-) However, I just checked a fairly recently downloaded version of MinGW/MSYS I use for my Wine experiments using the following

Re: [CMake] How to static link with MinGW's libgcc and libstdc++

2012-09-11 Thread Alan W. Irwin
and bash, and CMake on the Linux platform. 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] Cross compiling from linux to windows using wine-based visual studio compilers

2012-10-15 Thread Alan W. Irwin
degree of confidence to using MinGW/MSYS (and probably MinGW alone if you have no need for the MSYS tools) on Wine. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming

Re: [CMake] Cross compiling from linux to windows using wine-based visual studio compilers

2012-10-16 Thread Alan W. Irwin
On 2012-10-15 21:46-0700 Daniel Russel wrote: On Oct 15, 2012, at 9:35 PM, Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: On 2012-10-15 21:02-0700 Daniel Russel wrote: I'm trying to get cross compilation of a simple library working to build a windows library on a linux box using

Re: [CMake] how to build cmake with mingw and msys?

2012-10-16 Thread Alan W. Irwin
On 2012-08-16 08:42-0700 Alan W. Irwin wrote: I am not in a position to do MinGW/MSYS experiments on the Wine platform at the moment, but once that is possible (should be a couple of weeks from now) I will attempt to confirm on that platform that the bootstrap method of building CMake works

[CMake] CMake-based build systems that are useful for study purposes?

2012-10-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); the Time Ephemerides project

Re: [CMake] CMake-based build systems that are useful for study purposes?

2012-10-22 Thread Alan W. Irwin
describing what is possible with the project 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-of-state implementation

[CMake] How to use file(WRITE... to write the literal string $'\r' to a file

2012-10-31 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] How to use file(WRITE... to write the literal string $'\r' to a file

2012-11-01 Thread Alan W. Irwin
On 2012-10-31 20:24-0400 David Cole wrote: This works for me: file(WRITE w.txt $'\\r') and Matthew came to a similar conclusion. Thanks to both of you for this suggested simplification which also works here for me. Alan __ Alan W. Irwin Astronomical research

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