source: nscp/modules/CheckTaskSched/CMakeLists.txt @ d66ccee

0.4.00.4.10.4.2
Last change on this file since d66ccee was d66ccee, checked in by Michael Medin <michael@…>, 2 years ago

Tweaks to make building faster

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