2010-05-06 00:08:41 +00:00
|
|
|
FILE(GLOB SRC *.cpp *.h PIC/*.c PIC/*.h)
|
|
|
|
|
|
|
|
ENABLE_LANGUAGE(RC)
|
|
|
|
|
|
|
|
ADD_EXECUTABLE(tile_edit WIN32 ${SRC} tile_edit_exe.rc)
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|
|
|
TARGET_LINK_LIBRARIES( tile_edit
|
|
|
|
${LIBXML2_LIBRARIES}
|
|
|
|
${PLATFORM_LINKFLAGS}
|
|
|
|
nelmisc
|
|
|
|
nel3d)
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS} -D_AFXDLL)
|
|
|
|
|
|
|
|
IF(WIN32)
|
|
|
|
SET_TARGET_PROPERTIES(tile_edit PROPERTIES
|
2010-06-26 14:37:27 +00:00
|
|
|
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
|
|
|
|
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
|
2010-05-06 00:08:41 +00:00
|
|
|
EXCLUDE_FROM_DEFAULT_BUILD 1
|
2010-09-03 13:07:47 +00:00
|
|
|
PROJECT_LABEL "NeL, Tools, 3D: Tile Editor")
|
2010-05-06 00:08:41 +00:00
|
|
|
ENDIF(WIN32)
|
|
|
|
|
|
|
|
#INSTALL(TARGETS tile_edit RUNTIME DESTINATION bin COMPONENT tools3d)
|