2023-12-31 14:25:18 +01:00
|
|
|
cmake_minimum_required(VERSION 3.10)
|
|
|
|
|
|
|
|
project(Geometry)
|
|
|
|
|
2023-12-31 14:48:12 +01:00
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
|
2023-12-31 14:30:21 +01:00
|
|
|
include_directories(${PROJECT_SOURCE_DIR}/include)
|
|
|
|
|
2023-12-31 14:48:12 +01:00
|
|
|
add_subdirectory(lib/eigen)
|
|
|
|
|
2023-12-31 14:25:18 +01:00
|
|
|
add_executable(Geometry main.cpp)
|
2023-12-31 14:48:12 +01:00
|
|
|
|
|
|
|
target_link_libraries(Geometry PUBLIC Eigen3::Eigen)
|
|
|
|
|
|
|
|
target_include_directories(Geometry PUBLIC "${PROJECT_BINARY_DIR}" "${PROJECT_SOURCE_DIR}/lib/eigen/Eigen")
|