source: nscp/modules/Scheduler/CMakeLists.txt

Last change on this file was c77838e, checked in by Michael Medin <michael@…>, 4 months ago

Massive refactoring effort.
All(most) commands now support help for interactive help as well as built-in documentation for all(most) commands and configuration.

  • Property mode set to 100644
File size: 626 bytes
Line 
1cmake_minimum_required(VERSION 2.6)
2
3SET(TARGET Scheduler)
4
5PROJECT(${TARGET})
6
7CREATE_MODULE(SRCS ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
8
9SET(SRCS ${SRCS}
10        stdafx.cpp
11        "${TARGET}.cpp"
12        simple_scheduler.cpp
13
14        ${NSCP_DEF_PLUGIN_CPP}
15)
16
17ADD_DEFINITIONS(${NSCP_GLOBAL_DEFINES})
18
19IF(WIN32)
20        SET(SRCS ${SRCS}
21                stdafx.h
22                "${TARGET}.h"
23                simple_scheduler.hpp
24                schedules.hpp
25
26                ${NSCP_DEF_PLUGIN_HPP}
27        )
28ENDIF(WIN32)
29
30add_library(Scheduler MODULE ${SRCS})
31
32target_link_libraries(Scheduler
33        ${Boost_FILESYSTEM_LIBRARY}
34        ${Boost_THREAD_LIBRARY}
35        ${NSCP_DEF_PLUGIN_LIB}
36)
37INCLUDE(${BUILD_CMAKE_FOLDER}/module.cmake)
Note: See TracBrowser for help on using the repository browser.