You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
588 B
24 lines
588 B
cmake_minimum_required(VERSION 3.25)
|
|
project(@projName@ LANGUAGES NONE)
|
|
|
|
@policyCommand@
|
|
|
|
include(ExternalProject)
|
|
ExternalProject_Add(ep-@depName@
|
|
GIT_REPOSITORY @epRelativeGitRepo@
|
|
GIT_TAG master
|
|
GIT_CONFIG init.defaultBranch=master
|
|
TEST_COMMAND ""
|
|
INSTALL_COMMAND "${CMAKE_COMMAND}" -E echo "ExternalProject for ep-@depName@"
|
|
)
|
|
|
|
include(FetchContent)
|
|
FetchContent_Declare(@depName@
|
|
GIT_REPOSITORY @fcRelativeGitRepo@
|
|
GIT_TAG master
|
|
GIT_CONFIG init.defaultBranch=master
|
|
)
|
|
FetchContent_MakeAvailable(@depName@)
|
|
|
|
message(STATUS "Completed configuring project @projName@")
|