khanat-code-old/code/nel/tools/misc/exec_timeout/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

9 lines
294 B
CMake

FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(exec_timeout ${SRC})
TARGET_LINK_LIBRARIES(exec_timeout nelmisc)
NL_DEFAULT_PROPS(exec_timeout "NeL, Tools, Misc: exec_timeout")
NL_ADD_RUNTIME_FLAGS(exec_timeout)
INSTALL(TARGETS exec_timeout RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT toolsmisc)