Skip to content

Commit

Permalink
[cmake] remove dead support and add missing print support
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoisCarouge committed Oct 27, 2023
1 parent e4d536c commit 5469800
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
2 changes: 2 additions & 0 deletions linalg/eigen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <https://unlicense.org> ]]

include(FetchContent)

FetchContent_Declare(
eigen
GIT_REPOSITORY "https://gitlab.com/libeigen/eigen"
Expand Down
2 changes: 0 additions & 2 deletions sample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <https://unlicense.org> ]]

include(FetchContent)

foreach(SAMPLE "kf_1x1x0_building_height.cpp" "kf_1x1x0_liquid_temperature.cpp"
"kf_1x1x1_dog_position.cpp")
get_filename_component(NAME ${SAMPLE} NAME_WE)
Expand Down
10 changes: 10 additions & 0 deletions support/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,16 @@ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
target_compile_options(kalman_options INTERFACE "/EHsc" "/W4")
endif()

add_library(kalman_print INTERFACE)
target_sources(kalman_print INTERFACE FILE_SET "kalman_print_headers" TYPE
"HEADERS" FILES "print")

install(
TARGETS kalman_print
EXPORT "kalman-target"
FILE_SET "kalman_print_headers"
DESTINATION "include/fcarouge")

include(CheckSourceCompiles)
include(FetchContent)

Expand Down
2 changes: 0 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <https://unlicense.org> ]]

include(FetchContent)

foreach(
TEST
"kalman_constructor_default_float_1x1x1.cpp"
Expand Down

0 comments on commit 5469800

Please sign in to comment.