2022-12-06 23:52:49 +05:00
|
|
|
|
2022-12-13 23:09:36 +05:00
|
|
|
# Modules
|
|
|
|
add_subdirectory(core)
|
|
|
|
add_subdirectory(containers)
|
|
|
|
add_subdirectory(math)
|
|
|
|
add_subdirectory(io)
|
|
|
|
add_subdirectory(mesh)
|
2023-01-11 14:46:49 +05:00
|
|
|
add_subdirectory(geometry)
|
|
|
|
|
2022-12-13 23:09:36 +05:00
|
|
|
if(WITH_CSG)
|
|
|
|
include(${CMAKE_SOURCE_DIR}/cmake/external/occt.cmake)
|
|
|
|
add_subdirectory(csg)
|
2022-12-06 23:52:49 +05:00
|
|
|
endif()
|
2022-12-13 23:09:36 +05:00
|
|
|
if(WITH_GPU)
|
|
|
|
include(${CMAKE_SOURCE_DIR}/cmake/external/glad.cmake)
|
|
|
|
include(${CMAKE_SOURCE_DIR}/cmake/external/stb.cmake)
|
|
|
|
add_subdirectory(gpu)
|
2022-12-06 23:52:49 +05:00
|
|
|
endif()
|
2022-12-13 23:09:36 +05:00
|
|
|
if(WITH_WINDOW_SYSTEM)
|
|
|
|
include(${CMAKE_SOURCE_DIR}/cmake/external/glfw.cmake)
|
|
|
|
add_subdirectory(window_system)
|
2022-12-06 23:52:49 +05:00
|
|
|
endif()
|