Offer configuration for windows and linux

This commit is contained in:
Jaby 2022-09-17 16:08:10 +02:00
parent 21e7d29697
commit f65b19cdff
4 changed files with 24 additions and 5 deletions

View File

@ -0,0 +1,4 @@
set bin_linux_projects=%bin_projects% %bin_linux_projects%
set clean_projects_linux=%clean_projects% %clean_projects_linux%
set bin_projects=
set clean_projects=

View File

@ -0,0 +1,4 @@
set bin_projects=psxcdgen psxcdread
set bin_linux_projects=cpp_out jaby_engine_fconv
set clean_projects=cdtypes
set clean_projects_linux=tool_helper

View File

@ -0,0 +1,4 @@
set bin_projects=%bin_projects% %bin_linux_projects%
set clean_projects=%clean_projects% %clean_projects_linux%
set bin_linux_projects=
set clean_projects_linux=

View File

@ -1,10 +1,17 @@
@echo off
rem build_all [clean]
setlocal EnableDelayedExpansion
rem build_all [clean] [recommended|windows|linux]
set bin_projects=psxcdgen psxcdread
set bin_linux_projects=cpp_out jaby_engine_fconv
set clean_projects=cdtypes
set clean_projects_linux=tool_helper
call .config_build_all/recommended.bat
IF NOT "%~2" == "" (
set config_path=.config_build_all/%~2.bat
IF exist "!config_path!" (
call !config_path!
) ELSE (
@echo "Configuration !config_path! not found"
exit -1
)
)
set projects=%bin_projects%
set linux_projects=%bin_linux_projects%