mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Convert imgui to git submodule (shallow)
This commit is contained in:
parent
5a2cb48b89
commit
37afbf8ba2
4 changed files with 15 additions and 15 deletions
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
|
|
@ -24,9 +24,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
- name: Clone ImGui
|
submodules: true
|
||||||
run: git clone --depth 1 https://github.com/ocornut/imgui.git extern/imgui
|
|
||||||
|
|
||||||
- name: Cache apt packages
|
- name: Cache apt packages
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
|
@ -84,9 +83,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
- name: Clone ImGui
|
submodules: true
|
||||||
run: git clone --depth 1 https://github.com/ocornut/imgui.git extern/imgui
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -165,6 +163,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
|
||||||
- name: Set up MSYS2
|
- name: Set up MSYS2
|
||||||
uses: msys2/setup-msys2@v2
|
uses: msys2/setup-msys2@v2
|
||||||
|
|
@ -184,10 +184,6 @@ jobs:
|
||||||
mingw-w64-clang-aarch64-ffmpeg
|
mingw-w64-clang-aarch64-ffmpeg
|
||||||
git
|
git
|
||||||
|
|
||||||
- name: Clone ImGui
|
|
||||||
shell: msys2 {0}
|
|
||||||
run: git clone --depth 1 https://github.com/ocornut/imgui.git extern/imgui
|
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
run: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
|
run: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
|
||||||
|
|
@ -221,6 +217,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
|
||||||
- name: Set up MSYS2
|
- name: Set up MSYS2
|
||||||
uses: msys2/setup-msys2@v2
|
uses: msys2/setup-msys2@v2
|
||||||
|
|
@ -242,10 +240,6 @@ jobs:
|
||||||
mingw-w64-x86_64-nsis
|
mingw-w64-x86_64-nsis
|
||||||
git
|
git
|
||||||
|
|
||||||
- name: Clone ImGui
|
|
||||||
shell: msys2 {0}
|
|
||||||
run: git clone --depth 1 https://github.com/ocornut/imgui.git extern/imgui
|
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
run: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
|
run: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
|
||||||
|
|
|
||||||
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -41,9 +41,10 @@ wowee
|
||||||
*~
|
*~
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
# External dependencies (except CMakeLists.txt)
|
# External dependencies (except submodules)
|
||||||
extern/*
|
extern/*
|
||||||
!extern/.gitkeep
|
!extern/.gitkeep
|
||||||
|
!extern/imgui
|
||||||
|
|
||||||
# ImGui state
|
# ImGui state
|
||||||
imgui.ini
|
imgui.ini
|
||||||
|
|
|
||||||
4
.gitmodules
vendored
Normal file
4
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
[submodule "extern/imgui"]
|
||||||
|
path = extern/imgui
|
||||||
|
url = https://github.com/ocornut/imgui.git
|
||||||
|
shallow = true
|
||||||
1
extern/imgui
vendored
Submodule
1
extern/imgui
vendored
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 814c6a194bcb1172df8b8ac9d6520ac0e77654dc
|
||||||
Loading…
Add table
Add a link
Reference in a new issue