Project

General

Profile

Bug #2113 » CMakeLists.txt

Anonymous, 08/16/2013 06:44 PM

 
cmake_minimum_required(VERSION 2.8)

project(triggerbug)

set(CMAKE_BUILD_TYPE Release)

option(CONNECTOR_HTTP "use standalone connector" ON)

link_directories(${CMAKE_LIBRARY_PATH})
include_directories(${CMAKE_INCLUDE_PATH})

find_package( Wt REQUIRED )
include_directories( ${Wt_INCLUDE_DIR} )

find_package( Boost 1.44.0 COMPONENTS date_time regex program_options signals random system thread REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})

add_executable(triggerWFileUploadBug.wt TriggerWFileUploadBug.cxx)
target_link_libraries(triggerWFileUploadBug.wt ${Wt_DEBUG_LIBRARY} ${Wt_HTTP_DEBUG_LIBRARY} ${Boost_LIBRARIES})
(2-2/3)