File tree 7 files changed +32
-13
lines changed
7 files changed +32
-13
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ message(STATUS "Pulling and configuring asmjit")
4
4
5
5
FetchContent_Declare(
6
6
asmjit
7
- GIT_REPOSITORY https://github.com/asmjit/asmjit.git
8
- GIT_TAG e8c8e2e48a1a38154c8e8864eb3bc61db80a1e31
7
+ GIT_REPOSITORY ${PLUGIFY_ASMJIT_REPO}
8
+ GIT_TAG ${PLUGIFY_ASMJIT_TAG}
9
9
)
10
10
11
11
set (ASMJIT_STATIC $<BOOL :${PLUGIFY_BUILD_SHARED_ASMJIT} > CACHE BOOL "Build static library" )
Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ message(STATUS "Pulling and configuring cpptrace")
4
4
5
5
FetchContent_Declare(
6
6
cpptrace
7
- GIT_REPOSITORY https://github.com/jeremy-rifkin/cpptrace.git
8
- GIT_TAG 7543677d6f39a38de9e9248e2331015d5235b175
7
+ GIT_REPOSITORY ${PLUGIFY_CPPTRACE_REPO}
8
+ GIT_TAG ${PLUGIFY_CPPTRACE_TAG}
9
+ GIT_SHALLOW TRUE
9
10
)
10
11
11
12
FetchContent_MakeAvailable(cpptrace)
Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ message(STATUS "Pulling and configuring curl")
4
4
5
5
FetchContent_Declare(
6
6
curl
7
- GIT_REPOSITORY https://github.com/curl/curl.git
8
- GIT_TAG curl-8_6_0
7
+ GIT_REPOSITORY ${PLUGIFY_CURL_REPO}
8
+ GIT_TAG ${PLUGIFY_CURL_TAG}
9
+ GIT_SHALLOW TRUE
9
10
)
10
11
11
12
set (BUILD_TESTING OFF CACHE BOOL "Turn off testing" FORCE)
Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ message(STATUS "Pulling and configuring fmt")
4
4
5
5
FetchContent_Declare(
6
6
fmt
7
- GIT_REPOSITORY https://github.com/fmtlib/fmt.git
8
- GIT_TAG 10.2.1
7
+ GIT_REPOSITORY ${PLUGIFY_FMT_REPO}
8
+ GIT_TAG ${PLUGIFY_FMT_TAG}
9
+ GIT_SHALLOW TRUE
9
10
)
10
11
11
12
set (FMT_DOC OFF CACHE INTERNAL "Generate the doc target." )
Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ message(STATUS "Pulling and configuring glaze")
4
4
5
5
FetchContent_Declare(
6
6
glaze
7
- GIT_REPOSITORY https://github.com/stephenberry/glaze.git
8
- GIT_TAG v2.9.5
7
+ GIT_REPOSITORY ${PLUGIFY_GLAZE_REPO}
8
+ GIT_TAG ${PLUGIFY_GLAZE_TAG}
9
+ GIT_SHALLOW TRUE
9
10
)
10
11
11
12
FetchContent_MakeAvailable(glaze)
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ message(STATUS "Pulling and configuring miniz")
4
4
5
5
FetchContent_Declare(
6
6
miniz
7
- GIT_REPOSITORY https://github.com/richgel999/miniz.git
8
- GIT_TAG 3.0.2
9
- PATCH_COMMAND git apply ${CMAKE_CURRENT_SOURCE_DIR} /cmake/patches/miniz.patch
7
+ GIT_REPOSITORY ${PLUGIFY_MINIZ_REPO}
8
+ GIT_TAG ${PLUGIFY_MINIZ_TAG}
9
+ PATCH_COMMAND git reset --hard && git clean -f -d && git apply ${CMAKE_CURRENT_SOURCE_DIR} /cmake/patches/miniz.patch
10
10
)
11
11
12
12
FetchContent_MakeAvailable(miniz)
Original file line number Diff line number Diff line change @@ -29,3 +29,18 @@ option(PLUGIFY_INTERFACE "Build as lightweight interface for language modules."
29
29
option (PLUGIFY_DOWNLOADER "Enable downloader for package manager." ON )
30
30
option (PLUGIFY_LOGGING "Enable logging system." ON )
31
31
option (PLUGIFY_DEBUG "Enable debuging mode (asserts)." ON )
32
+
33
+ # ------------------------------------------------------------------------------
34
+ # Dependencies
35
+ set (PLUGIFY_ASMJIT_REPO "https://github.com/asmjit/asmjit.git" CACHE STRING "" )
36
+ set (PLUGIFY_ASMJIT_TAG "e8c8e2e48a1a38154c8e8864eb3bc61db80a1e31" CACHE STRING "" )
37
+ set (PLUGIFY_CPPTRACE_REPO "https://github.com/jeremy-rifkin/cpptrace.git" CACHE STRING "" )
38
+ set (PLUGIFY_CPPTRACE_TAG "7543677d6f39a38de9e9248e2331015d5235b175" CACHE STRING "" )
39
+ set (PLUGIFY_CURL_REPO "https://github.com/curl/curl.git" CACHE STRING "" )
40
+ set (PLUGIFY_CURL_TAG "curl-8_6_0" CACHE STRING "" )
41
+ set (PLUGIFY_FMT_REPO "https://github.com/fmtlib/fmt.git" CACHE STRING "" )
42
+ set (PLUGIFY_FMT_TAG "10.2.1" CACHE STRING "" )
43
+ set (PLUGIFY_GLAZE_REPO "https://github.com/stephenberry/glaze.git" CACHE STRING "" )
44
+ set (PLUGIFY_GLAZE_TAG "v2.9.5" CACHE STRING "" )
45
+ set (PLUGIFY_MINIZ_REPO "https://github.com/richgel999/miniz.git" CACHE STRING "" )
46
+ set (PLUGIFY_MINIZ_TAG "3.0.2" CACHE STRING "" )
You can’t perform that action at this time.
0 commit comments