Added: CMake project for mission_compiler_fe

This commit is contained in:
kervala 2011-05-26 18:21:06 +02:00
parent 09f1eba8dc
commit 697f8760b2
2 changed files with 20 additions and 1 deletions

View file

@ -3,7 +3,6 @@ ADD_SUBDIRECTORY(prim_export)
ADD_SUBDIRECTORY(uni_conv) ADD_SUBDIRECTORY(uni_conv)
ADD_SUBDIRECTORY(csv_transform) ADD_SUBDIRECTORY(csv_transform)
ADD_SUBDIRECTORY(icon_search) ADD_SUBDIRECTORY(icon_search)
#ADD_SUBDIRECTORY(mission_compiler_fe)
ADD_SUBDIRECTORY(mission_compiler_lib) ADD_SUBDIRECTORY(mission_compiler_lib)
ADD_SUBDIRECTORY(mp_generator) ADD_SUBDIRECTORY(mp_generator)
ADD_SUBDIRECTORY(named_items_2_csv) ADD_SUBDIRECTORY(named_items_2_csv)
@ -13,6 +12,10 @@ IF(WIN32)
ADD_SUBDIRECTORY(world_editor) ADD_SUBDIRECTORY(world_editor)
ENDIF(WIN32) ENDIF(WIN32)
IF(WITH_MFC)
ADD_SUBDIRECTORY(mission_compiler_fe)
ENDIF(WITH_MFC)
IF(WITH_QT) IF(WITH_QT)
ADD_SUBDIRECTORY(georges_editor_qt) ADD_SUBDIRECTORY(georges_editor_qt)
ENDIF(WITH_QT) ENDIF(WITH_QT)

View file

@ -0,0 +1,16 @@
FILE(GLOB SRC *.cpp *.h)
ADD_DEFINITIONS(${MFC_DEFINITIONS})
SET(CMAKE_MFC_FLAG 2)
ADD_EXECUTABLE(ryzom_mission_compiler_fe WIN32 ${SRC} mission_compiler_fe.rc)
TARGET_LINK_LIBRARIES(ryzom_mission_compiler_fe nelmisc nelligo ryzom_mission_compiler_lib)
NL_DEFAULT_PROPS(ryzom_mission_compiler_fe "Ryzom, Tools, Misc: Mission Compiler Frontend")
NL_ADD_RUNTIME_FLAGS(ryzom_mission_compiler_fe)
IF(WITH_PCH)
ADD_NATIVE_PRECOMPILED_HEADER(ryzom_mission_compiler_fe ${CMAKE_CURRENT_SOURCE_DIR}/StdAfx.h ${CMAKE_CURRENT_SOURCE_DIR}/StdAfx.cpp)
ENDIF(WITH_PCH)
INSTALL(TARGETS ryzom_mission_compiler_fe RUNTIME DESTINATION bin COMPONENT tools)