-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into add-static-library-option
- Loading branch information
Showing
59 changed files
with
551 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,51 @@ | ||
cmake_minimum_required(VERSION 3.25.2 FATAL_ERROR) | ||
cmake_minimum_required(VERSION 3.15 FATAL_ERROR) | ||
|
||
# ---- Project ---- | ||
project(RAYX VERSION 0.21.2) | ||
set(CMAKE_CXX_STANDARD 23) | ||
project(RAYX VERSION 0.21.7) | ||
set(CMAKE_CXX_STANDARD 20) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
set(CMAKE_CUDA_STANDARD 20) | ||
set(CMAKE_CUDA_STANDARD_REQUIRED ON) | ||
|
||
# ------------------ | ||
|
||
# ---- Options ---- | ||
option(WERROR "add -Werror option" "NO") # inactive per default | ||
option(RAYX_ENABLE_CUDA "This option enables the search for CUDA. Project will be compiled without cuda if not found." ON) | ||
option(RAYX_REQUIRE_CUDA "If option 'RAYX_ENABLE_CUDA' is ON, this option will add the requirement that cuda must be found." OFF) | ||
option(RAYX_STATIC_LIB "Build static library" OFF) | ||
|
||
# ------------------ | ||
|
||
# ---- Subdirectories ---- | ||
add_subdirectory(Extern) | ||
add_subdirectory(Intern) | ||
|
||
# ---- Code Coverage ---- | ||
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/Extern/cmake) | ||
|
||
# ------------------ | ||
|
||
# ---- CPack ---- | ||
set(CPACK_PROJECT_NAME ${PROJECT_NAME}) | ||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) | ||
set(CPACK_PACKAGE_VENDOR "RAYX") | ||
set(CPACK_PACKAGE_CONTACT "Max Mustermann <" ${PROJECT_NAME} "@helmholtz-berlin.de>") | ||
include(CPack) | ||
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE") | ||
set(CPACK_PACKAGE_DESCRIPTION "${PROJECT_NAME} - For simulating and designing beamlines at synchrotron light sources") | ||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "${PROJECT_NAME} - For simulating and designing beamlines at synchrotron light sources") | ||
set(CPACK_PACKAGE_VENDOR "Helmhotz-Zentrum Berlin") | ||
set(CPACK_PACKAGE_CONTACT "jannis.maier@helmholtz-berlin.de") | ||
|
||
# Disable GoogleTest installation | ||
set(INSTALL_GTEST OFF CACHE BOOL "Disable installation of GoogleTest" FORCE) | ||
set(INSTALL_GMOCK OFF CACHE BOOL "Disable installation of GoogleMock" FORCE) | ||
|
||
# Install directories | ||
if(APPLE) | ||
set(INSTALL_DATA_DIR "Library/Application Support/${PROJECT_NAME}") | ||
set(INSTALL_FONTS_DIR "Library/Fonts/${PROJECT_NAME}") | ||
elseif(UNIX AND NOT APPLE) | ||
set(INSTALL_DATA_DIR "share/${PROJECT_NAME}") | ||
set(INSTALL_FONTS_DIR "share/fonts/${PROJECT_NAME}") | ||
elseif(WIN32) | ||
set(INSTALL_DATA_DIR ".") | ||
set(INSTALL_FONTS_DIR ".") | ||
endif() | ||
# ------------------ | ||
|
||
|
||
# ---- Subdirectories ---- | ||
add_subdirectory(Extern) | ||
add_subdirectory(Intern) | ||
# ------------------ |
Submodule CLI11
updated
12 files
+3 −3 | .pre-commit-config.yaml | |
+0 −6 | CHANGELOG.md | |
+1 −11 | README.md | |
+0 −5 | include/CLI/App.hpp | |
+5 −36 | include/CLI/impl/App_inl.hpp | |
+3 −3 | include/CLI/impl/Formatter_inl.hpp | |
+4 −5 | include/CLI/impl/Option_inl.hpp | |
+1 −13 | tests/AppTest.cpp | |
+0 −68 | tests/ConfigFileTest.cpp | |
+1 −1 | tests/FuzzFailTest.cpp | |
+0 −26 | tests/OptionGroupTest.cpp | |
+0 −1 | tests/fuzzFail/fuzz_app_file_fail40 |
Submodule HighFive
updated
38 files
Oops, something went wrong.