mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-12 12:54:48 +00:00
27 lines
893 B
CMake
27 lines
893 B
CMake
FILE(GLOB SRC *.cpp)
|
|
FILE(GLOB PRIV_H *.h)
|
|
|
|
SOURCE_GROUP(headers FILES ${PRIV_H} ${PUB_H})
|
|
|
|
|
|
IF(NOT WIN32)
|
|
ADD_LIBRARY(ryzom_clientsheets SHARED ${SRC})
|
|
ELSE(NOT WIN32)
|
|
ADD_LIBRARY(ryzom_clientsheets STATIC ${SRC})
|
|
ENDIF(NOT WIN32)
|
|
|
|
INCLUDE_DIRECTORIES(${NEL_INCLUDE_DIR})
|
|
TARGET_LINK_LIBRARIES(ryzom_clientsheets ryzom_gameshare ${NELMISC_LIBRARY})
|
|
SET_TARGET_PROPERTIES(ryzom_clientsheets PROPERTIES VERSION ${NL_VERSION})
|
|
|
|
IF(WIN32)
|
|
SET_TARGET_PROPERTIES(ryzom_clientsheets PROPERTIES COMPILE_FLAGS "/Yustdpch.h")
|
|
SET_SOURCE_FILES_PROPERTIES(stdpch.cpp PROPERTIES COMPILE_FLAGS "/Ycstdpch.h")
|
|
SET_TARGET_PROPERTIES(ryzom_clientsheets
|
|
PROJECT_LABEL "Library: Client Sheets"
|
|
DEBUG_POSTFIX "_d"
|
|
RELEASE_POSTFIX "_r"
|
|
LINK_FLAGS_DEBUG "/NODEFAULTLIB:msvcrt")
|
|
ENDIF(WIN32)
|
|
|
|
INSTALL(TARGETS ryzom_clientsheets LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)
|