1 FILE(GLOB SRC *.cpp *.h *.rc *.rc2)
3 SOURCE_GROUP("" FILES ${SRC})
5 FILE(GLOB SRC2 cpu.cpp DllEntry.cpp Popup.* thread_win32.* TileCtrl.* TileList.* TileView.*)
6 LIST(REMOVE_ITEM SRC ${SRC2})
10 ADD_EXECUTABLE(tile_edit WIN32 ${SRC} tile_edit_exe.rc)
12 TARGET_LINK_LIBRARIES(tile_edit nelmisc nel3d)
13 NL_DEFAULT_PROPS(tile_edit "NeL, Tools, 3D: Tile Editor")
14 NL_ADD_RUNTIME_FLAGS(tile_edit)
16 ADD_DEFINITIONS(${MFC_DEFINITIONS})
19 ADD_NATIVE_PRECOMPILED_HEADER(tile_edit ${CMAKE_CURRENT_SOURCE_DIR}/stdafx.h ${CMAKE_CURRENT_SOURCE_DIR}/stdafx.cpp)
22 INSTALL(TARGETS tile_edit RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT tools3d)