-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add cmake-format to pre-commit (#3497)
This PR adds gersemi to the pre-commit config and formats all CMake files. --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
- Loading branch information
1 parent
e6b73b5
commit a768373
Showing
119 changed files
with
3,518 additions
and
2,914 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,18 @@ | ||
add_library(ActsAlignment SHARED | ||
src/Kernel/detail/AlignmentEngine.cpp) | ||
add_library(ActsAlignment SHARED src/Kernel/detail/AlignmentEngine.cpp) | ||
|
||
target_include_directories( | ||
ActsAlignment | ||
PUBLIC | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> | ||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>) | ||
ActsAlignment | ||
PUBLIC | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> | ||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}> | ||
) | ||
|
||
target_link_libraries( | ||
ActsAlignment | ||
PUBLIC ActsCore) | ||
target_link_libraries(ActsAlignment PUBLIC ActsCore) | ||
|
||
install( | ||
TARGETS ActsAlignment | ||
EXPORT ActsAlignmentTargets | ||
TARGETS ActsAlignment | ||
EXPORT ActsAlignmentTargets | ||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) | ||
install( | ||
DIRECTORY include/ActsAlignment | ||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) | ||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} | ||
) | ||
install(DIRECTORY include/ActsAlignment DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) |
Oops, something went wrong.