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

2008-04-17 Thread Alan W. Irwin
encountered is mentioned. Please go back to the old (CVS) method where (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

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

2008-04-17 Thread Alan W. Irwin
message("list_example = ${list_example}") the result is list_example = 1;;;2;3;4 list_example = 1;;;2;3;4;5 list_example_length = 5 list_example1 = 2 CMake Error at CMakeLists.txt:21 (list): list index: 5 out of range (-5, 4) If you insert just after the end of the list, it

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 at the

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

2008-04-18 Thread Alan W. Irwin
put list_example = 1;;;2;3;4;5 remove empty list_example = 1;2;3;4;5 input list_example = 1;;;2;3;4;5 insert 4 6 7 list_example = 1;2;3;4;6;7;5 input list_example = 1;;;2;3;4;5 CMake Error at CMakeLists.txt:65 (list): list index: 5 out of range (-5, 4) insert 5 6 7 list_examp

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 for

Re: [CMake] cmake and distutils

2008-04-22 Thread Alan W. Irwin
net/viewvc/plplot/trunk/ 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); PLplo

Re: [CMake] Differentiate between Linux and FreeBSD

2008-04-22 Thread Alan W. Irwin
IBRARY-NOTFOUND" 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). Programmin

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

2008-04-23 Thread Alan W. Irwin
dvised to use the LINK_FLAGS and/or LINK_FLAGS_ 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

Re: [CMake] cmake and distutils

2008-04-23 Thread Alan W. Irwin
nswer 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 wit

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

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

2008-05-02 Thread Alan W. Irwin
uch 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 Astr

Re: [CMake] CMAKE_MODULE_PATH on windows.

2008-05-05 Thread Alan W. Irwin
doesn't work, 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 aff

Re: [CMake] compiling a python module

2008-05-05 Thread Alan W. Irwin
(such as "lib") and suffix (such as ".so"). 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 i

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
dying those (without any 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 Depar

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. This

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

2008-05-07 Thread Alan W. Irwin
istently making this signature unnecessary. BTW, I have fixed the list(SORT to handle empty correctly. Thanks! Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). P

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

2008-05-07 Thread Alan W. Irwin
se, at the same 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 Physic

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

2008-05-07 Thread Alan W. Irwin
The first result removes the "1" elements correctly, but also incorrectly drops the first empty elements (but not the others). 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 firs

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 reason

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 P

Re: [CMake] CMake and Clanlib

2008-05-11 Thread Alan W. Irwin
that extra printed out information with this list. 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 f

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, Un

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 o

Re: [CMake] Custom-Targets with unknown outputs

2008-05-14 Thread Alan W. Irwin
d it might 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 FreeEO

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
n the simple context, i.e., I had introduced some CMake logic bug in the more complex context. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with th

Re: [CMake] Compiler flags for Obj-C++ files only

2008-05-21 Thread Alan W. Irwin
files is given in the file cmake-2.6.0/Modules/CMakeAddNewLanguage.txt. 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-

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

2008-05-21 Thread Alan W. Irwin
and I can probably do the rest for the Ada 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 for stellar interiors (freee

Re: [CMake] Bump -- CMAKE_INSTALL_PREFIX weirdness.

2008-05-22 Thread Alan W. Irwin
e cmake man page. I would suggest putting your -D options 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

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-22 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 is

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

2008-05-23 Thread Alan W. Irwin
ke clean" issue mentioned in this thread, later. 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 f

Re: [CMake] Disabling IF strict checking

2008-05-23 Thread Alan W. Irwin
endif(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 inte

Re: [CMake] Finder repository

2008-05-26 Thread Alan W. Irwin
re might benefit from my answers to your remarks. 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] Finder repository

2008-05-28 Thread Alan W. Irwin
quired to upgrade FindPkgConfig.cmake in the ways suggested. 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 im

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

2008-05-30 Thread Alan W. Irwin
here for you since I assume you will follow up on this by reading the CMake documentation for ADD_CUSTOM_TARGET, ADD_DEPENDENCIES, SET_SOURCE_FILES_PROPERTIES, etc. to get the specifics for yourself. Alan ______ Alan W. Irwin Astronomical research affiliation with Department o

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

2008-05-30 Thread Alan W. Irwin
's ways to say /MT) at all. Did you set FFLAGS which contains this flag? You might also be the victim of a wrong flag set by a previous (stale) build. Make sure you do your build in an initially empty build directory which is separate from your pristine (no generated files from prior in-

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

2008-05-30 Thread Alan W. Irwin
#x27;s ways to say /MT) at all. Did you set FFLAGS which contains this flag? You (Kelly) might also be the victim of a wrong flag set by a previous (stale) build. Make sure you do your build in an initially empty build directory which is separate from your pristine (no generated files from prior in-

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

2008-05-31 Thread Alan W. Irwin
opers 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.

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
stall(CODE ...) 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

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

2008-06-07 Thread Alan W. Irwin
the GENERATED property, but I haven't 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 i

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
with the linking, use "ldd -r" to list all 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

Re: [CMake] static library linking

2008-06-15 Thread Alan W. Irwin
st in linking issues which is why I am curious as to why -Wl,-Bstatic -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).

Re: [CMake] static library linking

2008-06-15 Thread Alan W. Irwin
s of running "ldd -r" 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 resear

[CMake] gfortran/CheckFortranFunctionExists.cmake issue with 2.6.0

2008-06-19 Thread Alan W. Irwin
all" rather than "external" will work 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 Victo

[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
ngs? 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] 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-of

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 are

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

2008-06-25 Thread Alan W. Irwin
are somehow confusing 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

Re: [CMake] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-26 Thread Alan W. Irwin
ot more about the many LAPACK 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.c

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

2008-06-27 Thread Alan W. Irwin
were 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 Vic

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 wa

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 t

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 _

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

2008-07-02 Thread Alan W. Irwin
t variables at "make" time. 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

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

2008-07-02 Thread Alan W. Irwin
riable documentation to the wiki so long as I 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 V

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

2008-07-04 Thread Alan W. Irwin
re the same or not. 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.s

Re: [CMake] Building Mac kext from CMake

2008-07-09 Thread Alan W. Irwin
SET_SOURCE_FILES_PROPERTIES 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.

Re: [CMake] CMAKE_CACHE_MAJOR_VERSION not set yet during initial cmake run

2008-07-11 Thread Alan W. Irwin
=patch 0 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 (freeeos.sf.net); PLplot

Re: [CMake] Problem linking to shared library (inside project) after upgrade to cmake 2.6

2008-07-12 Thread Alan W. Irwin
and the cmake-2.6 version that doesn't and compare especially what rpath is being used 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

Re: [CMake] Help with Execute_Process

2008-07-15 Thread Alan W. Irwin
info COMMAND grep \"Last Changed 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

Re: [CMake] Sending Swig options to compiler

2008-07-15 Thread Alan W. Irwin
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 of P

Re: [CMake] anybody crosscompiling and using pkg_config ?

2008-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); PLplot scientific plotting s

