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)
INCLUDE_DIRECTORIES(D:/work/boost_1_46_1
On 07/29/2011 05:13 PM, Louis Hoefler wrote:
> 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
>
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)
LINK_DIRECTORIES(D:/wo