This commit is contained in:
2026-01-20 17:30:34 +01:00
commit 650e5cc6b8
14 changed files with 968 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
cmake_minimum_required(VERSION 4.0)
project(autoopt)
set(CMAKE_CXX_STANDARD 23)
add_compile_options(-Wall -Werror -Wpedantic)
add_library(autoopt INTERFACE)
target_include_directories(autoopt INTERFACE include)
install(DIRECTORY include/autoopt DESTINATION include)
# add tests if gtest is found
find_library(GTestPackage gtest QUIET)
if(GTestPackage)
enable_testing()
add_subdirectory(tests)
endif()