khanat-opennel-code/code/ryzom/client/src/client_sheets/CMakeLists.txt
2012-09-22 22:57:38 +02:00

18 lines
745 B
CMake

FILE(GLOB SRC *.cpp)
FILE(GLOB PRIV_H *.h)
SOURCE_GROUP(headers FILES ${PRIV_H} ${PUB_H})
NL_TARGET_LIB(ryzom_clientsheets ${SRC} ${PRIV_H})
TARGET_LINK_LIBRARIES(ryzom_clientsheets ryzom_gameshare nelmisc)
NL_DEFAULT_PROPS(ryzom_clientsheets "Ryzom, Library: Client Sheets")
NL_ADD_LIB_SUFFIX(ryzom_clientsheets)
IF(WITH_PCH)
ADD_NATIVE_PRECOMPILED_HEADER(ryzom_clientsheets ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
ENDIF(WITH_PCH)
IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
INSTALL(TARGETS ryzom_clientsheets LIBRARY DESTINATION ${RYZOM_LIB_PREFIX} ARCHIVE DESTINATION ${RYZOM_LIB_PREFIX} COMPONENT libraries)
ENDIF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)