From 10e8d60c8aa04ef34422ae05e6348ddcc3da6690 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 9 Jan 2011 15:51:12 +0100 Subject: [PATCH] Added: mp_generator and named_items_2_csv CMake projects --- code/ryzom/tools/leveldesign/CMakeLists.txt | 4 ++-- .../leveldesign/mp_generator/CMakeLists.txt | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 code/ryzom/tools/leveldesign/mp_generator/CMakeLists.txt diff --git a/code/ryzom/tools/leveldesign/CMakeLists.txt b/code/ryzom/tools/leveldesign/CMakeLists.txt index 37489d924..bcd1ed9a6 100644 --- a/code/ryzom/tools/leveldesign/CMakeLists.txt +++ b/code/ryzom/tools/leveldesign/CMakeLists.txt @@ -3,6 +3,8 @@ ADD_SUBDIRECTORY(prim_export) ADD_SUBDIRECTORY(uni_conv) ADD_SUBDIRECTORY(csv_transform) ADD_SUBDIRECTORY(icon_search) +ADD_SUBDIRECTORY(mp_generator) +ADD_SUBDIRECTORY(named_items_2_csv) IF(WIN32) ADD_SUBDIRECTORY(export) @@ -25,8 +27,6 @@ ENDIF(WITH_QT) #mission_compiler_fe #mission_compiler_lib #mission_simulator -#mp_generator -#named_items_2_csv # #primitive_id_assignator #test_root diff --git a/code/ryzom/tools/leveldesign/mp_generator/CMakeLists.txt b/code/ryzom/tools/leveldesign/mp_generator/CMakeLists.txt new file mode 100644 index 000000000..11b529b8d --- /dev/null +++ b/code/ryzom/tools/leveldesign/mp_generator/CMakeLists.txt @@ -0,0 +1,16 @@ +FILE(GLOB SRC *.cpp *.h) + +ADD_EXECUTABLE(mp_generator ${SRC}) + +INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR}) + +TARGET_LINK_LIBRARIES(mp_generator + ${LIBXML2_LIBRARIES} + nelmisc) + +NL_DEFAULT_PROPS(mp_generator "Ryzom, Tools: MP Generator") +NL_ADD_RUNTIME_FLAGS(mp_generator) + +ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) + +INSTALL(TARGETS mp_generator RUNTIME DESTINATION bin COMPONENT tools)