source: nscp/modules/CheckDisk/CMakeLists.txt

Last change on this file was c77838e, checked in by Michael Medin <michael@…>, 4 months ago

Massive refactoring effort.
All(most) commands now support help for interactive help as well as built-in documentation for all(most) commands and configuration.

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