[CMake] CTest: how to select a configuration type

2008-06-16 Thread Fabien Spindler
I'm under Windows, with Visual Studio 2003.NET and CTest 2.6 patch 0. How is it possible to select a configuration type (Debug/Release,...) with CTest so that devenv uses the requested /build option? Fabien -- Fabien Spindler, Equipe Lagadic, Irisa - Inria Campus universitaire de Beaulieu

Re: [CMake] different flags in debug and release

2008-06-16 Thread Werner Smekal
Hi, the help on set_target_properties delivers: The LINK_FLAGS property can be used to add extra flags to the link step of a target. LINK_FLAGS_CONFIG will add to the configuration CONFIG, for example, DEBUG, RELEASE, MINSIZEREL, RELWITHDEBINFO. So if you use the command

Re: [CMake] When are these set: APPLE, etc *AND* documentation ERROR

2008-06-16 Thread Werner Smekal
Hi Miguel, I have access to these systems and the results are: 1. UNIX is TRUE in msys systems, right? No, UNIX is not set in msys. WIN32=1. MINGW=1. MSYS=1. 2. UNIX is FALSE in mingw systems that do not have the msys shell installed, right? Yes, UNIX is not set in mingw/cli either.

Re: [CMake] When are these set: APPLE, etc *AND* documentation ERROR

2008-06-16 Thread Werner Smekal
Hi, I don't know. Under cygwin UNIX is true. I think this is the only environment under Windows where UNIX is true (but I'm not sure, can't test). A grep in Source/ leads to cmMakefile.cxx, and there UNIX is only set to true under Windows if it's built for cygwin. UNIX=1. WIN32=1.

[CMake] MySQL++ Configuration

2008-06-16 Thread ivan gm
Hello, I want to generate a CMakeLists.txt which configures a visual studio 2005 project with the libraries needed to use MySQL++. The changes I have to manually do with visual studio properties window are the following: 1. Append the following to 'C/C++::General::Additional Include

Re: [CMake] [PATCH] simple test to test the FindXXX.cmake modules

2008-06-16 Thread David Cole
On Sat, Jun 14, 2008 at 4:08 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: Is it worth committing ? Absolutely! As you say, it does not test everything that could be tested w.r.t. the FindXXX files, but it does at least execute through all of them.

Re: [CMake] CTest: how to select a configuration type

2008-06-16 Thread Mathieu Malaterre
From the command line, I usually do: $ ctest -C Debug ... -Mathieu 2008/6/16 Fabien Spindler [EMAIL PROTECTED]: I'm under Windows, with Visual Studio 2003.NET and CTest 2.6 patch 0. How is it possible to select a configuration type (Debug/Release,...) with CTest so that devenv uses the

Re: [CMake] [PATCH] simple test to test the FindXXX.cmake modules

2008-06-16 Thread Alexander Neundorf
On Monday 16 June 2008, you wrote: On Sat, Jun 14, 2008 at 4:08 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: Is it worth committing ? Absolutely! As you say, it does not test everything that could be tested w.r.t. the FindXXX files, but it does at least execute through all of them.

[CMake] FindwxWidgets update (for MinGW)

2008-06-16 Thread Miguel A. Figueroa-Villanueva
Hello All, I have updated the cvs version of FindwxWidgets.cmake to be able to find the wxWidgets libraries for MinGW using the Windows style search. Basically, I added the following: IF(WIN32 AND NOT CYGWIN) SET(wxWidgets_FIND_STYLE win32) ELSE(WIN32 AND NOT CYGWIN) IF(UNIX)