source: nscp/modules/CheckNSCP/CMakeLists.txt @ d66ccee

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

Tweaks to make building faster

  • Property mode set to 100644
File size: 422 bytes
Line 
1cmake_minimum_required(VERSION 2.6)
2
3SET(TARGET CheckNSCP)
4
5PROJECT(${TARGET})
6
7SET(SRCS
8        "${TARGET}.cpp"
9        ${NSCP_DEF_PLUGIN_CPP}
10)
11
12ADD_DEFINITIONS(${NSCP_GLOBAL_DEFINES})
13
14IF(WIN32)
15        SET(SRCS ${SRCS}
16                "${TARGET}.h"
17                "${TARGET}.def"
18
19                ${NSCP_DEF_PLUGIN_HPP}
20        )
21ENDIF(WIN32)
22
23
24ADD_LIBRARY(${TARGET} MODULE ${SRCS})
25
26
27target_link_libraries(${TARGET}
28        ${NSCP_DEF_PLUGIN_LIB}
29)
30INCLUDE(${BUILD_CMAKE_FOLDER}/module.cmake)
Note: See TracBrowser for help on using the repository browser.