Skip to content

Commit cc63114

Browse files
committed
Download GameInput headers before SDL build
1 parent 8839290 commit cc63114

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

justfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ win-resource:
3737

3838
[arg("type", long="type", help="Build type (Debug/Release)")]
3939
build-sdl type="Debug":
40+
{{ if os_family() == "windows" { "if (!(Test-Path deps/SDL/include/gameinput.h)) { python deps/SDL/build-scripts/download-gameinput-sdk.py -o deps/SDL }" } else { "true" } }}
4041
{{
4142
if os_family() == "windows" {
4243
"if (!(Test-Path deps/SDL/build)) { cmake -S deps/SDL -B deps/SDL/build -DSDL_TEST_LIBRARY=OFF -DSDL_TESTS=OFF -DSDL_INSTALL_TESTS=OFF }"

0 commit comments

Comments
 (0)