Changed: Added 'export' and 'prim_export' to CMake build for build_gamedata pipeline.
This commit is contained in:
parent
a735e9dcde
commit
f17a640c33
6 changed files with 52 additions and 11 deletions
|
@ -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(export)
|
||||||
|
ADD_SUBDIRECTORY(world_editor)
|
||||||
|
|
||||||
# Legacy folders, do not build
|
# Legacy folders, do not build
|
||||||
#ADD_SUBDIRECTORY(export)
|
#ADD_SUBDIRECTORY(export)
|
||||||
|
@ -26,4 +28,4 @@ ADD_SUBDIRECTORY(icon_search)
|
||||||
#test_root
|
#test_root
|
||||||
#
|
#
|
||||||
#variable_parser
|
#variable_parser
|
||||||
#world_editor
|
#
|
||||||
|
|
|
@ -1,16 +1,20 @@
|
||||||
FILE(GLOB SRC *.cpp *.h)
|
FILE(GLOB SRC *.cpp )
|
||||||
|
FILE(GLOB PRIV_H *.h)
|
||||||
|
|
||||||
ADD_EXECUTABLE(export ${SRC})
|
NL_TARGET_LIB(ryzom_export ${PRIV_H} ${SRC})
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
||||||
|
|
||||||
TARGET_LINK_LIBRARIES(export
|
IF(WITH_STLPORT)
|
||||||
${LIBXML2_LIBRARIES}
|
TARGET_LINK_LIBRARIES(ryzom_export ${CMAKE_THREAD_LIBS_INIT})
|
||||||
nelmisc)
|
ENDIF(WITH_STLPORT)
|
||||||
|
|
||||||
NL_DEFAULT_PROPS(export "Ryzom, Tools: Export")
|
TARGET_LINK_LIBRARIES(ryzom_export nelmisc nelligo nelgeorges nel3d nelpacs ${LIBXML2_LIBRARIES} ${ZLIB_LIBRARIES})
|
||||||
NL_ADD_RUNTIME_FLAGS(export)
|
NL_DEFAULT_PROPS(ryzom_export "Ryzom, Library, World: Export Tools")
|
||||||
|
NL_ADD_RUNTIME_FLAGS(ryzom_export)
|
||||||
|
NL_ADD_LIB_SUFFIX(ryzom_export)
|
||||||
|
|
||||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||||
|
|
||||||
INSTALL(TARGETS export RUNTIME DESTINATION bin COMPONENT tools)
|
INSTALL(TARGETS ryzom_export LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)
|
||||||
|
|
||||||
|
|
3
code/ryzom/tools/leveldesign/world_editor/CMakeLists.txt
Normal file
3
code/ryzom/tools/leveldesign/world_editor/CMakeLists.txt
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
ADD_SUBDIRECTORY(land_export)
|
||||||
|
ADD_SUBDIRECTORY(land_export_lib)
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
|
ADD_EXECUTABLE(land_export ${SRC})
|
||||||
|
|
||||||
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
||||||
|
TARGET_LINK_LIBRARIES(land_export ${LIBXML2_LIBRARIES} nelmisc nelligo ryzom_landexport)
|
||||||
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||||
|
|
||||||
|
NL_DEFAULT_PROPS(land_export "Ryzom, Tools, World: Land Export")
|
||||||
|
NL_ADD_RUNTIME_FLAGS(land_export)
|
||||||
|
|
||||||
|
INSTALL(TARGETS land_export RUNTIME DESTINATION bin COMPONENT tools)
|
|
@ -0,0 +1,20 @@
|
||||||
|
FILE(GLOB SRC *.cpp )
|
||||||
|
FILE(GLOB PRIV_H *.h)
|
||||||
|
|
||||||
|
NL_TARGET_LIB(ryzom_landexport ${PRIV_H} ${SRC})
|
||||||
|
|
||||||
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
||||||
|
|
||||||
|
IF(WITH_STLPORT)
|
||||||
|
TARGET_LINK_LIBRARIES(ryzom_landexport ${CMAKE_THREAD_LIBS_INIT})
|
||||||
|
ENDIF(WITH_STLPORT)
|
||||||
|
|
||||||
|
TARGET_LINK_LIBRARIES(ryzom_landexport ryzom_export nelmisc nelligo nelgeorges nel3d nelpacs ${LIBXML2_LIBRARIES} ${ZLIB_LIBRARIES})
|
||||||
|
NL_DEFAULT_PROPS(ryzom_landexport "Ryzom, Library, World: Land Export")
|
||||||
|
NL_ADD_RUNTIME_FLAGS(ryzom_landexport)
|
||||||
|
NL_ADD_LIB_SUFFIX(ryzom_landexport)
|
||||||
|
|
||||||
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||||
|
|
||||||
|
INSTALL(TARGETS ryzom_landexport LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)
|
||||||
|
|
|
@ -31,8 +31,8 @@
|
||||||
#include "nel/3d/landscape.h"
|
#include "nel/3d/landscape.h"
|
||||||
#include "nel/3d/scene_group.h"
|
#include "nel/3d/scene_group.h"
|
||||||
|
|
||||||
#include "nel/../../src/ligo/zone_region.h"
|
#include "nel/ligo/zone_region.h"
|
||||||
#include "nel/../../src/ligo/zone_bank.h"
|
#include "nel/ligo/zone_bank.h"
|
||||||
|
|
||||||
|
|
||||||
#include "nel/../../src/pacs/collision_mesh_build.h"
|
#include "nel/../../src/pacs/collision_mesh_build.h"
|
||||||
|
|
Loading…
Reference in a new issue