khanat-code-old/code/nel/tools/3d/lightmap_optimizer/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
332 B
CMake

FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(lightmap_optimizer ${SRC})
TARGET_LINK_LIBRARIES(lightmap_optimizer nel3d nelmisc)
NL_DEFAULT_PROPS(lightmap_optimizer "NeL, Tools, 3D: lightmap_optimizer")
NL_ADD_RUNTIME_FLAGS(lightmap_optimizer)
INSTALL(TARGETS lightmap_optimizer RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT tools3d)