-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
63 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
export LD_LIBRARY_PATH="lib:$LD_LIBRARY_PATH" | ||
./max "$@" |
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,27 @@ | ||
#!/bin/bash | ||
|
||
export LDFLAGS=-L"$VCPKG_INSTALLED_PATH/lib" | ||
export LIBRARY_PATH="$VCPKG_INSTALLED_PATH/lib" | ||
export CFLAGS="$CFLAGS -std=c++20" | ||
export CXXFLAGS="$CXXFLAGS -std=c++20" | ||
|
||
# CLONE PHASE | ||
git clone https://github.com/klei1984/max.git source | ||
pushd source | ||
git checkout 0317272 | ||
popd | ||
|
||
# BUILD PHASE | ||
pushd "source" | ||
mkdir -p build | ||
cd build | ||
cmake \ | ||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ | ||
-DCMAKE_PREFIX_PATH="$VCPKG_INSTALLED_PATH" \ | ||
.. | ||
make -j "$(nproc)" | ||
popd | ||
|
||
# COPY PHASE | ||
cp -rfv source/build/max "$diststart/615250/dist/" | ||
cp -rfv assets/* "$diststart/615250/dist/" |
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 @@ | ||
|
||
#!/bin/bash | ||
|
||
export STEAM_APP_ID_LIST="615250" | ||
export LICENSE_PATH="./source/LICENSE" | ||
export GCC_12="1" |
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,7 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", | ||
"dependencies": [ | ||
{ "name": "fluidsynth", "features": ["pulseaudio"] }, | ||
"miniaudio" | ||
] | ||
} |
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