source: nscp/modules/CheckDisk/CMakeLists.txt @ 4c18192

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

Syncronized streams so all new 0.3.9 features are now in 0.4.x as well

  • Property mode set to 100644
File size: 620 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        file_info.cpp
12        filter.cpp
13        ${NSCP_DEF_PLUGIN_CPP}
14        ${NSCP_FILTER_CPP}
15)
16
17
18ADD_DEFINITIONS(${NSCP_GLOBAL_DEFINES})
19
20IF(WIN32)
21        SET(SRCS ${SRCS}
22                stdafx.h
23                "${TARGET}.h"
24                "${TARGET}.def"
25                file_finder.hpp
26                file_info.hpp
27                filter.hpp     
28
29                ${NSCP_DEF_PLUGIN_HPP}
30                ${NSCP_FILTER_HPP}
31        )
32ENDIF(WIN32)
33
34add_library(${TARGET} MODULE ${SRCS})
35
36target_link_libraries(${TARGET}
37        ${Boost_FILESYSTEM_LIBRARY}
38        ${NSCP_DEF_PLUGIN_LIB}
39        version.lib
40)
41INCLUDE(${BUILD_CMAKE_FOLDER}/module.cmake)
Note: See TracBrowser for help on using the repository browser.