Skip to content

Commit

Permalink
[rerun] Add rerun SDK dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Mar 22, 2024
1 parent 7e58561 commit 6468d7f
Show file tree
Hide file tree
Showing 4 changed files with 5,576 additions and 1,717 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ endif()

option(DART_BUILD_WHEELS "Indicate building dartpy for wheels" OFF)

option(DART_BUILD_RERUN "Build with Rerun SDK" OFF)

#===============================================================================
# Find dependencies
#===============================================================================
Expand Down
9 changes: 8 additions & 1 deletion cmake/DARTFindDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,18 @@ option(DART_SKIP_spdlog "If ON, do not use spdlog even if it is found." OFF)
mark_as_advanced(DART_SKIP_spdlog)
dart_find_package(spdlog)

if(DART_BUILD_RERUN)
include(FetchContent)
FetchContent_Declare(rerun_sdk
URL https://github.com/rerun-io/rerun/releases/download/0.14.1/rerun_cpp_sdk.zip
)
FetchContent_MakeAvailable(rerun_sdk)
endif()

#--------------------
# Misc. dependencies
#--------------------

# Doxygen
find_package(Doxygen QUIET)
dart_check_optional_package(DOXYGEN "generating API documentation" "doxygen")

Loading

0 comments on commit 6468d7f

Please sign in to comment.