2010-05-12 18:21:55 +00:00
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
|
2010-09-15 08:19:55 +00:00
|
|
|
NL_TARGET_LIB(ryzom_adminmodules ${SRC})
|
2010-05-12 18:21:55 +00:00
|
|
|
|
2016-01-27 11:56:16 +00:00
|
|
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
|
2010-05-12 18:21:55 +00:00
|
|
|
|
2010-09-15 08:19:55 +00:00
|
|
|
TARGET_LINK_LIBRARIES(ryzom_adminmodules nelmisc nelnet)
|
|
|
|
NL_DEFAULT_PROPS(ryzom_adminmodules "Ryzom, Library: Service Admin Modules")
|
|
|
|
NL_ADD_RUNTIME_FLAGS(ryzom_adminmodules)
|
|
|
|
NL_ADD_LIB_SUFFIX(ryzom_adminmodules)
|
2010-05-12 18:21:55 +00:00
|
|
|
|
2015-02-14 11:48:29 +00:00
|
|
|
IF(WITH_PCH)
|
|
|
|
ADD_NATIVE_PRECOMPILED_HEADER(ryzom_adminmodules ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
|
|
|
|
ENDIF(WITH_PCH)
|
|
|
|
|
2016-01-21 14:06:01 +00:00
|
|
|
IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
|
|
|
|
INSTALL(TARGETS ryzom_adminmodules LIBRARY DESTINATION ${RYZOM_LIB_PREFIX} ARCHIVE DESTINATION ${RYZOM_LIB_PREFIX} COMPONENT libraries)
|
|
|
|
ENDIF()
|
|
|
|
|