khanat-code-old/code/nel/tools/misc/branch_patcher/CMakeLists.txt
StudioEtrange 9bc219ee14 CMAKE TARGET : SHARED and MODULE
About Shared Library (shared) and Module Library (module) type of cmake target
INSTALL command has different behaviour for ARCHIVE LIBRARY RUNTIME depending on the platform
2014-02-16 19:43:44 +01:00

11 lines
382 B
CMake

FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(branch_patcher WIN32 ${SRC} branch_patcher.rc)
#TARGET_LINK_LIBRARIES(branch_patcher ${PLATFORM_LINKFLAGS})
NL_DEFAULT_PROPS(branch_patcher "NeL, Tools, Misc: branch_patcher")
NL_ADD_RUNTIME_FLAGS(branch_patcher)
ADD_DEFINITIONS(${MFC_DEFINITIONS})
INSTALL(TARGETS branch_patcher RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT toolsmisc)