Re: [CMake] LAPACK-related CMake modules

2008-07-21 Thread Alan W. Irwin
ead library, I would wait for your revised version before contacting him. 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 equa

Re: [CMake] Finding MinGW compiler libraries?

2008-07-26 Thread Alan W. Irwin
e find_library command. However, if users of your build system have a non-standard install location for some library or group of libraries, I think it is normally best to let that user set CMAKE_LIBRARY_PATH for themselves rather than trying to force anything in the build system itself.

[CMake] Avoiding duplicate messages

2008-07-27 Thread Alan W. Irwin
marks that message as specifically addressed to me, and I can give that post much higher priority then the usual CMake ML post where I may or may not have an interest in the topic. Alan ______ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy,

Re: [CMake] python wrappers through xcode

2008-07-30 Thread Alan W. Irwin
built by CMake. I don't use XCODE (or Mac OS X for that matter), but I hope this help on the fundamentals of Swig support in CMake gets rid of or at least reduces the XCODE problems you are seeing. Alan ______ Alan W. Irwin Astronomical research affiliation with Department

Re: [CMake] Recursive custom target

2008-07-31 Thread Alan W. Irwin
is it processes things in a different order than add_subdirectory so will give some undefined target surprises. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Progra

Re: [CMake] Recursive custom target

2008-07-31 Thread Alan W. Irwin
If you need more than originating and top-level target availability _for make_ you probably need to do a feature request. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca).

Re: [CMake] CMake 2.6.1 available for download

2008-08-01 Thread Alan W. Irwin
ake developers adopt that same policy to supplement any other measures they may have in place to make sure the downloadables are not changed after they are created. Alan __________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, Un

Re: [CMake] find_path does't accept cmake variables for PATHS

2008-08-02 Thread Alan W. Irwin
or not, but if a list doesn't work as above, then I try quoting it, e.g., PATHS "${VAR}" Hope that works for you. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca

Re: [CMake] CMake 2.6.1 available for download

2008-08-06 Thread Alan W. Irwin
There are probably other areas where 2.6 does much better than 2.4, but Fortran was the key improvement from my perspective. I have also seen no serious downsides to adopting 2.6 for all of my projects. Alan __ Alan W. Irwin Astronomical research affiliation with Departm

Re: [CMake] Permissions for new folders and files

