[CMake] LINK_DIRECTORIES visual studio 2010

2011-07-29 Thread Louis Hoefler
Hello everyone. I have a simple CMake file cmake_minimum_required(VERSION 2.8) IF(DEFINED USEFCGI) SET(BACKENDLIB wtfcgi) ELSE(DEFINED USEFCGI) SET(BACKENDLIB wthttp) ENDIF(DEFINED USEFCGI) ADD_EXECUTABLE(construction.wt construction.cpp ) if(WIN32)

Re: [CMake] LINK_DIRECTORIES visual studio 2010

2011-07-29 Thread Louis Hoefler
Ah, yes this one works: cmake_minimum_required(VERSION 2.8) IF(DEFINED USEFCGI) SET(BACKENDLIB wtfcgi) ELSE(DEFINED USEFCGI) SET(BACKENDLIB wthttp) ENDIF(DEFINED USEFCGI) if(WIN32) INCLUDE_DIRECTORIES(D:/work/boost_1_46_1 D:/work/wt-3.1.10/src D:/work/wt-3.1.10/build)

[CMake] TARGET_LINK_LIBRARIES debug optimized visual studio 2010

2011-07-29 Thread Louis Hoefler
Hello everyone. I try to set a specific library for the debug and release configuration. I try to do it this way: IF(DEFINED USEFCGI) SET(BACKENDLIB wtfcgi) ELSE(DEFINED USEFCGI) SET(BACKENDLIB wthttp) ENDIF(DEFINED USEFCGI) IF(WIN32) TARGET_LINK_LIBRARIES(construction.wt debug wtd

Re: [CMake] TARGET_LINK_LIBRARIES debug optimized visual studio 2010

2011-07-29 Thread Louis Hoefler
I tried that and now I get for the debug libraries: ...;wtdwthttpd.lib;... for the release libraries: ...;wtwthttp.lib;... I want it to look like ...;wt.lib;wthttp.lib;... or ...;wtd.lib;wthttpd.lib;... my version somehow adds one release library to the debug configuration and vice versa

[CMake] Accessing visual studio debugger options

2011-02-09 Thread Louis Hoefler
Hello everyone, i created cmake files for a visual studio solution. The solution compiles, and now I want to start debugging the testapplication. I want to change the command line option, which is used by the debugger, to invoke the application. How can this be done? I use cmake 2.8.3 and

Re: [CMake] Accessing visual studio debugger options

2011-02-09 Thread Louis Hoefler
Oh sorry if I was not completely clear. I wanted to access these settings throught cmake. Greetings Louis Am 09.02.2011 19:59, schrieb Rolf Eike Beer: Hello everyone, i created cmake files for a visual studio solution. The solution compiles, and now I want to start debugging the

[CMake] Compiler definitions for shared and static builds

2011-01-31 Thread Louis Hoefler
${fox_default_defines_static} ) But the targets for shared and static builds need to have different names (becouse the need different build directories though). Is there an elegant way to achive what I want? Thank you, Louis Hoefler ___ Powered by www.kitware.com Visit

Re: [CMake] Trying to setup make folder configuration on linux

2010-12-11 Thread Louis Hoefler
and greetings, Louis Tyler Roscoe ty...@cryptio.net at Fri, 10 Dec 2010 12:56:35 -0800 On Fri, Dec 10, 2010 at 08:11:45PM +0100, Louis Hoefler wrote: -- Build files have been written to: /root/massmailer/Debug Probably not a good idea to be doing this kind of thing as root. [100%] Built

[CMake] Trying to setup make folder configuration on linux

2010-12-10 Thread Louis Hoefler
Hello everyone, i currently try to setup a make configuration where the debug and the release version of my programm should be built into different subfolders. My problem is that the installation does not find the created executable. The directory stucture looks like this: /massmailer