khanat-opennel-code/code/ryzom/client/src/client_sheets/CMakeLists.txt

18 lines
713 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 lib ARCHIVE DESTINATION lib COMPONENT libraries)
ENDIF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)