|
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 | |
|---|
| 1 | cmake_minimum_required(VERSION 2.6) |
|---|
| 2 | |
|---|
| 3 | SET(TARGET Scheduler) |
|---|
| 4 | |
|---|
| 5 | PROJECT(${TARGET}) |
|---|
| 6 | |
|---|
| 7 | CREATE_MODULE(SRCS ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) |
|---|
| 8 | |
|---|
| 9 | SET(SRCS ${SRCS} |
|---|
| 10 | stdafx.cpp |
|---|
| 11 | "${TARGET}.cpp" |
|---|
| 12 | simple_scheduler.cpp |
|---|
| 13 | |
|---|
| 14 | ${NSCP_DEF_PLUGIN_CPP} |
|---|
| 15 | ) |
|---|
| 16 | |
|---|
| 17 | ADD_DEFINITIONS(${NSCP_GLOBAL_DEFINES}) |
|---|
| 18 | |
|---|
| 19 | IF(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 | ) |
|---|
| 28 | ENDIF(WIN32) |
|---|
| 29 | |
|---|
| 30 | add_library(Scheduler MODULE ${SRCS}) |
|---|
| 31 | |
|---|
| 32 | target_link_libraries(Scheduler |
|---|
| 33 | ${Boost_FILESYSTEM_LIBRARY} |
|---|
| 34 | ${Boost_THREAD_LIBRARY} |
|---|
| 35 | ${NSCP_DEF_PLUGIN_LIB} |
|---|
| 36 | ) |
|---|
| 37 | INCLUDE(${BUILD_CMAKE_FOLDER}/module.cmake) |
|---|
Note: See
TracBrowser
for help on using the repository browser.