mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 23:56:15 +00:00
22 lines
610 B
CMake
22 lines
610 B
CMake
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
|
|
LINK_FLAGS "/NODEFAULTLIB:libcmt"
|
|
EXCLUDE_FROM_DEFAULT_BUILD 1
|
|
PROJECT_LABEL "Tools, 3D: Tile Editor")
|
|
ENDIF(WIN32)
|
|
|
|
#INSTALL(TARGETS tile_edit RUNTIME DESTINATION bin COMPONENT tools3d)
|