-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add xsystem35-sdl2 and system3-sdl2 as submodules
- Loading branch information
Showing
10 changed files
with
49 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
node_modules/ | ||
dist/system3.* | ||
dist/xsystem35.* | ||
dist/shell.js* | ||
dist/archiveworker.js* | ||
dist/fdimage.js* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[submodule "xsystem35-sdl2"] | ||
path = xsystem35-sdl2 | ||
url = https://github.com/kichikuou/xsystem35-sdl2.git | ||
[submodule "system3-sdl2"] | ||
path = system3-sdl2 | ||
url = https://github.com/kichikuou/system3-sdl2.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
if [ ! -f "xsystem35-sdl2/CMakeLists.txt" ] || [ ! -f "system3-sdl2/CMakeLists.txt" ]; then | ||
git submodule update --init --recursive | ||
fi | ||
|
||
if [ ! -d "xsystem35-sdl2/out" ]; then | ||
emcmake cmake -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_COMPILE_WARNING_AS_ERROR=YES -S xsystem35-sdl2 -B xsystem35-sdl2/out | ||
fi | ||
cmake --build xsystem35-sdl2/out && cp xsystem35-sdl2/out/src/xsystem35.* dist/ | ||
|
||
if [ ! -d "system3-sdl2/out" ]; then | ||
emcmake cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_COMPILE_WARNING_AS_ERROR=YES -S system3-sdl2 -B system3-sdl2/out | ||
fi | ||
cmake --build system3-sdl2/out && cp system3-sdl2/out/system3.* dist/ |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Submodule system3-sdl2
added at
c25227
Submodule xsystem35-sdl2
added at
d3650c