mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 19:49:55 +00:00
21 lines
792 B
CMake
21 lines
792 B
CMake
FILE(GLOB SRC *.cpp ../../include/nel/cegui/*.h)
|
|
|
|
ADD_LIBRARY(nelceguirenderer SHARED ${SRC} nelceguirenderer.def)
|
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${FREETYPE_INC} ${CEGUI_INCLUDE_DIRS})
|
|
TARGET_LINK_LIBRARIES(nelceguirenderer nelmisc nel3d ${CEGUI_LIBRARY})
|
|
SET_TARGET_PROPERTIES(nelceguirenderer PROPERTIES
|
|
VERSION ${NL_VERSION}
|
|
PROJECT_LABEL "Library: NeL CEGUI Renderer")
|
|
|
|
IF(WIN32)
|
|
SET_TARGET_PROPERTIES(nelceguirenderer PROPERTIES
|
|
DEBUG_POSTFIX "_d"
|
|
RELEASE_POSTFIX "_r"
|
|
LINK_FLAGS "/NODEFAULTLIB:libcmt")
|
|
ADD_DEFINITIONS("/DNEL_CEGUIRENDERER_EXPORTS")
|
|
ENDIF(WIN32)
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
INSTALL(TARGETS nelceguirenderer RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)
|