mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-01-12 10:29:32 +08:00
fixed a mistake in win build script
This commit is contained in:
parent
0d4a73c41f
commit
b14a3e7f54
@ -729,12 +729,12 @@ exit /b 1
|
|||||||
exit /b 1
|
exit /b 1
|
||||||
)
|
)
|
||||||
|
|
||||||
if %VERBOSE% equ 1 (
|
if "%VERBOSE%" equ "1" (
|
||||||
echo cl.exe %_target_args% /Fo%_build_tmp%\ /Fe%_build_tmp%\ %debug_info% %debug_info_format% %optimization_level% %release_defs% %_extra_defs% %_runtime_type% %_target_inc_dirs% %_extra_inc_dirs% %_all_src% %_target_libs% %_extra_libs% /link %_target_linker_args% /OUT:"%_out_filepath%"
|
echo cl.exe %_target_args% /Fo%_build_tmp%\ /Fe%_build_tmp%\ %debug_info% %debug_info_format% %optimization_level% %release_defs% %_extra_defs% %_runtime_type% %_target_inc_dirs% %_extra_inc_dirs% %_all_src% %_target_libs% %_extra_libs% /link %_target_linker_args% /OUT:"%_out_filepath%"
|
||||||
echo:
|
echo:
|
||||||
)
|
)
|
||||||
|
|
||||||
cl.exe %_target_args% /Fo%_build_tmp%\ /Fe%_build_tmp%\ %debug_info% %debug_info_format% %optimization_level% %release_defs% %_extra_defs% %_runtime_type% %_target_inc_dirs% %_extra_inc_dirs% %_all_src% %_target_libs% %_extra_libs% /link %_target_linker_args% /OUT:"%_out_filepath%"
|
call cl.exe %_target_args% /Fo%_build_tmp%\ /Fe%_build_tmp%\ %debug_info% %debug_info_format% %optimization_level% %release_defs% %_extra_defs% %_runtime_type% %_target_inc_dirs% %_extra_inc_dirs% %_all_src% %_target_libs% %_extra_libs% /link %_target_linker_args% /OUT:"%_out_filepath%"
|
||||||
set /a _exit=%errorlevel%
|
set /a _exit=%errorlevel%
|
||||||
rmdir /s /q "%_build_tmp%"
|
rmdir /s /q "%_build_tmp%"
|
||||||
endlocal & exit /b %_exit%
|
endlocal & exit /b %_exit%
|
||||||
@ -766,15 +766,15 @@ endlocal & exit /b %_exit%
|
|||||||
|
|
||||||
echo --- compiling resource file "%_file%" to "%_out_file%"
|
echo --- compiling resource file "%_file%" to "%_out_file%"
|
||||||
set "_verbose="
|
set "_verbose="
|
||||||
if %VERBOSE% equ 1 (
|
if "%VERBOSE%" equ "1" (
|
||||||
set "_verbose=/v"
|
set "_verbose=/v"
|
||||||
)
|
)
|
||||||
if %VERBOSE% equ 1 (
|
if "%VERBOSE%" equ "1" (
|
||||||
rc.exe %_verbose% /l 0 /g 0 /nologo /n /fo "%_out_file%" "%_file%"
|
echo rc.exe %_verbose% /l 0 /g 0 /nologo /n /fo "%_out_file%" "%_file%"
|
||||||
echo:
|
echo:
|
||||||
)
|
)
|
||||||
|
|
||||||
rc.exe %_verbose% /l 0 /g 0 /nologo /n /fo "%_out_file%" "%_file%"
|
call rc.exe %_verbose% /l 0 /g 0 /nologo /n /fo "%_out_file%" "%_file%"
|
||||||
set /a _exit=%errorlevel%
|
set /a _exit=%errorlevel%
|
||||||
echo:
|
echo:
|
||||||
endlocal & exit /b %_exit%
|
endlocal & exit /b %_exit%
|
||||||
|
Loading…
x
Reference in New Issue
Block a user