2012-05-29 19:38:02 +00:00
|
|
|
FILE(GLOB SRC *.cpp)
|
|
|
|
|
|
|
|
ADD_EXECUTABLE(nl_sample_font WIN32 ${SRC})
|
|
|
|
|
2013-01-30 16:15:14 +00:00
|
|
|
ADD_DEFINITIONS(-DFONT_DIR="\\"${NL_SHARE_ABSOLUTE_PREFIX}/nl_sample_font/\\"")
|
2012-05-29 19:38:02 +00:00
|
|
|
|
|
|
|
TARGET_LINK_LIBRARIES(nl_sample_font nelmisc nel3d)
|
|
|
|
NL_DEFAULT_PROPS(nl_sample_font "NeL, Samples, 3D: Font")
|
|
|
|
NL_ADD_RUNTIME_FLAGS(nl_sample_font)
|
|
|
|
|
2013-01-30 16:15:14 +00:00
|
|
|
INSTALL(TARGETS nl_sample_font RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT samples3d)
|
|
|
|
INSTALL(FILES beteckna.ttf DESTINATION ${NL_SHARE_PREFIX}/nl_sample_font COMPONENT samples3d)
|