Skip to content

Commit

Permalink
Merge pull request #300 from allisonvacanti/tp_cmake_options
Browse files Browse the repository at this point in the history
Hide third party cmake options in our cmake developer builds.
  • Loading branch information
alliepiper authored Sep 2, 2023
2 parents c17cac0 + 58385c4 commit c091d56
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,6 @@ endif()
if (CCCL_ENABLE_EXAMPLES)
add_subdirectory(examples)
endif()

# Must stay at the end of this file.
include(cmake/CCCLHideThirdPartyOptions.cmake)
44 changes: 44 additions & 0 deletions cmake/CCCLHideThirdPartyOptions.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
mark_as_advanced(
BUILD_TESTING
CATCH_BUILD_EXAMPLES
CATCH_BUILD_EXTRA_TESTS
CATCH_BUILD_STATIC_LIBRARY
CATCH_BUILD_TESTING
CATCH_ENABLE_COVERAGE
CATCH_ENABLE_WERROR
CATCH_INSTALL_DOCS
CATCH_INSTALL_HELPERS
CATCH_USE_VALGRIND
CLANG_FORMAT
CLANG_TIDY
CPM_DONT_CREATE_PACKAGE_LOCK
CPM_DONT_UPDATE_MODULE_PATH
CPM_DOWNLOAD_ALL
CPM_INCLUDE_ALL_IN_PACKAGE_LOCK
CPM_LOCAL_PACKAGES_ONLY
CPM_SOURCE_CACHE
CPM_USE_LOCAL_PACKAGES
CPM_USE_NAMED_CACHE_DIRECTORIES
CPPCHECK
CUB_DIR
FETCHCONTENT_BASE_DIR
FETCHCONTENT_FULLY_DISCONNECTED
FETCHCONTENT_QUIET
FETCHCONTENT_SOURCE_DIR_CATCH2
FETCHCONTENT_SOURCE_DIR_METAL
FETCHCONTENT_UPDATES_DISCONNECTED
FETCHCONTENT_UPDATES_DISCONNECTED_CATCH2
FETCHCONTENT_UPDATES_DISCONNECTED_METAL
LIBCXX_CXX_ABI
LIT_EXTRA_ARGS
LLVM_DEFAULT_EXTERNAL_LIT
LLVM_DEFAULT_TARGET_TRIPLE
LLVM_EXTERNAL_LIT
LLVM_HOST_TRIPLE
LLVM_PATH
METAL_BUILD_DOC
METAL_BUILD_EXAMPLES
METAL_BUILD_TESTS
Thrust_DIR
libcudacxx_DIR
)

0 comments on commit c091d56

Please sign in to comment.