Volumes/CMakeLists.txt

35 lines
832 B
CMake
Raw Permalink Normal View History

2024-07-07 17:32:34 +02:00
cmake_minimum_required(VERSION 3.15..3.30)
2024-07-07 20:54:14 +02:00
project(VolsVecs
2024-07-07 17:32:34 +02:00
VERSION 0.1
LANGUAGES CXX)
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
set_property(GLOBAL PROPERTY USE_FOLDERDS ON)
find_package(Doxygen)
if(Doxygen_FOUND)
#add_subdirectory(docs)
else()
message(STATUS "Doxygen not found, not building docs")
endif()
add_subdirectory(apps/)
endif()
include(FetchContent)
# Formatting library, adds fmt::fmt Always use the full git hash, not the tag,
# safer and faster to recompile
2024-07-07 20:42:39 +02:00
#FetchContent_Declare(
# vector
# GIT_REPOSITORY https://concreteserver.ddns.net/gitea/CarboHydra/Vector.git
# GIT_TAG main)
#FetchContent_MakeAvailable(vector)
2024-07-07 17:32:34 +02:00
add_subdirectory(${PROJECT_SOURCE_DIR}/src)
#add_executable(vector main.cpp)
#install(TARGETS vector RUNTIME DESTINATION bin)