2010-05-06 00:08:41 +00:00
|
|
|
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
|
2010-06-14 08:30:17 +00:00
|
|
|
VERSION ${NL_VERSION}
|
|
|
|
SOVERSION ${NL_VERSION_MAJOR}
|
2010-09-03 13:07:47 +00:00
|
|
|
PROJECT_LABEL "NeL, Library: CEGUI Renderer")
|
2010-05-06 00:08:41 +00:00
|
|
|
|
|
|
|
IF(WIN32)
|
|
|
|
SET_TARGET_PROPERTIES(nelceguirenderer PROPERTIES
|
|
|
|
DEBUG_POSTFIX "_d"
|
|
|
|
RELEASE_POSTFIX "_r"
|
2010-06-26 14:37:27 +00:00
|
|
|
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
|
|
|
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}")
|
2010-05-06 00:08:41 +00:00
|
|
|
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)
|