forked from boostorg/mp11
Change 'populating' messages and normalize names; use shallow clone
This commit is contained in:
@@ -17,21 +17,21 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
|
||||
# requires CMake 3.11 so we just carry it around
|
||||
include(cmake/FetchContent.cmake)
|
||||
|
||||
message("-- Populating boost_assert")
|
||||
FetchContent_Populate(boost_assert QUIET GIT_REPOSITORY https://github.com/boostorg/assert GIT_TAG develop)
|
||||
add_subdirectory(${boost_assert_SOURCE_DIR} ${boost_assert_BINARY_DIR})
|
||||
message("-- Fetching pdimov/mincmake")
|
||||
FetchContent_Populate(pdimov_mincmake QUIET GIT_REPOSITORY https://github.com/pdimov/mincmake GIT_TAG master GIT_SHALLOW 1)
|
||||
include(${pdimov_mincmake_SOURCE_DIR}/cmake/boost_test.cmake)
|
||||
|
||||
message("-- Populating boost_config")
|
||||
FetchContent_Populate(boost_config QUIET GIT_REPOSITORY https://github.com/boostorg/config GIT_TAG develop)
|
||||
add_subdirectory(${boost_config_SOURCE_DIR} ${boost_config_BINARY_DIR})
|
||||
message("-- Fetching boostorg/assert")
|
||||
FetchContent_Populate(boostorg_assert QUIET GIT_REPOSITORY https://github.com/boostorg/assert GIT_TAG develop GIT_SHALLOW 1)
|
||||
add_subdirectory(${boostorg_assert_SOURCE_DIR} ${boostorg_assert_BINARY_DIR})
|
||||
|
||||
message("-- Populating boost_core")
|
||||
FetchContent_Populate(boost_core QUIET GIT_REPOSITORY https://github.com/boostorg/core GIT_TAG develop)
|
||||
add_subdirectory(${boost_core_SOURCE_DIR} ${boost_core_BINARY_DIR})
|
||||
message("-- Fetching boostorg/config")
|
||||
FetchContent_Populate(boostorg_config QUIET GIT_REPOSITORY https://github.com/boostorg/config GIT_TAG develop GIT_SHALLOW 1)
|
||||
add_subdirectory(${boostorg_config_SOURCE_DIR} ${boostorg_config_BINARY_DIR})
|
||||
|
||||
message("-- Populating mincmake")
|
||||
FetchContent_Populate(mincmake QUIET GIT_REPOSITORY https://github.com/pdimov/mincmake GIT_TAG master)
|
||||
include(${mincmake_SOURCE_DIR}/cmake/boost_test.cmake)
|
||||
message("-- Fetching boostorg/core")
|
||||
FetchContent_Populate(boostorg_core QUIET GIT_REPOSITORY https://github.com/boostorg/core GIT_TAG develop GIT_SHALLOW 1)
|
||||
add_subdirectory(${boostorg_core_SOURCE_DIR} ${boostorg_core_BINARY_DIR})
|
||||
|
||||
enable_testing()
|
||||
|
||||
|
Reference in New Issue
Block a user