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)
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)
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
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
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
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
${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
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
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