RE: [CMake] Choosing between debug and release variants of third-party libraries

2007-11-09 Thread Torsten Martinsen
Philip Lowman mailto:[EMAIL PROTECTED] wrote: Torsten Martinsen wrote: I'm sure this is a FAQ, but I cannot find the answer anywhere. Using VS 2003, given that I have a third-party library with debug and release variants: /path/to/lib/release/lib.lib /path/to/lib/debug/lib.lib

Re: [CMake] Cvs version 'Segmentation Fault'

2007-11-09 Thread Baptiste Derongs
Never mind, I think I found the crash. Can you cvs update and try now? Thank you, it works well now. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Link directories order

2007-11-09 Thread Renaud Detry
On 08 Nov 2007, at 17:52, Bill Hoffman wrote: Renaud Detry wrote: You should be using FIND_LIBRARY to find the things you want to link in, or at least finding the directory with a FIND_FILE, and then using LINK_DIRECTORIES. LDFLAGS is a bad idea because your users will also have to set

[CMake] Autogenerating CMakeLists.txt

2007-11-09 Thread Marcus
Hi, Please could I ask for your opinions on automatically generating CMakeList.txt files, rather than editing them directly. My motivation is that I am working on several projects, each broken-down into sub-projects, and all of them use a consistent directory structure. I want to take

[CMake] Dart and tests

2007-11-09 Thread Vitor Vasconcelos Araujo Silva
Hello guys, Sorry to disturbe you with a probably simple subject, but I got lost with too many information. Let's start: I have my set of CMakeLists.txt to all project working fine. Now I want to send my tests to a Dart sever creating my dashboard. I have my Mastering CMake

Re: [CMake] Autogenerating CMakeLists.txt

2007-11-09 Thread Eric Noulard
2007/11/9, Marcus [EMAIL PROTECTED]: Hi, Please could I ask for your opinions on automatically generating CMakeList.txt files, rather than editing them directly. There exists some kind of generator scripts, see http://www.cmake.org/Wiki/CMake#Converters_from_other_buildsystems_to_CMake for

Re: [CMake] Dart and tests

2007-11-09 Thread David Cole
Have a look at the recently committed CMake/Tests/Tutorial/Step7 project in CVS CMake. (Update to current CVS CMake, it was just committed yesterday.) If you do a diff between CMake/Tests/Tutorial/Step6 and CMake/Tests/Tutorial/Step7, it will demonstrate to you the minimum steps required to add

Re: [CMake] Autogenerating CMakeLists.txt

2007-11-09 Thread Sylvain Benner
The generator would glob for files within each project, so it would be necessary to rebuild the CMakeList.txt files if meta-information is changed, or if new files are added to a project. Ideally, the generated build system should issue a warning when the CMakeLists.txt files are out of

Re: [CMake] Dart and tests

2007-11-09 Thread Vitor Vasconcelos Araujo Silva
Hello David, Sorry to reply myself and I figured out the last mail was sent to you. Two sorries. Well, I was including the CTest after define my Project. Shame on me. Anyway, I got a message during my CMakeLists.txt processing: Unknown CMake command CTEST_START. It's

[CMake] CMAKE_SYSTEM_PROCESSOR question

2007-11-09 Thread Félix C. Morency
Hi, I'm using ${CMAKE_SYSTEM_PROCESSOR} in my cmake configure script but when I call the script with CTest (ctest -S ...), it complains that this variable is empty. Is there any way to override this ? Regards, Félix C. Morency ___ CMake mailing list

[CMake] source uninstall

2007-11-09 Thread Hasan Hasanov
Hello, I wanted to play around with the cmake build system by installing VTK from source. I downloaded the VTK source, and ran: $ cmake . $ make $ sudo make install and this completed without any errors, but now I am stuck: $ sudo make uninstall make: *** No rule to make target 'uninstall'.

[CMake] minimum version for INSTALL commands

2007-11-09 Thread James Bigler
What is the minimum version of CMake I need for the new version of the INSTALL command? What about specifically the INSTALL(DIRECTORY) command? Thanks, James ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Choosing between debug and release variants of third-party libraries

2007-11-09 Thread Philip Lowman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Torsten Martinsen wrote: Philip Lowman mailto:[EMAIL PROTECTED] wrote: Torsten Martinsen wrote: I'm sure this is a FAQ, but I cannot find the answer anywhere. Using VS 2003, given that I have a third-party library with debug and release

Re: [CMake] Choosing between debug and release variants of third-party libraries

2007-11-09 Thread Philip Lowman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philip Lowman wrote: So you can't do something like this? FIND_LIBRARY(qtmain_release qtmain PATHS C:/lang/qt/3.3.4r/lib NO_DEFAULT_PATH) FIND_LIBRARY(qtmain_debug qtmain PATHS C:/lang/qt/3.3.4/lib NO_DEFAULT_PATH) # declare your

Re: [CMake] Choosing between debug and release variants of third-party libraries

2007-11-09 Thread Bill Hoffman
Philip Lowman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philip Lowman wrote: So you can't do something like this? FIND_LIBRARY(qtmain_release qtmain PATHS C:/lang/qt/3.3.4r/lib NO_DEFAULT_PATH) FIND_LIBRARY(qtmain_debug qtmain PATHS C:/lang/qt/3.3.4/lib NO_DEFAULT_PATH) #