source: nscp/modules/CheckDisk/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: 609 bytes
Line 
1cmake_minimum_required(VERSION 2.6)
2
3SET(TARGET CheckDisk)
4       
5PROJECT(${TARGET})
6
7SET(SRCS
8        stdafx.cpp
9        "${TARGET}.cpp"
10        file_finder.cpp
11        filter.cpp
12        ${NSCP_DEF_PLUGIN_CPP}
13        ${NSCP_FILTER_CPP}
14)
15
16
17ADD_DEFINITIONS(${NSCP_GLOBAL_DEFINES})
18
19IF(WIN32)
20        SET(SRCS ${SRCS}
21                stdafx.h
22                "${TARGET}.h"
23                "${TARGET}.def"
24                file_finder.hpp
25                filter.hpp     
26
27                ${NSCP_DEF_PLUGIN_HPP}
28                ${NSCP_FILTER_HPP}
29        )
30ENDIF(WIN32)
31
32add_library(${TARGET} MODULE ${SRCS})
33
34target_link_libraries(${TARGET}
35        ${Boost_FILESYSTEM_LIBRARY}
36        ${NSCP_DEF_PLUGIN_LIB}
37        ${NSCP_FILTER_LIB}
38        version.lib
39)
40INCLUDE(${BUILD_CMAKE_FOLDER}/module.cmake)
Note: See TracBrowser for help on using the repository browser.