' Dev/Editor/EffekseerCore/EffekseerCore.csproj /t:build /p:Configuration=Release /p:Platform=x64' ) call( '"' + msbuild_path + '"' + ' Dev/Editor/Effekseer/Effekseer.csproj /t:build /p:Configuration=Release /p:Platform=x64' ) else: call('dotnet build Dev/Editor/Effekseer/Effekseer.Std.csproj') call( 'dotnet publish Dev/Editor/Effekseer/Effekseer.Std.csproj -c Release --self-contained -r linux-x64' ) call('cp -r Dev/release/linux-x64/publish/* Dev/release/') if env['PACKAGEING_FOR_MAC'] == '1' and aceutils.isMac(): aceutils.cd('Dev') aceutils.call( 'cd release;mkbundle -o Effekseer Effekseer.exe --deps --sdk $MONO_SDK_PATH;otool -L Effekseer', env=env) aceutils.mkdir('Mac/Effekseer.app/Contents/Resources/') aceutils.copy('release/Effekseer', 'Mac/Effekseer.app/Contents/Resources/') aceutils.copy('release/Effekseer.exe', 'Mac/Effekseer.app/Contents/Resources/') aceutils.copy('release/libViewer.dylib', 'Mac/Effekseer.app/Contents/Resources/') aceutils.copy('release/EffekseerCore.dll', 'Mac/Effekseer.app/Contents/Resources/') aceutils.copy('release/EffekseerMaterialEditor', 'Mac/Effekseer.app/Contents/Resources/') aceutils.copy( '/Library/Frameworks/Mono.framework/Libraries/libMonoPosixHelper.dylib',
if aceutils.isWin() or aceutils.isMac(): if is_x86: call('"' + msbuild_path + '"' + ' Dev/Editor/EffekseerCore/EffekseerCore.csproj /t:build /p:Configuration=Release /p:Platform=x86') call('"' + msbuild_path + '"' + ' Dev/Editor/Effekseer/Effekseer.csproj /t:build /p:Configuration=Release /p:Platform=x86') else: call('"' + msbuild_path + '"' + ' Dev/Editor/EffekseerCore/EffekseerCore.csproj /t:build /p:Configuration=Release /p:Platform=x64') call('"' + msbuild_path + '"' + ' Dev/Editor/Effekseer/Effekseer.csproj /t:build /p:Configuration=Release /p:Platform=x64') else: call('dotnet build Dev/Editor/Effekseer/Effekseer.Std.csproj') call('dotnet publish Dev/Editor/Effekseer/Effekseer.Std.csproj -c Release --self-contained -r linux-x64') call('cp -r Dev/release/linux-x64/publish/* Dev/release/') if env['PACKAGEING_FOR_MAC'] == '1' and aceutils.isMac(): aceutils.cd('Dev') aceutils.call('cd release;mkbundle -o Effekseer Effekseer.exe --deps --sdk $MONO_SDK_PATH;otool -L Effekseer', env=env) aceutils.mkdir('Mac/Effekseer.app/Contents/Resources/') aceutils.copy('release/Effekseer', 'Mac/Effekseer.app/Contents/Resources/') aceutils.copy('release/Effekseer.exe', 'Mac/Effekseer.app/Contents/Resources/') aceutils.copy('release/libViewer.dylib', 'Mac/Effekseer.app/Contents/Resources/') aceutils.copy('release/EffekseerCore.dll', 'Mac/Effekseer.app/Contents/Resources/') aceutils.copy('release/EffekseerMaterialEditor', 'Mac/Effekseer.app/Contents/Resources/') aceutils.copy('/Library/Frameworks/Mono.framework/Libraries/libMonoPosixHelper.dylib', 'Mac/Effekseer.app/Contents/Resources/') aceutils.copytree('release/resources', 'Mac/Effekseer.app/Contents/Resources/resources') aceutils.copytree('release/scripts', 'Mac/Effekseer.app/Contents/Resources/scripts') aceutils.copytree('release/tools', 'Mac/Effekseer.app/Contents/Resources/tools') aceutils.call('chmod +x Mac/Effekseer.app/Contents/MacOS/script.sh') aceutils.call('chmod +x Mac/Effekseer.app/Contents/Resources/tools/mqoToEffekseerModelConverter') aceutils.call('chmod +x Mac/Effekseer.app/Contents/Resources/tools/fbxToEffekseerModelConverter')