Add EXCLUDE_FROM_ALL
This commit is contained in:
1
3rdParty/assimp/CMakeLists.txt
vendored
1
3rdParty/assimp/CMakeLists.txt
vendored
@@ -2,6 +2,7 @@ include(FetchContent)
|
|||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
assimp
|
assimp
|
||||||
|
EXCLUDE_FROM_ALL
|
||||||
GIT_REPOSITORY https://github.com/assimp/assimp.git
|
GIT_REPOSITORY https://github.com/assimp/assimp.git
|
||||||
GIT_TAG v5.0.1
|
GIT_TAG v5.0.1
|
||||||
GIT_SHALLOW TRUE
|
GIT_SHALLOW TRUE
|
||||||
|
|||||||
9
3rdParty/eigen/CMakeLists.txt
vendored
9
3rdParty/eigen/CMakeLists.txt
vendored
@@ -1,10 +1,11 @@
|
|||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
eigen
|
eigen
|
||||||
GIT_REPOSITORY https://gitlab.com/libeigen/eigen.git
|
EXCLUDE_FROM_ALL
|
||||||
GIT_TAG master
|
GIT_REPOSITORY https://gitlab.com/libeigen/eigen.git
|
||||||
GIT_SHALLOW TRUE
|
GIT_TAG master
|
||||||
|
GIT_SHALLOW TRUE
|
||||||
)
|
)
|
||||||
set(EIGEN_BUILD_DOC OFF)
|
set(EIGEN_BUILD_DOC OFF)
|
||||||
set(BUILD_TESTING OFF)
|
set(BUILD_TESTING OFF)
|
||||||
|
|||||||
9
3rdParty/glfw/CMakeLists.txt
vendored
9
3rdParty/glfw/CMakeLists.txt
vendored
@@ -1,10 +1,11 @@
|
|||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
glfw
|
glfw
|
||||||
GIT_REPOSITORY https://github.com/glfw/glfw.git
|
EXCLUDE_FROM_ALL
|
||||||
GIT_TAG 3.3.2
|
GIT_REPOSITORY https://github.com/glfw/glfw.git
|
||||||
GIT_SHALLOW TRUE
|
GIT_TAG 3.3.2
|
||||||
|
GIT_SHALLOW TRUE
|
||||||
)
|
)
|
||||||
set(GLFW_BUILD_EXAMPLES OFF)
|
set(GLFW_BUILD_EXAMPLES OFF)
|
||||||
set(GLFW_BUILD_TESTS OFF)
|
set(GLFW_BUILD_TESTS OFF)
|
||||||
|
|||||||
9
3rdParty/glm/CMakeLists.txt
vendored
9
3rdParty/glm/CMakeLists.txt
vendored
@@ -1,10 +1,11 @@
|
|||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
glm
|
glm
|
||||||
GIT_REPOSITORY https://github.com/g-truc/glm.git
|
EXCLUDE_FROM_ALL
|
||||||
GIT_TAG 0.9.9.8
|
GIT_REPOSITORY https://github.com/g-truc/glm.git
|
||||||
GIT_SHALLOW TRUE
|
GIT_TAG 0.9.9.8
|
||||||
|
GIT_SHALLOW TRUE
|
||||||
)
|
)
|
||||||
set(GLM_TEST_ENABLE OFF)
|
set(GLM_TEST_ENABLE OFF)
|
||||||
FetchContent_MakeAvailable(glm)
|
FetchContent_MakeAvailable(glm)
|
||||||
|
|||||||
1
3rdParty/magic-enum/CMakeLists.txt
vendored
1
3rdParty/magic-enum/CMakeLists.txt
vendored
@@ -2,6 +2,7 @@ include(FetchContent)
|
|||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
magic_enum
|
magic_enum
|
||||||
|
EXCLUDE_FROM_ALL
|
||||||
GIT_REPOSITORY https://github.com/Neargye/magic_enum.git
|
GIT_REPOSITORY https://github.com/Neargye/magic_enum.git
|
||||||
GIT_TAG v0.7.0
|
GIT_TAG v0.7.0
|
||||||
GIT_SHALLOW TRUE
|
GIT_SHALLOW TRUE
|
||||||
|
|||||||
1
3rdParty/opencv/CMakeLists.txt
vendored
1
3rdParty/opencv/CMakeLists.txt
vendored
@@ -2,6 +2,7 @@ Find_Package(OpenCV)
|
|||||||
if (NOT OpenCV_FOUND)
|
if (NOT OpenCV_FOUND)
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
opencv
|
opencv
|
||||||
|
EXCLUDE_FROM_ALL
|
||||||
GIT_REPOSITORY https://github.com/opencv/opencv.git
|
GIT_REPOSITORY https://github.com/opencv/opencv.git
|
||||||
GIT_TAG v4.5.0
|
GIT_TAG v4.5.0
|
||||||
GIT_SHALLOW TRUE
|
GIT_SHALLOW TRUE
|
||||||
|
|||||||
1
3rdParty/pugixml/CMakeLists.txt
vendored
1
3rdParty/pugixml/CMakeLists.txt
vendored
@@ -2,6 +2,7 @@ include(FetchContent)
|
|||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
pugixml
|
pugixml
|
||||||
|
EXCLUDE_FROM_ALL
|
||||||
GIT_REPOSITORY https://github.com/zeux/pugixml.git
|
GIT_REPOSITORY https://github.com/zeux/pugixml.git
|
||||||
GIT_TAG v1.11.4
|
GIT_TAG v1.11.4
|
||||||
GIT_SHALLOW TRUE
|
GIT_SHALLOW TRUE
|
||||||
|
|||||||
1
3rdParty/spdlog/CMakeLists.txt
vendored
1
3rdParty/spdlog/CMakeLists.txt
vendored
@@ -2,6 +2,7 @@ include(FetchContent)
|
|||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
spdlog
|
spdlog
|
||||||
|
EXCLUDE_FROM_ALL
|
||||||
GIT_REPOSITORY https://github.com/gabime/spdlog.git
|
GIT_REPOSITORY https://github.com/gabime/spdlog.git
|
||||||
GIT_TAG v1.8.1
|
GIT_TAG v1.8.1
|
||||||
GIT_SHALLOW TRUE
|
GIT_SHALLOW TRUE
|
||||||
|
|||||||
7
3rdParty/stb/CMakeLists.txt
vendored
7
3rdParty/stb/CMakeLists.txt
vendored
@@ -1,9 +1,10 @@
|
|||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
stb
|
stb
|
||||||
GIT_REPOSITORY https://github.com/nothings/stb.git
|
EXCLUDE_FROM_ALL
|
||||||
GIT_SHALLOW TRUE
|
GIT_REPOSITORY https://github.com/nothings/stb.git
|
||||||
|
GIT_SHALLOW TRUE
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(stb)
|
FetchContent_MakeAvailable(stb)
|
||||||
|
|
||||||
|
|||||||
9
3rdParty/utfcpp/CMakeLists.txt
vendored
9
3rdParty/utfcpp/CMakeLists.txt
vendored
@@ -1,10 +1,11 @@
|
|||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
utfcpp
|
utfcpp
|
||||||
GIT_REPOSITORY https://github.com/nemtrif/utfcpp.git
|
EXCLUDE_FROM_ALL
|
||||||
GIT_TAG v3.1.2
|
GIT_REPOSITORY https://github.com/nemtrif/utfcpp.git
|
||||||
GIT_SHALLOW TRUE
|
GIT_TAG v3.1.2
|
||||||
|
GIT_SHALLOW TRUE
|
||||||
)
|
)
|
||||||
set(UTF8_TESTS OFF)
|
set(UTF8_TESTS OFF)
|
||||||
set(UTF8_INSTALL OFF)
|
set(UTF8_INSTALL OFF)
|
||||||
|
|||||||
9
3rdParty/yaml-cpp/CMakeLists.txt
vendored
9
3rdParty/yaml-cpp/CMakeLists.txt
vendored
@@ -1,10 +1,11 @@
|
|||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
yaml-cpp
|
yaml-cpp
|
||||||
GIT_REPOSITORY https://github.com/jbeder/yaml-cpp.git
|
EXCLUDE_FROM_ALL
|
||||||
GIT_TAG yaml-cpp-0.6.3
|
GIT_REPOSITORY https://github.com/jbeder/yaml-cpp.git
|
||||||
GIT_SHALLOW TRUE
|
GIT_TAG yaml-cpp-0.6.3
|
||||||
|
GIT_SHALLOW TRUE
|
||||||
)
|
)
|
||||||
set(YAML_CPP_BUILD_TOOLS OFF)
|
set(YAML_CPP_BUILD_TOOLS OFF)
|
||||||
set(YAML_CPP_BUILD_TESTS OFF)
|
set(YAML_CPP_BUILD_TESTS OFF)
|
||||||
|
|||||||
Reference in New Issue
Block a user