Initial attempt to compile on OSX, seems like only Windows/Linux is supported currently, lot's more work to do
This commit is contained in:
parent
60c30657c4
commit
23ff5b982c
|
@ -14,8 +14,9 @@ data/studio.ini
|
||||||
.lumixuser
|
.lumixuser
|
||||||
*.unv.bak
|
*.unv.bak
|
||||||
projects/3rdparty
|
projects/3rdparty
|
||||||
|
!projects/bin/
|
||||||
plugins/
|
plugins/
|
||||||
src/engine/plugins.inl
|
src/engine/plugins.inl
|
||||||
data/.shader_cache_dx11
|
data/.shader_cache_dx11
|
||||||
projects/itch_io/
|
projects/itch_io/
|
||||||
!data/editor/scripts/plugins/
|
!data/editor/scripts/plugins/
|
||||||
|
|
Binary file not shown.
|
@ -354,7 +354,7 @@ exit /B 0
|
||||||
|
|
||||||
:build_basisu
|
:build_basisu
|
||||||
pushd 3rdparty\basisu\lumix\
|
pushd 3rdparty\basisu\lumix\
|
||||||
..\..\..\genie.exe vs2022
|
..\..\..\bin\windows\genie.exe vs2022
|
||||||
popd
|
popd
|
||||||
%msbuild_cmd% 3rdparty\basisu\lumix\vs2022\basis_lumix.sln /p:Configuration="Release" /p:Platform=x64
|
%msbuild_cmd% 3rdparty\basisu\lumix\vs2022\basis_lumix.sln /p:Configuration="Release" /p:Platform=x64
|
||||||
exit /B 0
|
exit /B 0
|
||||||
|
@ -493,13 +493,13 @@ goto :recast
|
||||||
exit /B 0
|
exit /B 0
|
||||||
|
|
||||||
:build_recast
|
:build_recast
|
||||||
genie.exe --file=recastnavigation.lua vs2022
|
.\bin\windows\genie.exe --file=recastnavigation.lua vs2022
|
||||||
%msbuild_cmd% 3rdparty\recast\_project\RecastDetour.sln /p:Configuration=Release /p:Platform=x64
|
%msbuild_cmd% 3rdparty\recast\_project\RecastDetour.sln /p:Configuration=Release /p:Platform=x64
|
||||||
exit /B 0
|
exit /B 0
|
||||||
|
|
||||||
:create_project
|
:create_project
|
||||||
echo Creating project...
|
echo Creating project...
|
||||||
genie.exe --with-app vs2022
|
,\bin\windows\genie.exe --with-app vs2022
|
||||||
pause
|
pause
|
||||||
exit /B 0
|
exit /B 0
|
||||||
|
|
||||||
|
@ -524,7 +524,7 @@ exit /B 0
|
||||||
|
|
||||||
:create_bundle
|
:create_bundle
|
||||||
echo Creating bundle...
|
echo Creating bundle...
|
||||||
genie.exe --embed-resources --static-physx vs2022
|
.\bin\windows\genie.exe --embed-resources --static-physx vs2022
|
||||||
cd ..\data
|
cd ..\data
|
||||||
tar -cvf data.tar .
|
tar -cvf data.tar .
|
||||||
move data.tar ../src/studio
|
move data.tar ../src/studio
|
||||||
|
|
|
@ -35,7 +35,7 @@ download_plugin()
|
||||||
|
|
||||||
build_recast()
|
build_recast()
|
||||||
{
|
{
|
||||||
./genie --file=recastnavigation.lua gmake
|
./bin/$"OS"/genie --file=recastnavigation.lua gmake
|
||||||
pushd 3rdparty/recast/_project
|
pushd 3rdparty/recast/_project
|
||||||
make
|
make
|
||||||
popd
|
popd
|
||||||
|
@ -176,7 +176,7 @@ push_to_itch_io()
|
||||||
git clean -f -x -d ../data/
|
git clean -f -x -d ../data/
|
||||||
rm -rf itch_io
|
rm -rf itch_io
|
||||||
mkdir itch_io
|
mkdir itch_io
|
||||||
./genie gmake
|
./bin/"$OS"/genie gmake
|
||||||
cd tmp/gmake
|
cd tmp/gmake
|
||||||
make -j config=relwithdebinfo64
|
make -j config=relwithdebinfo64
|
||||||
cd ../..
|
cd ../..
|
||||||
|
@ -211,11 +211,15 @@ main_menu()
|
||||||
{
|
{
|
||||||
clear;
|
clear;
|
||||||
PS3="Wut? "
|
PS3="Wut? "
|
||||||
|
OS="linux"
|
||||||
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
|
OS="darwin"
|
||||||
|
fi
|
||||||
options=("create project" "build release" "build debug" "3rdparty", "push to itch.io", "plugins", "exit")
|
options=("create project" "build release" "build debug" "3rdparty", "push to itch.io", "plugins", "exit")
|
||||||
select opt in "${options[@]}"
|
select opt in "${options[@]}"
|
||||||
do
|
do
|
||||||
case "$REPLY" in
|
case "$REPLY" in
|
||||||
1 ) ./genie gmake; pause; break;;
|
1 ) ./bin/"$OS"/genie gmake; pause; break;;
|
||||||
2 ) build relwithdebinfo64; pause; break;;
|
2 ) build relwithdebinfo64; pause; break;;
|
||||||
3 ) build debug64; pause; break;;
|
3 ) build debug64; pause; break;;
|
||||||
4 ) thirdparty_menu; break;;
|
4 ) thirdparty_menu; break;;
|
||||||
|
|
|
@ -51,7 +51,7 @@ if not %errorlevel%==0 pause
|
||||||
popd
|
popd
|
||||||
|
|
||||||
REM create engine project
|
REM create engine project
|
||||||
genie.exe --static-physx --with-app --nodx vs2022
|
bin/windows/genie.exe --static-physx --with-app --nodx vs2022
|
||||||
if not %errorlevel%==0 pause
|
if not %errorlevel%==0 pause
|
||||||
|
|
||||||
REM build studio.exe
|
REM build studio.exe
|
||||||
|
@ -69,7 +69,7 @@ butler.exe push itch_io mikulasflorek/lumix-engine:win-64-gl
|
||||||
if not %errorlevel%==0 pause
|
if not %errorlevel%==0 pause
|
||||||
|
|
||||||
REM create engine project
|
REM create engine project
|
||||||
genie.exe --static-physx --with-app vs2022
|
bin/windows/genie.exe --static-physx --with-app vs2022
|
||||||
if not %errorlevel%==0 pause
|
if not %errorlevel%==0 pause
|
||||||
|
|
||||||
REM build studio.exe
|
REM build studio.exe
|
||||||
|
|
Loading…
Reference in New Issue