|
|
@ -1,19 +1,13 @@
|
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
|
|
|
|
|
|
|
|
ADD_EXECUTABLE(nl_sample_cegui ${SRC})
|
|
|
|
ADD_EXECUTABLE(nl_sample_cegui WIN32 ${SRC})
|
|
|
|
|
|
|
|
|
|
|
|
ADD_DEFINITIONS(-DCEGUI_DATA_DIR="\\"${NL_SHARE_PREFIX}/nl_sample_cegui/datafiles/\\"")
|
|
|
|
ADD_DEFINITIONS(-DCEGUI_DATA_DIR="\\"${NL_SHARE_PREFIX}/nl_sample_cegui/datafiles/\\"")
|
|
|
|
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${CEGUI_INCLUDE_DIRS})
|
|
|
|
INCLUDE_DIRECTORIES(${CEGUI_INCLUDE_DIRS})
|
|
|
|
TARGET_LINK_LIBRARIES(nl_sample_cegui ${LIBXML2_LIBRARIES} ${CEGUI_LIBRARY} ${PLATFORM_LINKFLAGS} nelmisc nel3d)
|
|
|
|
TARGET_LINK_LIBRARIES(nl_sample_cegui ${CEGUI_LIBRARY} ${PLATFORM_LINKFLAGS} nelmisc nel3d)
|
|
|
|
IF(WIN32)
|
|
|
|
NL_DEFAULT_PROPS(nl_sample_cegui "Samples, 3D: NeL CEGUI Demo")
|
|
|
|
SET_TARGET_PROPERTIES(nl_sample_cegui PROPERTIES
|
|
|
|
NL_ADD_RUNTIME_FLAGS(nl_sample_cegui)
|
|
|
|
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
|
|
|
|
|
|
|
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
|
|
|
|
|
|
|
LINK_FLAGS "/SUBSYSTEM:WINDOWS"
|
|
|
|
|
|
|
|
PROJECT_LABEL "Samples, 3D: NeL CEGUI Demo")
|
|
|
|
|
|
|
|
ENDIF(WIN32)
|
|
|
|
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INSTALL(TARGETS nl_sample_cegui RUNTIME DESTINATION bin COMPONENT samples3d)
|
|
|
|
INSTALL(TARGETS nl_sample_cegui RUNTIME DESTINATION bin COMPONENT samples3d)
|
|
|
|
INSTALL(DIRECTORY datafiles/
|
|
|
|
INSTALL(DIRECTORY datafiles/
|
|
|
|