source: nscp/modules/CheckTaskSched/CMakeLists.txt @ 4632ff7

0.4.00.4.10.4.2
Last change on this file since 4632ff7 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: 575 bytes
RevLine 
[d66ccee]1cmake_minimum_required(VERSION 2.6)
[1ecd26f]2
3SET(TARGET CheckTaskSched)
4       
5PROJECT(${TARGET})
6
7SET(SRCS
8        stdafx.cpp
9        "${TARGET}.cpp"
10        TaskSched.cpp
[1f24a1c]11        filter.cpp
[1ecd26f]12
13        ${NSCP_DEF_PLUGIN_CPP}
[1f24a1c]14        ${NSCP_FILTER_CPP}
[1ecd26f]15)
16
17ADD_DEFINITIONS(${NSCP_GLOBAL_DEFINES})
18
19SET(SRCS ${SRCS}
20        stdafx.h
21        "${TARGET}.h"
22        "${TARGET}.def"
23        TaskSched.h
[1f24a1c]24        filter.hpp     
[1ecd26f]25
26        ${NSCP_DEF_PLUGIN_HPP}
[1f24a1c]27        ${NSCP_FILTER_HPP}
[1ecd26f]28)
29
30add_library(${TARGET} MODULE ${SRCS})
31
32target_link_libraries(${TARGET}
33        ${Boost_FILESYSTEM_LIBRARY}
34        ${NSCP_DEF_PLUGIN_LIB}
[e11d494]35        ${NSCP_FILTER_LIB}
[1ecd26f]36        Mstask.lib
37)
38
39INCLUDE(${BUILD_CMAKE_FOLDER}/module.cmake)
Note: See TracBrowser for help on using the repository browser.