2010-08-20 11:27:17 +00:00
|
|
|
FILE(GLOB SRC *.cpp)
|
|
|
|
|
|
|
|
ADD_EXECUTABLE(nl_sample_font WIN32 ${SRC})
|
|
|
|
|
|
|
|
ADD_DEFINITIONS(-DFONT_DIR="\\"${NL_SHARE_PREFIX}/nl_sample_font/\\"")
|
|
|
|
|
2010-08-30 15:14:48 +00:00
|
|
|
TARGET_LINK_LIBRARIES(nl_sample_font ${PLATFORM_LINKFLAGS} nelmisc nel3d)
|
2010-08-20 11:27:17 +00:00
|
|
|
NL_DEFAULT_PROPS(nl_sample_font "Samples, 3D: Font")
|
|
|
|
NL_ADD_RUNTIME_FLAGS(nl_sample_font)
|
|
|
|
|
|
|
|
INSTALL(TARGETS nl_sample_font RUNTIME DESTINATION bin COMPONENT samples3d)
|
|
|
|
INSTALL(FILES beteckna.ttf DESTINATION share/nel/nl_sample_font COMPONENT samples3d)
|