2023-07-02 22:21:26 +02:00
|
|
|
cmake_minimum_required(VERSION 3.25)
|
|
|
|
|
project(SpoonMapTools)
|
|
|
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
|
|
|
|
|
|
find_package(Boost REQUIRED COMPONENTS filesystem iostreams)
|
|
|
|
|
|
|
|
|
|
find_package(GLEW REQUIRED)
|
|
|
|
|
|
|
|
|
|
find_package(yaml-cpp REQUIRED)
|
|
|
|
|
|
2024-03-18 19:26:47 +01:00
|
|
|
find_package(glm REQUIRED)
|
|
|
|
|
|
2023-07-19 14:50:43 +02:00
|
|
|
add_library(SpoonMapTools STATIC src/Map.cpp include/Map.h include/LevelObject.h include/Transform.h "include/Vector3.h" src/Vectior3.cpp src/Transform.cpp src/LevelObject.cpp include/Link.h src/Link.cpp include/Rail.h src/Rail.cpp include/RailPoint.h src/RailPoint.cpp include/SpecialObjectParams.h src/SpecialObjectParams.cpp include/SpecialObjectParamVersions/All.h include/SpecialObjectParamVersions/Default.h include/Element.h src/Element.cpp)
|
2023-07-02 22:21:26 +02:00
|
|
|
|
|
|
|
|
target_include_directories(SpoonMapTools PUBLIC include)
|
|
|
|
|
|
2024-03-18 19:26:47 +01:00
|
|
|
target_link_libraries(SpoonMapTools PUBLIC Boost::filesystem Boost::iostreams GLEW::GLEW yaml-cpp glm::glm)
|
2023-07-02 22:21:26 +02:00
|
|
|
|