diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-22 16:12:31 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-22 16:12:31 +0100 |
commit | 7e12ebdf945d40d6f11872cf5852c9bb54d1864f (patch) | |
tree | d81f4661e2fd47f487cf0c9627baa1e21dc45b37 /lib/segvcatch | |
parent | 61148c757a1f742ff09e40e5347e74e638c7371c (diff) |
big WIP
Diffstat (limited to 'lib/segvcatch')
-rw-r--r-- | lib/segvcatch/CMakeLists.txt | 35 | ||||
m--------- | lib/segvcatch/lib | 0 |
2 files changed, 35 insertions, 0 deletions
diff --git a/lib/segvcatch/CMakeLists.txt b/lib/segvcatch/CMakeLists.txt new file mode 100644 index 0000000..4449e77 --- /dev/null +++ b/lib/segvcatch/CMakeLists.txt @@ -0,0 +1,35 @@ +cmake_minimum_required(VERSION 3.28) +set(CMAKE_CXX_STANDARD 20) +project(segvcatch CXX) + +include(CMakePackageConfigHelpers) + +add_library(segvcatch SHARED lib/lib/segvcatch.cpp) + +install( + TARGETS segvcatch + EXPORT segvcatchTargets + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib + RUNTIME DESTINATION lib + INCLUDES DESTINATION include +) +install( + FILES lib/lib/segvcatch.h + DESTINATION include +) +write_basic_package_version_file( + "${CMAKE_CURRENT_BINARY_DIR}/segvcatch-config-version.cmake" + VERSION 0.0.0 + COMPATIBILITY AnyNewerVersion +) +install( + FILES + "${CMAKE_CURRENT_BINARY_DIR}/segvcatch-config-version.cmake" + DESTINATION lib/cmake/segvcatch +) +install( + EXPORT segvcatchTargets + FILE segvcatch-config.cmake + DESTINATION lib/cmake/segvcatch +) diff --git a/lib/segvcatch/lib b/lib/segvcatch/lib new file mode 160000 +Subproject afe79c49f7d996e2b3143199e6cef69f406247b |