khanat-opennel-code/code/nel/tools/3d/tile_edit/CMakeLists.txt

17 lines
494 B
CMake

FILE(GLOB SRC *.cpp *.h PIC/*.c PIC/*.h)
ENABLE_LANGUAGE(RC)
ADD_EXECUTABLE(tile_edit WIN32 ${SRC} tile_edit_exe.rc)
TARGET_LINK_LIBRARIES(tile_edit ${PLATFORM_LINKFLAGS} nelmisc nel3d)
NL_DEFAULT_PROPS(tile_edit "NeL, Tools, 3D: Tile Editor")
NL_ADD_RUNTIME_FLAGS(tile_edit)
ADD_DEFINITIONS(-D_AFXDLL)
IF(WIN32)
SET_TARGET_PROPERTIES(tile_edit PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 1)
ENDIF(WIN32)
#INSTALL(TARGETS tile_edit RUNTIME DESTINATION bin COMPONENT tools3d)