2008-08-07 Thread Alan W. Irwin
ng at what your distribution does for similar files. Once your installation conforms to the FHS, then all you have to do to make it completely installable in a user account (with no root access needed) is to change the -DCMAKE_INSTALL_PREFIX option for cmake. Alan ______ Ala

Re: [CMake] Permissions for new folders and files

2008-08-08 Thread Alan W. Irwin
nt of that installation prefix, and you can install then just using an ordinary user account which owns the installation prefix directory. Alan ______ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.ph

Re: [CMake] Cpack and cmake's install commands with absolute destination value

2008-08-08 Thread Alan W. Irwin
it works. 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 scie

Re: [CMake] Non-C/C++ project

2008-08-12 Thread Alan W. Irwin
developers prefer to use ENABLE_LANGUAGE to enable certain languages as a result of options set by the user. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming

Re: [CMake] ctest 'magic string' -> failure

2008-08-13 Thread Alan W. Irwin
ll non-zero exit codes as a failed test. Note, setting up ctest this way works cross-platform because there are shells (e.g., bash) available for windows (or so I am told by those PLplot developers who run ctest for PLplot on windows). Alan __ Alan W. Irwin Astronomi

[CMake] How do I access the --extra-verbose option for ctest for my tests?

2008-08-14 Thread Alan W. Irwin
to be used when ctest is invoked with --extra-verbose? 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 implementatio

Re: [CMake] How do I access the --extra-verbose option for ctest for my tests?

2008-08-15 Thread Alan W. Irwin
On 2008-08-14 10:41-0700 Alan W. Irwin wrote: Assume that I have added a test with add_test(testname myshell_script.sh arg1 arg2 ...) Currently ctest with no --verbose or --extra-verbose options suppresses all output from the script and ctest with either the --verbose or --extra-verbose

Re: [CMake] Converting xml-Files during build

2008-08-18 Thread Alan W. Irwin
that depends on the output file, e.g., add_custom_target(target_name ALL DEPENDS $(CMAKE_BUILD_DIR)/file.xmlt) Alan __________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming a

Re: [CMake] unset() command

2008-08-20 Thread Alan W. Irwin
others that already exist for 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 inte

Re: [CMake] unset() command

2008-08-20 Thread Alan W. Irwin
On 2008-08-20 14:07-0400 Brad King wrote: Alan W. Irwin wrote: if(FOO) still gives different results depending on whether there has ever been a set command executed for the variable. Really? Can you provide example code demonstrating this? OOPS. Sorry for that noise. However, I would

Re: [CMake] Symbolinc links

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

Re: [CMake] Symbolinc links

2008-08-22 Thread Alan W. Irwin
_DESTDIR.) I haven't actually tried setting CPACK_SET_DESTDIR to ON myself yet (haven't tried a binary release recently), but I am assured it works. For further information see http://www.cmake.org/Wiki/CMake:Packaging_With_CPack Alan ______ Alan W. Irwin Astronom

Re: [CMake] Target dependencies

2008-08-25 Thread Alan W. Irwin
x27;t work either (cmake 2.6.1): ADD_CUSTOM_TARGET(foo COMMAND echo "foo" COMMENT "Fooing ..") ADD_CUSTOM_TARGET(bar COMMAND echo "bar" DEPENDS foo COMMENT "Bar-tender ..") ADD_DEPENDENCIES(bar foo) You should get rid of that DEPENDS foo. Alan _

Re: [CMake] Out-of-project link library problem

2008-09-03 Thread Alan W. Irwin
to the list when needed for our various platforms. 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 imple

Re: [CMake] Compiler varience?

2008-09-09 Thread Alan W. Irwin
then update or create that Platform file to make sure you have the compiler flags set the way you want. HTH Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affilia

Re: [CMake] Weird output

2008-09-17 Thread Alan W. Irwin
is not what you want. I do know that the forms make VERBOSE=1 -j2 all or make VERBOSE=0 -j2 all do work. Alan ______ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affil

Re: [CMake] Query about FindXXX files

2008-09-17 Thread Alan W. Irwin
name.cmake itself can include other files from cmake/modules so that helps you to keep everything nicely organized. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Progra

Re: [CMake] Weird output

2008-09-18 Thread Alan W. Irwin
On 2008-09-18 08:04+0200 Jesper Eskilson wrote: Alan W. Irwin wrote: I doubt setting VERBOSE at the end like that after the "all" target will work. For that order make probably assumes "VERBOSE=" is a target which is not what you want. I don't think so. [...] I

Re: [CMake] Q: How do I _portably_ create a directory in the binary directory

2008-09-19 Thread Alan W. Irwin
On 2008-09-19 10:27-0500 kent williams wrote: Never mind, I found it in the 'FILE' command... Also, "cmake -E" has the make_directory subcommand. You can use that both at cmake time and also at build time (as part of a custom command). Alan ________

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