mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
16 lines
344 B
CMake
16 lines
344 B
CMake
cmake_minimum_required(VERSION 3.26)
|
|
project(uml)
|
|
|
|
set(CMAKE_CXX_STANDARD 26)
|
|
option(BUILD_TESTS "Build test programs" ON)
|
|
add_library(uml STATIC source/Vector3.cpp)
|
|
|
|
add_subdirectory(source)
|
|
add_subdirectory(extlibs)
|
|
add_subdirectory(tests)
|
|
|
|
target_include_directories(uml PUBLIC include)
|
|
|
|
if (BUILD_TESTS)
|
|
add_subdirectory(tests)
|
|
endif () |