Changed: Removed uneeded dependency to libxml and using new macros

This commit is contained in:
kervala 2010-08-17 16:31:50 +02:00
parent 2848016447
commit 47b362816e
30 changed files with 90 additions and 253 deletions

View file

@ -2,9 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(anim_builder ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(anim_builder ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc nel3d)
SET_TARGET_PROPERTIES(anim_builder PROPERTIES PROJECT_LABEL "Tools, 3D: anim_builder")
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(anim_builder ${PLATFORM_LINKFLAGS} nelmisc nel3d)
NL_DEFAULT_PROPS(anim_builder "Tools, 3D: anim_builder")
NL_ADD_RUNTIME_FLAGS(anim_builder)
INSTALL(TARGETS anim_builder RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,9 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(animation_set_builder ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(animation_set_builder ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
SET_TARGET_PROPERTIES(animation_set_builder PROPERTIES PROJECT_LABEL "Tools, 3D: anim_set_builder")
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(animation_set_builder ${PLATFORM_LINKFLAGS} nel3d nelmisc)
NL_DEFAULT_PROPS(animation_set_builder "Tools, 3D: anim_set_builder")
NL_ADD_RUNTIME_FLAGS(animation_set_builder)
INSTALL(TARGETS animation_set_builder RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(build_clod_bank ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(build_clod_bank ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
IF(WIN32)
SET_TARGET_PROPERTIES(build_clod_bank PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, 3D: build_clod_bank")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(build_clod_bank ${PLATFORM_LINKFLAGS} nel3d nelmisc)
NL_DEFAULT_PROPS(build_clod_bank "Tools, 3D: build_clod_bank")
NL_ADD_RUNTIME_FLAGS(build_clod_bank)
INSTALL(TARGETS build_clod_bank RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,15 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(build_clodtex ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(build_clodtex ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
IF(WIN32)
SET_TARGET_PROPERTIES(build_clodtex PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, 3D: build_clodtex")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(build_clodtex ${PLATFORM_LINKFLAGS} nel3d nelmisc)
NL_DEFAULT_PROPS(build_clodtex "Tools, 3D: build_clodtex")
NL_ADD_RUNTIME_FLAGS(build_clodtex)
INSTALL(TARGETS build_clodtex RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp)
ADD_EXECUTABLE(build_coarse_mesh ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(build_coarse_mesh ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
IF(WIN32)
SET_TARGET_PROPERTIES(build_coarse_mesh PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, 3D: build_coarse_mesh")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(build_coarse_mesh ${PLATFORM_LINKFLAGS} nel3d nelmisc)
NL_DEFAULT_PROPS(build_coarse_mesh "Tools, 3D: build_coarse_mesh")
NL_ADD_RUNTIME_FLAGS(build_coarse_mesh)
INSTALL(TARGETS build_coarse_mesh RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp)
ADD_EXECUTABLE(build_far_bank ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(build_far_bank ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
IF(WIN32)
SET_TARGET_PROPERTIES(build_far_bank PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, 3D: build_far_bank")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(build_far_bank ${PLATFORM_LINKFLAGS} nel3d nelmisc)
NL_DEFAULT_PROPS(build_far_bank "Tools, 3D: build_far_bank")
NL_ADD_RUNTIME_FLAGS(build_far_bank)
INSTALL(TARGETS build_far_bank RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(build_interface ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(build_interface ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
IF(WIN32)
SET_TARGET_PROPERTIES(build_interface PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, 3D: build_interface")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(build_interface ${PLATFORM_LINKFLAGS} nelmisc)
NL_DEFAULT_PROPS(build_interface "Tools, 3D: build_interface")
NL_ADD_RUNTIME_FLAGS(build_interface)
INSTALL(TARGETS build_interface RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(build_shadow_skin ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(build_shadow_skin ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
IF(WIN32)
SET_TARGET_PROPERTIES(build_shadow_skin PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, 3D: build_shadow_skin")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(build_shadow_skin ${PLATFORM_LINKFLAGS} nel3d)
NL_DEFAULT_PROPS(build_shadow_skin "Tools, 3D: build_shadow_skin")
NL_ADD_RUNTIME_FLAGS(build_shadow_skin)
INSTALL(TARGETS build_shadow_skin RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp)
ADD_EXECUTABLE(build_smallbank ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(build_smallbank ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
IF(WIN32)
SET_TARGET_PROPERTIES(build_smallbank PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, 3D: build_smallbank")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(build_smallbank ${PLATFORM_LINKFLAGS} nel3d nelmisc)
NL_DEFAULT_PROPS(build_smallbank "Tools, 3D: build_smallbank")
NL_ADD_RUNTIME_FLAGS(build_smallbank)
INSTALL(TARGETS build_smallbank RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -1,16 +1,9 @@
FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(cluster_viewer ${SRC})
ADD_EXECUTABLE(cluster_viewer WIN32 ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(cluster_viewer ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
IF(WIN32)
SET_TARGET_PROPERTIES(cluster_viewer PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
LINK_FLAGS "/SUBSYSTEM:WINDOWS"
PROJECT_LABEL "Tools, 3D: Cluster Viewer")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(cluster_viewer ${PLATFORM_LINKFLAGS} nel3d nelmisc)
NL_DEFAULT_PROPS(cluster_viewer "Tools, 3D: Cluster Viewer")
NL_ADD_RUNTIME_FLAGS(cluster_viewer)
INSTALL(TARGETS cluster_viewer RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(file_info ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(file_info ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
IF(WIN32)
SET_TARGET_PROPERTIES(file_info PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, 3D: file_info")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(file_info ${PLATFORM_LINKFLAGS} nel3d nelmisc)
NL_DEFAULT_PROPS(file_info "Tools, 3D: file_info")
NL_ADD_RUNTIME_FLAGS(file_info)
INSTALL(TARGETS file_info RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,7 +2,7 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(get_neighbors ${SRC})
TARGET_LINK_LIBRARIES(get_neighbors ${PLATFORM_LINKFLAGS})
TARGET_LINK_LIBRARIES(get_neighbors ${PLATFORM_LINKFLAGS} nelmisc)
NL_DEFAULT_PROPS(get_neighbors "Tools, 3D: get_neighbors")
NL_ADD_RUNTIME_FLAGS(get_neighbors)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(ig_add ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(ig_add ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
IF(WIN32)
SET_TARGET_PROPERTIES(ig_add PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, 3D: ig_add")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(ig_add ${PLATFORM_LINKFLAGS} nel3d)
NL_DEFAULT_PROPS(ig_add "Tools, 3D: ig_add")
NL_ADD_RUNTIME_FLAGS(ig_add)
INSTALL(TARGETS ig_add RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(ig_info ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(ig_info ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
IF(WIN32)
SET_TARGET_PROPERTIES(ig_info PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, 3D: ig_info")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(ig_info ${PLATFORM_LINKFLAGS} nel3d nelmisc)
NL_DEFAULT_PROPS(ig_info "Tools, 3D: ig_info")
NL_ADD_RUNTIME_FLAGS(ig_info)
INSTALL(TARGETS ig_info RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp *.h ../ig_lighter_lib/*.cpp ../ig_lighter_lib/*.h)
ADD_EXECUTABLE(ig_lighter ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(ig_lighter ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d nelpacs)
IF(WIN32)
SET_TARGET_PROPERTIES(ig_lighter PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, 3D: ig_lighter")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(ig_lighter ${PLATFORM_LINKFLAGS} nel3d nelpacs)
NL_DEFAULT_PROPS(ig_lighter "Tools, 3D: ig_lighter")
NL_ADD_RUNTIME_FLAGS(ig_lighter)
INSTALL(TARGETS ig_lighter RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(tga_cut ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(tga_cut ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
IF(WIN32)
SET_TARGET_PROPERTIES(tga_cut PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, 3D: tga_cut")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(tga_cut ${PLATFORM_LINKFLAGS} nelmisc)
NL_DEFAULT_PROPS(tga_cut "Tools, 3D: tga_cut")
NL_ADD_RUNTIME_FLAGS(tga_cut)
INSTALL(TARGETS tga_cut RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(tga_resize ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(tga_resize ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
IF(WIN32)
SET_TARGET_PROPERTIES(tga_resize PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, 3D: tga_resize")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(tga_resize ${PLATFORM_LINKFLAGS} nelmisc)
NL_DEFAULT_PROPS(tga_resize "Tools, 3D: tga_resize")
NL_ADD_RUNTIME_FLAGS(tga_resize)
INSTALL(TARGETS tga_resize RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(zone_check_bind ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(zone_check_bind ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
IF(WIN32)
SET_TARGET_PROPERTIES(zone_check_bind PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, 3D: zone_check_bind")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(zone_check_bind ${PLATFORM_LINKFLAGS} nel3d nelmisc)
NL_DEFAULT_PROPS(zone_check_bind "Tools, 3D: zone_check_bind")
NL_ADD_RUNTIME_FLAGS(zone_check_bind)
INSTALL(TARGETS zone_check_bind RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp *.h ../zone_lib/*.cpp ../zone_lib/*.h)
ADD_EXECUTABLE(zone_dependencies ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(zone_dependencies ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d nelgeorges)
IF(WIN32)
SET_TARGET_PROPERTIES(zone_dependencies PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, 3D: zone_dependencies")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(zone_dependencies ${PLATFORM_LINKFLAGS} nel3d nelgeorges nelmisc)
NL_DEFAULT_PROPS(zone_dependencies "Tools, 3D: zone_dependencies")
NL_ADD_RUNTIME_FLAGS(zone_dependencies)
INSTALL(TARGETS zone_dependencies RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp *.h ../zone_lib/*.cpp ../zone_lib/*.h)
ADD_EXECUTABLE(zone_dump ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(zone_dump ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
IF(WIN32)
SET_TARGET_PROPERTIES(zone_dump PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, 3D: zone_dump")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(zone_dump ${PLATFORM_LINKFLAGS} nel3d nelmisc)
NL_DEFAULT_PROPS(zone_dump "Tools, 3D: zone_dump")
NL_ADD_RUNTIME_FLAGS(zone_dump)
INSTALL(TARGETS zone_dump RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp *.h ../zone_lib/*.cpp ../zone_lib/*.h)
ADD_EXECUTABLE(zone_lighter ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(zone_lighter ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d nelgeorges)
IF(WIN32)
SET_TARGET_PROPERTIES(zone_lighter PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, 3D: zone_lighter")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(zone_lighter ${PLATFORM_LINKFLAGS} nel3d nelgeorges nelmisc)
NL_DEFAULT_PROPS(zone_lighter "Tools, 3D: zone_lighter")
NL_ADD_RUNTIME_FLAGS(zone_lighter)
INSTALL(TARGETS zone_lighter RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp *.h ../zone_lib/*.cpp ../zone_lib/*.h)
ADD_EXECUTABLE(zone_welder ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(zone_welder ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nel3d)
IF(WIN32)
SET_TARGET_PROPERTIES(zone_welder PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, 3D: zone_welder")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(zone_welder ${PLATFORM_LINKFLAGS} nel3d nelmisc)
NL_DEFAULT_PROPS(zone_welder "Tools, 3D: zone_welder")
NL_ADD_RUNTIME_FLAGS(zone_welder)
INSTALL(TARGETS zone_welder RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -3,13 +3,8 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(georges2csv ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(georges2csv ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc nelgeorges)
IF(WIN32)
SET_TARGET_PROPERTIES(georges2csv PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, Georges: georges2csv")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(georges2csv ${PLATFORM_LINKFLAGS} nelmisc nelgeorges)
NL_DEFAULT_PROPS(georges2csv "Tools, Georges: georges2csv")
NL_ADD_RUNTIME_FLAGS(georges2csv)
INSTALL(TARGETS georges2csv RUNTIME DESTINATION bin COMPONENT toolsgeorges)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(bnp_make ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(bnp_make ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
IF(WIN32)
SET_TARGET_PROPERTIES(bnp_make PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, Misc: bnp_make")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(bnp_make ${PLATFORM_LINKFLAGS} nelmisc)
NL_DEFAULT_PROPS(bnp_make "Tools, Misc: bnp_make")
NL_ADD_RUNTIME_FLAGS(bnp_make)
INSTALL(TARGETS bnp_make RUNTIME DESTINATION bin COMPONENT toolsmisc)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(disp_sheet_id ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(disp_sheet_id ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
IF(WIN32)
SET_TARGET_PROPERTIES(disp_sheet_id PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, Misc: disp_sheet_id")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(disp_sheet_id ${PLATFORM_LINKFLAGS} nelmisc)
NL_DEFAULT_PROPS(disp_sheet_id "Tools, Misc: disp_sheet_id")
NL_ADD_RUNTIME_FLAGS(disp_sheet_id)
INSTALL(TARGETS disp_sheet_id RUNTIME DESTINATION bin COMPONENT toolsmisc)

View file

@ -4,15 +4,9 @@ ADD_EXECUTABLE(make_sheet_id ${SRC})
ADD_DEFINITIONS(-DNL_MK_SH_ID_CFG="\\"${NL_ETC_PREFIX}/\\"")
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(make_sheet_id ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
IF(WIN32)
SET_TARGET_PROPERTIES(make_sheet_id PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, Misc: make_sheet_id")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(make_sheet_id ${PLATFORM_LINKFLAGS} nelmisc)
NL_DEFAULT_PROPS(make_sheet_id "Tools, Misc: make_sheet_id")
NL_ADD_RUNTIME_FLAGS(make_sheet_id)
INSTALL(TARGETS make_sheet_id RUNTIME DESTINATION bin COMPONENT toolsmisc)
INSTALL(FILES make_sheet_id.cfg DESTINATION etc/nel COMPONENT toolsmisc)

View file

@ -2,14 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(xml_packer ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(xml_packer ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc)
IF(WIN32)
SET_TARGET_PROPERTIES(xml_packer PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, Misc: xml_packer")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(xml_packer ${PLATFORM_LINKFLAGS} nelmisc)
NL_DEFAULT_PROPS(xml_packer "Tools, Misc: xml_packer")
NL_ADD_RUNTIME_FLAGS(xml_packer)
INSTALL(TARGETS xml_packer RUNTIME DESTINATION bin COMPONENT toolsmisc)

View file

@ -4,15 +4,9 @@ ADD_EXECUTABLE(build_ig_boxes ${SRC})
ADD_DEFINITIONS(-DNL_BIB_CFG="\\"${NL_ETC_PREFIX}/\\"")
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(build_ig_boxes ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelpacs nel3d)
IF(WIN32)
SET_TARGET_PROPERTIES(build_ig_boxes PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, PACS: build_ig_boxes")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(build_ig_boxes ${PLATFORM_LINKFLAGS} nelpacs nel3d)
NL_DEFAULT_PROPS(build_ig_boxes "Tools, PACS: build_ig_boxes")
NL_ADD_RUNTIME_FLAGS(build_ig_boxes)
INSTALL(TARGETS build_ig_boxes RUNTIME DESTINATION bin COMPONENT toolspacs)
INSTALL(FILES build_ig_boxes.cfg DESTINATION etc/nel COMPONENT toolspacs)

View file

@ -4,15 +4,9 @@ ADD_EXECUTABLE(build_indoor_rbank ${SRC})
ADD_DEFINITIONS(-DNL_BIRB_CFG="\\"${NL_ETC_PREFIX}/\\"")
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(build_indoor_rbank ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelpacs)
IF(WIN32)
SET_TARGET_PROPERTIES(build_indoor_rbank PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, PACS: build_indoor_rbank")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(build_indoor_rbank ${PLATFORM_LINKFLAGS} nelpacs)
NL_DEFAULT_PROPS(build_indoor_rbank "Tools, PACS: build_indoor_rbank")
NL_ADD_RUNTIME_FLAGS(build_indoor_rbank)
INSTALL(TARGETS build_indoor_rbank RUNTIME DESTINATION bin COMPONENT toolspacs)
INSTALL(FILES build_indoor_rbank.cfg DESTINATION etc/nel COMPONENT toolspacs)

View file

@ -5,14 +5,10 @@ ADD_EXECUTABLE(build_rbank ${SRC})
ADD_DEFINITIONS(-DNL_BRB_CFG="\\"${NL_ETC_PREFIX}/\\"")
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(build_rbank ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} nelpacs nel3d nelligo)
IF(WIN32)
SET_TARGET_PROPERTIES(build_rbank PROPERTIES
LINK_FLAGS_DEBUG "${CMAKE_LINK_FLAGS_DEBUG}"
LINK_FLAGS_RELEASE "${CMAKE_LINK_FLAGS_RELEASE}"
PROJECT_LABEL "Tools, PACS: build_rbank")
ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
TARGET_LINK_LIBRARIES(build_rbank ${PLATFORM_LINKFLAGS} nelpacs nel3d nelligo nelmisc)
NL_DEFAULT_PROPS(build_rbank "Tools, PACS: build_rbank")
NL_ADD_RUNTIME_FLAGS(build_rbank)
INSTALL(TARGETS build_rbank RUNTIME DESTINATION bin COMPONENT toolspacs)
INSTALL(FILES build_rbank.cfg DESTINATION etc/nel COMPONENT toolspacs)