Update lua versions
[ryzomcore.git] / nel / samples / 3d / cegui / CMakeLists.txt
blob3a8650a19cfa71dfc3b8936a06d99362ba7c029b
1 FILE(GLOB SRC *.cpp *.h)
3 ADD_EXECUTABLE(nl_sample_cegui WIN32 ${SRC})
5 ADD_DEFINITIONS(-DCEGUI_DATA_DIR="\\"${NL_SHARE_ABSOLUTE_PREFIX}/nl_sample_cegui/datafiles/\\"")
7 INCLUDE_DIRECTORIES(${CEGUI_INCLUDE_DIRS})
9 TARGET_LINK_LIBRARIES(nl_sample_cegui ${CEGUI_LIBRARY} nelmisc nel3d)
10 NL_DEFAULT_PROPS(nl_sample_cegui "NeL, Samples, 3D: NeL CEGUI Demo")
11 NL_ADD_RUNTIME_FLAGS(nl_sample_cegui)
13 INSTALL(TARGETS nl_sample_cegui RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT samples3d)
14 INSTALL(DIRECTORY datafiles/ 
15         DESTINATION ${NL_SHARE_PREFIX}/nl_sample_cegui/datafiles
16         COMPONENT samples3d
17         PATTERN "CVS" EXCLUDE
18         PATTERN ".svn" EXCLUDE
19         PATTERN "Makefile*" EXCLUDE)