mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-06 15:47:06 +08:00
added win release builds
This commit is contained in:
parent
c4d089c364
commit
949b1d3f14
@ -3970,5 +3970,7 @@
|
|||||||
"build/prefab/lib/mac_x86_64_server/debug/libballisticacore_internal.a": "https://files.ballistica.net/cache/ba1/86/9f/c6610a0006b255768a74d73ce77b",
|
"build/prefab/lib/mac_x86_64_server/debug/libballisticacore_internal.a": "https://files.ballistica.net/cache/ba1/86/9f/c6610a0006b255768a74d73ce77b",
|
||||||
"build/prefab/lib/mac_x86_64_server/release/libballisticacore_internal.a": "https://files.ballistica.net/cache/ba1/a1/6e/c4b8e6499dd2404c010eb25fc55e",
|
"build/prefab/lib/mac_x86_64_server/release/libballisticacore_internal.a": "https://files.ballistica.net/cache/ba1/a1/6e/c4b8e6499dd2404c010eb25fc55e",
|
||||||
"build/prefab/lib/windows/Debug_Win32/BallisticaCoreGenericInternal.lib": "https://files.ballistica.net/cache/ba1/33/1b/2f39ff51ed00220a9fec7439679f",
|
"build/prefab/lib/windows/Debug_Win32/BallisticaCoreGenericInternal.lib": "https://files.ballistica.net/cache/ba1/33/1b/2f39ff51ed00220a9fec7439679f",
|
||||||
"build/prefab/lib/windows/Debug_Win32/BallisticaCoreGenericInternal.pdb": "https://files.ballistica.net/cache/ba1/e9/0d/099c69f8ac43c38ca0fa453e720f"
|
"build/prefab/lib/windows/Debug_Win32/BallisticaCoreGenericInternal.pdb": "https://files.ballistica.net/cache/ba1/e9/0d/099c69f8ac43c38ca0fa453e720f",
|
||||||
|
"build/prefab/lib/windows/Release_Win32/BallisticaCoreGenericInternal.lib": "https://files.ballistica.net/cache/ba1/05/39/c6316ab0a10b2f7be04ec2e362bf",
|
||||||
|
"build/prefab/lib/windows/Release_Win32/BallisticaCoreGenericInternal.pdb": "https://files.ballistica.net/cache/ba1/a6/e2/fa09037662a6dea09a4e3535f0d5"
|
||||||
}
|
}
|
||||||
76
Makefile
76
Makefile
@ -40,73 +40,73 @@ prereqs-clean:
|
|||||||
|
|
||||||
# Build all assets for all platforms.
|
# Build all assets for all platforms.
|
||||||
assets: prereqs
|
assets: prereqs
|
||||||
@cd assets && make -j${CPUS}
|
cd assets && make -j${CPUS}
|
||||||
|
|
||||||
# Build assets required for cmake builds (linux, mac)
|
# Build assets required for cmake builds (linux, mac)
|
||||||
assets-cmake: prereqs
|
assets-cmake: prereqs
|
||||||
@cd assets && ${MAKE} -j${CPUS} cmake
|
cd assets && ${MAKE} -j${CPUS} cmake
|
||||||
|
|
||||||
# Build assets required for WINDOWS_PLATFORM windows builds.
|
# Build assets required for WINDOWS_PLATFORM windows builds.
|
||||||
assets-windows: prereqs
|
assets-windows: prereqs
|
||||||
@cd assets && ${MAKE} -j${CPUS} win-${WINDOWS_PLATFORM}
|
cd assets && ${MAKE} -j${CPUS} win-${WINDOWS_PLATFORM}
|
||||||
|
|
||||||
# Build assets required for Win32 windows builds.
|
# Build assets required for Win32 windows builds.
|
||||||
assets-windows-Win32: prereqs
|
assets-windows-Win32: prereqs
|
||||||
@cd assets && ${MAKE} -j${CPUS} win-Win32
|
cd assets && ${MAKE} -j${CPUS} win-Win32
|
||||||
|
|
||||||
# Build assets required for x64 windows builds.
|
# Build assets required for x64 windows builds.
|
||||||
assets-windows-x64: prereqs
|
assets-windows-x64: prereqs
|
||||||
@cd assets && ${MAKE} -j${CPUS} win-x64
|
cd assets && ${MAKE} -j${CPUS} win-x64
|
||||||
|
|
||||||
# Build assets required for mac xcode builds
|
# Build assets required for mac xcode builds
|
||||||
assets-mac: prereqs
|
assets-mac: prereqs
|
||||||
@cd assets && ${MAKE} -j${CPUS} mac
|
cd assets && ${MAKE} -j${CPUS} mac
|
||||||
|
|
||||||
# Build assets required for ios.
|
# Build assets required for ios.
|
||||||
assets-ios: prereqs
|
assets-ios: prereqs
|
||||||
@cd assets && ${MAKE} -j${CPUS} ios
|
cd assets && ${MAKE} -j${CPUS} ios
|
||||||
|
|
||||||
# Build assets required for android.
|
# Build assets required for android.
|
||||||
assets-android: prereqs
|
assets-android: prereqs
|
||||||
@cd assets && ${MAKE} -j${CPUS} android
|
cd assets && ${MAKE} -j${CPUS} android
|
||||||
|
|
||||||
# Clean all assets.
|
# Clean all assets.
|
||||||
assets-clean:
|
assets-clean:
|
||||||
@cd assets && ${MAKE} clean
|
cd assets && ${MAKE} clean
|
||||||
|
|
||||||
# Build resources.
|
# Build resources.
|
||||||
resources: prereqs
|
resources: prereqs
|
||||||
@tools/pcommand lazybuild resources_src ${LAZYBUILDDIR}/resources \
|
tools/pcommand lazybuild resources_src ${LAZYBUILDDIR}/resources \
|
||||||
cd resources \&\& ${MAKE} -j${CPUS} resources
|
cd resources \&\& ${MAKE} -j${CPUS} resources
|
||||||
|
|
||||||
# Clean resources.
|
# Clean resources.
|
||||||
resources-clean:
|
resources-clean:
|
||||||
@cd resources && ${MAKE} clean
|
cd resources && ${MAKE} clean
|
||||||
@rm -f ${LAZYBUILDDIR}/resources
|
rm -f ${LAZYBUILDDIR}/resources
|
||||||
|
|
||||||
# Build our generated code.
|
# Build our generated code.
|
||||||
# TODO: should perhaps make this a more standard component, including it
|
# TODO: should perhaps make this a more standard component, including it
|
||||||
# in other standard targets such as checks and tests (at least once we're
|
# in other standard targets such as checks and tests (at least once we're
|
||||||
# generating things that can affect the outcome of said checks/tests).
|
# generating things that can affect the outcome of said checks/tests).
|
||||||
code: prereqs
|
code: prereqs
|
||||||
@tools/pcommand lazybuild code_gen_src ${LAZYBUILDDIR}/code \
|
tools/pcommand lazybuild code_gen_src ${LAZYBUILDDIR}/code \
|
||||||
cd src/generated_src \&\& ${MAKE} -j${CPUS} generated_code
|
cd src/generated_src \&\& ${MAKE} -j${CPUS} generated_code
|
||||||
|
|
||||||
# Clean our generated code.
|
# Clean our generated code.
|
||||||
code-clean:
|
code-clean:
|
||||||
@cd src/generated_src && ${MAKE} clean
|
cd src/generated_src && ${MAKE} clean
|
||||||
@rm -f ${LAZYBUILDDIR}/code
|
rm -f ${LAZYBUILDDIR}/code
|
||||||
|
|
||||||
# Remove ALL files and directories that aren't managed by git
|
# Remove ALL files and directories that aren't managed by git
|
||||||
# (except for a few things such as localconfig.json).
|
# (except for a few things such as localconfig.json).
|
||||||
clean:
|
clean:
|
||||||
@${CHECK_CLEAN_SAFETY}
|
${CHECK_CLEAN_SAFETY}
|
||||||
@git clean -dfx ${ROOT_CLEAN_IGNORES}
|
git clean -dfx ${ROOT_CLEAN_IGNORES}
|
||||||
|
|
||||||
# Show what clean would delete without actually deleting it.
|
# Show what clean would delete without actually deleting it.
|
||||||
clean-list:
|
clean-list:
|
||||||
@${CHECK_CLEAN_SAFETY}
|
${CHECK_CLEAN_SAFETY}
|
||||||
@git clean -dnx ${ROOT_CLEAN_IGNORES}
|
git clean -dnx ${ROOT_CLEAN_IGNORES}
|
||||||
|
|
||||||
# Tell make which of these targets don't represent files.
|
# Tell make which of these targets don't represent files.
|
||||||
.PHONY: help prereqs prereqs-clean assets assets-cmake assets-windows \
|
.PHONY: help prereqs prereqs-clean assets assets-cmake assets-windows \
|
||||||
@ -452,6 +452,12 @@ build/prefab/full/windows_x86_gui/release
|
|||||||
build/prefab/full/windows_x86_gui/release/BallisticaCore.exe: .efrocachemap
|
build/prefab/full/windows_x86_gui/release/BallisticaCore.exe: .efrocachemap
|
||||||
@tools/pcommand efrocache_get $@
|
@tools/pcommand efrocache_get $@
|
||||||
|
|
||||||
|
build/prefab/lib/windows/Release_%/BallisticaCoreGenericInternal.lib: .efrocachemap
|
||||||
|
@tools/pcommand efrocache_get $@
|
||||||
|
|
||||||
|
build/prefab/lib/windows/Release_%/BallisticaCoreGenericInternal.pdb: .efrocachemap
|
||||||
|
@tools/pcommand efrocache_get $@
|
||||||
|
|
||||||
# Windows prefab server debug:
|
# Windows prefab server debug:
|
||||||
|
|
||||||
RUN_PREFAB_WINDOWS_X86_SERVER_DEBUG = cd \
|
RUN_PREFAB_WINDOWS_X86_SERVER_DEBUG = cd \
|
||||||
@ -741,6 +747,17 @@ windows-staging: assets-windows resources code
|
|||||||
${STAGE_ASSETS} -win-${WINPLT}-${WINCFG} \
|
${STAGE_ASSETS} -win-${WINPLT}-${WINCFG} \
|
||||||
build/windows/$(WINCFG)_$(WINPLT)
|
build/windows/$(WINCFG)_$(WINPLT)
|
||||||
|
|
||||||
|
# Build and run a debug windows build (from WSL).
|
||||||
|
windows-debug: windows-debug-build
|
||||||
|
@tools/pcommand ensure_prefab_platform windows_x86
|
||||||
|
build/windows/Debug_Win32/BallisticaCoreGeneric.exe
|
||||||
|
|
||||||
|
# Build and run a release windows build (from WSL).
|
||||||
|
windows-release: windows-release-build
|
||||||
|
@tools/pcommand ensure_prefab_platform windows_x86
|
||||||
|
build/windows/Release_Win32/BallisticaCoreGeneric.exe
|
||||||
|
|
||||||
|
# Build a debug windows build (from WSL).
|
||||||
windows-debug-build: windows-staging \
|
windows-debug-build: windows-staging \
|
||||||
build/prefab/lib/windows/Debug_Win32/BallisticaCoreGenericInternal.lib \
|
build/prefab/lib/windows/Debug_Win32/BallisticaCoreGenericInternal.lib \
|
||||||
build/prefab/lib/windows/Debug_Win32/BallisticaCoreGenericInternal.pdb \
|
build/prefab/lib/windows/Debug_Win32/BallisticaCoreGenericInternal.pdb \
|
||||||
@ -750,6 +767,7 @@ windows-debug-build: windows-staging \
|
|||||||
WINDOWS_PROJECT=Generic WINDOWS_CONFIGURATION=Debug WINDOWS_PLATFORM=Win32 \
|
WINDOWS_PROJECT=Generic WINDOWS_CONFIGURATION=Debug WINDOWS_PLATFORM=Win32 \
|
||||||
${MAKE} _windows-wsl-build
|
${MAKE} _windows-wsl-build
|
||||||
|
|
||||||
|
# Rebuild a debug windows build (from WSL).
|
||||||
windows-debug-rebuild: windows-staging \
|
windows-debug-rebuild: windows-staging \
|
||||||
build/prefab/lib/windows/Debug_Win32/BallisticaCoreGenericInternal.lib \
|
build/prefab/lib/windows/Debug_Win32/BallisticaCoreGenericInternal.lib \
|
||||||
build/prefab/lib/windows/Debug_Win32/BallisticaCoreGenericInternal.pdb \
|
build/prefab/lib/windows/Debug_Win32/BallisticaCoreGenericInternal.pdb \
|
||||||
@ -759,6 +777,26 @@ windows-debug-rebuild: windows-staging \
|
|||||||
WINDOWS_PROJECT=Generic WINDOWS_CONFIGURATION=Debug WINDOWS_PLATFORM=Win32 \
|
WINDOWS_PROJECT=Generic WINDOWS_CONFIGURATION=Debug WINDOWS_PLATFORM=Win32 \
|
||||||
${MAKE} _windows-wsl-rebuild
|
${MAKE} _windows-wsl-rebuild
|
||||||
|
|
||||||
|
# Build a release windows build (from WSL).
|
||||||
|
windows-release-build: windows-staging \
|
||||||
|
build/prefab/lib/windows/Release_Win32/BallisticaCoreGenericInternal.lib \
|
||||||
|
build/prefab/lib/windows/Release_Win32/BallisticaCoreGenericInternal.pdb \
|
||||||
|
ballisticacore-windows/Generic/BallisticaCore.ico
|
||||||
|
@tools/pcommand ensure_prefab_platform windows_x86
|
||||||
|
@tools/pcommand wsl_build_check_win_drive
|
||||||
|
WINDOWS_PROJECT=Generic WINDOWS_CONFIGURATION=Release WINDOWS_PLATFORM=Win32 \
|
||||||
|
${MAKE} _windows-wsl-build
|
||||||
|
|
||||||
|
# Rebuild a release windows build (from WSL).
|
||||||
|
windows-release-rebuild: windows-staging \
|
||||||
|
build/prefab/lib/windows/Release_Win32/BallisticaCoreGenericInternal.lib \
|
||||||
|
build/prefab/lib/windows/Release_Win32/BallisticaCoreGenericInternal.pdb \
|
||||||
|
ballisticacore-windows/Generic/BallisticaCore.ico
|
||||||
|
@tools/pcommand ensure_prefab_platform windows_x86
|
||||||
|
@tools/pcommand wsl_build_check_win_drive
|
||||||
|
WINDOWS_PROJECT=Generic WINDOWS_CONFIGURATION=Release WINDOWS_PLATFORM=Win32 \
|
||||||
|
${MAKE} _windows-wsl-rebuild
|
||||||
|
|
||||||
ballisticacore-windows/Generic/BallisticaCore.ico: .efrocachemap
|
ballisticacore-windows/Generic/BallisticaCore.ico: .efrocachemap
|
||||||
@tools/pcommand efrocache_get $@
|
@tools/pcommand efrocache_get $@
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user