mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-25 00:06:16 +00:00
15 lines
591 B
CMake
15 lines
591 B
CMake
FILE(GLOB SRC *.cpp)
|
|
|
|
ADD_EXECUTABLE(nl_sample_font WIN32 ${SRC})
|
|
|
|
ADD_DEFINITIONS(-DFONT_DIR="\\"${NL_SHARE_PREFIX}/nl_sample_font/\\"")
|
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|
TARGET_LINK_LIBRARIES(nl_sample_font ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc nel3d)
|
|
NL_DEFAULT_PROPS(nl_sample_font "NeL, Samples, 3D: Font")
|
|
NL_ADD_RUNTIME_FLAGS(nl_sample_font)
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
INSTALL(TARGETS nl_sample_font RUNTIME DESTINATION bin COMPONENT samples3d)
|
|
INSTALL(FILES beteckna.ttf DESTINATION share/nel/nl_sample_font COMPONENT samples3d)
|