-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modernize CMake #99
Merged
Merged
Modernize CMake #99
Changes from 28 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
573b4c0
refactor(cmake): add `CPM.cmake`, restructure CMakeLists
Curve 028c686
refactor(cmake): update examples
Curve 54fbd01
refactor(cmake): update tests
Curve 257e641
fix: missing include
Curve bdd32ce
refactor(cmake): update python bindings
Curve 0d24ce7
feat: add sanitizer options
Curve b152b49
feat(cmake): add install target
Curve 1fddcee
refactor(cmake/python): use `CMAKE_LIBRARY_OUTPUT_DIRECTORY` when ava…
Curve 80d4611
feat(cmake): add sanitizer options for gcc
Curve fd458de
fix(cmake): static builds
Curve 1926d32
refactor(cmake): add messages
Curve 36fa52d
fix(format-project): shellcheck issues
Curve 396c57e
refactor(cmake/sanitizer): more explicit compiler id check
Curve 1b96dce
fix: update formatting
Curve 1032eb6
fix(workflows): build commands
Curve e972ef2
fix(workflows(windows): long paths
Curve 74df39c
fix(CMakeLists): disable VTK rendering group
Curve 9c40d8a
docs(readme): update build instructions
Curve 3ca2284
docs(readme): fix test command
Curve 7757f39
fix: ctest excludes
Curve 6b062d6
refactor: disable sanitizer for msvc and apple clang
Curve 94f3945
chore: apply cmake-format
Curve 08fc6fa
fix(cmake-format): define CPM functions
Curve 89e63fb
fix(vtk): disable libproj support
Curve 6315461
revert: formatting
Curve 1184801
fix(ci/windows): enable long paths
Curve d75cd9c
refactor(cmake): disable wrapping for vtk and disable libproj
Curve e6b56f7
refactor(cmake): disable sanitizer by default
Curve 8c894ba
fix(windows): only export symbols for viennals
Curve a3898eb
refactor(cmake): exclude dependencies from all target
Curve 6b5bef8
refactor(cmake): use get-cpm
Curve 6dbe999
refactor(cmake): lower required vtk version
Curve 5af2536
fix: formatting
Curve 5b3f309
fix: setup vtk env for targets
Curve 38771b5
fix: formatting
Curve 357a02c
fix: remove debug print
Curve 2aa3da1
fix(cmakelists): vtk dir on linux
Curve c95fd8d
fix: skip vtk environment on non windows platforms
Curve a8acd4c
fix: formatting
Curve 0a440c9
refactor: more logging, don't use early return in macro
Curve 05eb427
refactor: adjust target naming
Curve File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
include: ["cmake/.cpm-format"] | ||
format: | ||
line_width: 100 |
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/cpm-cmake/CPM.cmake?tab=readme-ov-file#cpm_source_cache
We should use the CPM_SOURCE_CACHE in the workflows to cache