|
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 | |
|---|
| 1 | cmake_minimum_required(VERSION 2.6) |
|---|
| 2 | |
|---|
| 3 | SET(TARGET CheckDisk) |
|---|
| 4 | |
|---|
| 5 | PROJECT(${TARGET}) |
|---|
| 6 | |
|---|
| 7 | CREATE_MODULE(SRCS ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) |
|---|
| 8 | |
|---|
| 9 | SET(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 | |
|---|
| 19 | ADD_DEFINITIONS(${NSCP_GLOBAL_DEFINES}) |
|---|
| 20 | |
|---|
| 21 | IF(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 | ) |
|---|
| 31 | ENDIF(WIN32) |
|---|
| 32 | |
|---|
| 33 | add_library(${TARGET} MODULE ${SRCS}) |
|---|
| 34 | |
|---|
| 35 | target_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 | ) |
|---|
| 42 | INCLUDE(${BUILD_CMAKE_FOLDER}/module.cmake) |
|---|
Note: See
TracBrowser
for help on using the repository browser.