source: nscp/modules/CheckTaskSched2/CMakeLists.txt @ a14aa07

0.4.00.4.10.4.2
Last change on this file since a14aa07 was e11d494, checked in by Michael Medin <michael@…>, 22 months ago

2011-07-25

  • merged in all 0.3.9 changes into 0.4.0
  • refactored where filter to be "non template" to drastically reduce compile time (as well as potentially size if I ever go dll instead of static link)
  • streamlined checkeventlog toi be same as "the other" where filters as well as dropped support of "old" syntax.
  • Property mode set to 100644
File size: 711 bytes
Line 
1cmake_minimum_required(VERSION 2.6)
2
3SET(TARGET CheckTaskSched2)
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
30INCLUDE_DIRECTORIES(${PSDK_61_INCLUDE_DIRS})
31LINK_DIRECTORIES(${PSDK_61_LIBRARY_DIRS})
32
33add_library(${TARGET} MODULE ${SRCS})
34
35target_link_libraries(${TARGET}
36        ${Boost_FILESYSTEM_LIBRARY}
37        ${NSCP_DEF_PLUGIN_LIB}
38        ${NSCP_FILTER_LIB}
39        Mstask.lib
40)
41
42INCLUDE(${BUILD_CMAKE_FOLDER}/module.cmake)
43#LINK_DIRECTORIES("${NSCP_LINK_DIRECTORIES}")
Note: See TracBrowser for help on using the repository browser.