Skip to content

Commit

Permalink
Fetch zip archives instead of git repos (#137)
Browse files Browse the repository at this point in the history
Much faster for repeated CMake generate commands.
  • Loading branch information
seanmiddleditch committed Oct 2, 2019
1 parent 7f4d36d commit b07907e
Showing 1 changed file with 15 additions and 28 deletions.
43 changes: 15 additions & 28 deletions external/config.cmake
@@ -1,47 +1,34 @@
include(FetchContent)

FetchContent_Declare(doctest
GIT_REPOSITORY https://github.com/onqtam/doctest.git
GIT_TAG 2.3.1
GIT_SHALLOW ON
GIT_SUBMODULES ""
URL https://github.com/onqtam/doctest/archive/0b0a37405e878628009c9378e2fafa49e1499878.zip
URL_HASH SHA1=3772e3bdb58f4280f28576911d0d36f7f240a4c7
)
FetchContent_Declare(litexx
GIT_REPOSITORY https://github.com/seanmiddleditch/litexx.git
GIT_TAG 0.1.0
GIT_SHALLOW ON
GIT_SUBMODULES ""
URL https://github.com/seanmiddleditch/litexx/archive/0fa462ceab8fb581deb0701de2f732201d33099a.zip
URL_HASH SHA1=659be5d33ee80992da1c09814fe773ad94aa8de8
)
FetchContent_Declare(formatxx
GIT_REPOSITORY https://github.com/seanmiddleditch/formatxx.git
GIT_TAG 0.10.0
GIT_SHALLOW ON
GIT_SUBMODULES ""
URL https://github.com/seanmiddleditch/formatxx/archive/1b493f9552b5fcbd3ba58395b08b0455b9ece8d7.zip
URL_HASH SHA1=28c4fb43eef52bd21cfadc2f64fe60532935cf52
)
FetchContent_Declare(imgui
GIT_REPOSITORY https://github.com/ocornut/imgui.git
GIT_TAG v1.69
GIT_SHALLOW ON
GIT_SUBMODULES ""
URL https://github.com/ocornut/imgui/archive/688cf868ea83db6c2958dd6bf7a20d471d00940b.zip
URL_HASH SHA1=efeb13591544087010efdcee6231ae28acc43c28
)
FetchContent_Declare(glm
GIT_REPOSITORY https://github.com/g-truc/glm.git
GIT_TAG 0.9.9.5
GIT_SHALLOW ON
GIT_SUBMODULES ""
URL https://github.com/g-truc/glm/archive/d162eee1e6f7c317a09229fe6ceab8ec6ab9a4b4.zip
URL_HASH SHA1=bb295dced578e1dfe246b33fd590b7be1231b8c3
)
FetchContent_Declare(stb
GIT_REPOSITORY https://github.com/nothings/stb
GIT_TAG origin/master
GIT_SHALLOW ON
GIT_SUBMODULES ""
URL https://github.com/nothings/stb/archive/052dce117ed989848a950308bd99eef55525dfb1.zip
URL_HASH SHA1=1538ab6b5ed629f77f322e4ebbdef50f71233a90
)
FetchContent_Declare(json
GIT_REPOSITORY https://github.com/nlohmann/json.git
GIT_TAG v3.6.1
GIT_SHALLOW ON
GIT_SUBMODULES ""
URL https://github.com/nlohmann/json/archive/53c3eefa2cf790a7130fed3e13a3be35c2f2ace2.zip
URL_HASH SHA1=c97d1a8310d71da9913d09af437d4b193fe446e8
)
FetchContent_Declare(sdl2_vc_sdk
URL https://www.libsdl.org/release/SDL2-devel-2.0.9-VC.zip
URL_HASH SHA1=0b4d2a9bd0c66847d669ae664c5b9e2ae5cc8f00
)

0 comments on commit b07907e

Please sign in to comment.