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 | |
|---|
| 1 | cmake_minimum_required(VERSION 2.6) |
|---|
| 2 | |
|---|
| 3 | SET(TARGET CheckDisk) |
|---|
| 4 | |
|---|
| 5 | PROJECT(${TARGET}) |
|---|
| 6 | |
|---|
| 7 | SET(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 | |
|---|
| 17 | ADD_DEFINITIONS(${NSCP_GLOBAL_DEFINES}) |
|---|
| 18 | |
|---|
| 19 | IF(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 | ) |
|---|
| 30 | ENDIF(WIN32) |
|---|
| 31 | |
|---|
| 32 | add_library(${TARGET} MODULE ${SRCS}) |
|---|
| 33 | |
|---|
| 34 | target_link_libraries(${TARGET} |
|---|
| 35 | ${Boost_FILESYSTEM_LIBRARY} |
|---|
| 36 | ${NSCP_DEF_PLUGIN_LIB} |
|---|
| 37 | ${NSCP_FILTER_LIB} |
|---|
| 38 | version.lib |
|---|
| 39 | ) |
|---|
| 40 | INCLUDE(${BUILD_CMAKE_FOLDER}/module.cmake) |
|---|
Note: See
TracBrowser
for help on using the repository browser.