Added: mp_generator and named_items_2_csv CMake projects

This commit is contained in:
kervala 2011-01-09 15:51:12 +01:00
parent f96cf1c9d0
commit fb5afad481
2 changed files with 18 additions and 2 deletions

View file

@ -3,6 +3,8 @@ 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(mp_generator)
ADD_SUBDIRECTORY(named_items_2_csv)
IF(WIN32) IF(WIN32)
ADD_SUBDIRECTORY(export) ADD_SUBDIRECTORY(export)
@ -25,8 +27,6 @@ ENDIF(WITH_QT)
#mission_compiler_fe #mission_compiler_fe
#mission_compiler_lib #mission_compiler_lib
#mission_simulator #mission_simulator
#mp_generator
#named_items_2_csv
# #
#primitive_id_assignator #primitive_id_assignator
#test_root #test_root

View file

@ -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)