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