-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathCMakeLists.txt
44 lines (36 loc) · 1.39 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
##############################################################################
# Graphite/// root CMakeList
##############################################################################
cmake_minimum_required(VERSION 3.5...3.30)
project(Graphite)
include(${CMAKE_SOURCE_DIR}/cmake/graphite.cmake)
##############################################################################
# If there is a bundled Geogram or Vorpaline distribution, compile it as well.
if(IS_DIRECTORY ${CMAKE_SOURCE_DIR}/geogram)
add_subdirectory(geogram)
endif()
add_subdirectory(src/lib/third_party)
add_subdirectory(src/lib/OGF/basic)
add_subdirectory(src/lib/OGF/renderer)
add_subdirectory(src/lib/OGF/gom)
add_subdirectory(src/lib/OGF/gom_gom)
add_subdirectory(src/lib/OGF/scene_graph)
add_subdirectory(src/lib/OGF/scene_graph_gfx)
add_subdirectory(src/lib/OGF/mesh)
add_subdirectory(src/lib/OGF/mesh_gfx)
add_subdirectory(src/lib/OGF/voxel)
add_subdirectory(src/lib/OGF/voxel_gfx)
add_subdirectory(src/lib/OGF/luagrob)
add_subdirectory(src/lib/OGF/devel)
add_subdirectory(src/lib/OGF/skin_imgui)
add_subdirectory(src/bin/graphite)
add_subdirectory(src/bin/gomgen)
add_subdirectory(doc)
add_subdirectory(plugins/OGF)
# Make Graphite the startup project in Visual C++
if(WIN32)
set_property(
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY
VS_STARTUP_PROJECT graphite
)
endif()