khanat-opennel-code/code/ryzom/tools/occ2huff/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

16 lines
385 B
CMake

FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(occ2huff ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(occ2huff
${LIBXML2_LIBRARIES}
nelmisc)
NL_DEFAULT_PROPS(occ2huff "Ryzom, Tools: occ2huff")
NL_ADD_RUNTIME_FLAGS(occ2huff)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS occ2huff RUNTIME DESTINATION ${RYZOM_BIN_PREFIX} COMPONENT tools)