Fix game:addSpawnShapesByZone
[ryzomcore.git] / nel / tools / 3d / CMakeLists.txt
blob8bf56b6c819497261edad12a6b42267f28f3f1fa
2 IF(WITH_NEL_TOOLS)
3   IF(WITH_3D)
4     IF(WITH_ASSIMP)
5       SUBDIRS(
6         mesh_utils
7         mesh_export)
8     ENDIF()
9     IF(WITH_LIBGSF)
10       SUBDIRS(
11         pipeline_max
12         pipeline_max_dump
13         pipeline_max_rewrite_assets)
14     ENDIF()
15     SUBDIRS(
16       anim_builder
17       animation_set_builder
18       build_clod_bank
19       build_clodtex
20       build_coarse_mesh
21       build_far_bank
22       build_shadow_skin
23       build_smallbank
24       cluster_viewer
25       file_info
26       ig_add
27       ig_elevation
28       ig_info
29       ig_lighter
30       lightmap_optimizer
31       zone_dependencies
32       zone_ig_lighter
33       zone_lighter
34       zone_welder
35       unbuild_elevation
36       zone_elevation
37       shapes_exporter
38       shape2obj
39       zone_check_bind
40       zone_dump
41       zviewer)
42   ENDIF()
43   SUBDIRS(
44     build_interface
45     unbuild_interface
46     get_neighbors
47     textures_optimizer
48     textures_tool
49     tga_cut
50     tga_resize)
51 ENDIF()
53 # For tools selection of only max plugins
54 IF(WIN32 AND WITH_3D)
55   IF(MFC_FOUND)
56     ADD_SUBDIRECTORY(object_viewer)
57     IF(WITH_NEL_MAXPLUGIN)
58       IF(MAXSDK_FOUND)
59         ADD_SUBDIRECTORY(plugin_max)
60         ADD_SUBDIRECTORY(ligo)
61       ENDIF()
62     ENDIF()
63   ENDIF()
64 ENDIF()
66 IF(WITH_NEL_TOOLS AND WITH_3D)
67   IF(WIN32)
68 #    ADD_SUBDIRECTORY(lightmap_optimizer)
69     IF(MFC_FOUND)
70       ADD_SUBDIRECTORY(object_viewer_exe)
71       ADD_SUBDIRECTORY(tile_edit)
72     ENDIF()
73   ENDIF()
75   IF(WITH_QT OR WITH_QT5)
76     ADD_SUBDIRECTORY(tile_edit_qt)
77     ADD_SUBDIRECTORY(object_viewer_widget)
78   ENDIF()
80   IF(WITH_QT5)
81     ADD_SUBDIRECTORY(shared_widgets)
82     ADD_SUBDIRECTORY(panoply_preview)
83   ENDIF()
85   IF(WITH_NEL_TOOLS)
86     FIND_PACKAGE(Squish)
87   ENDIF()
89   IF(SQUISH_FOUND)
90     ADD_SUBDIRECTORY(s3tc_compressor_lib)
91     ADD_SUBDIRECTORY(panoply_maker)
92     ADD_SUBDIRECTORY(tga_2_dds)
93     ADD_SUBDIRECTORY(hls_bank_maker)
94   ENDIF()
96   #crash_log_analyser
97 ENDIF()