finding the scripts path

This commit is contained in:
Allen Webster 2017-06-22 19:39:14 -04:00
parent 69fce6fcaf
commit 70b585d69a
3 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,5 @@
@echo off
setup_cl_generic.bat amd64
SET SCRIPTS_PATH=%~dp0
%SCRIPTS_PATH%\setup_cl_generic.bat amd64

View File

@ -1,5 +1,6 @@
@echo off
setup_cl_generic.bat amd64_x86
SET SCRIPTS_PATH=%~dp0
%SCRIPTS_PATH%\setup_cl_generic.bat amd64_x86

View File

@ -158,10 +158,10 @@ build_cl(u32 flags, char *code_path, char *code_file, char *out_path, char *out_
init_build_line(&line_prefix);
if (flags & X86){
build_ap(line_prefix, "BUILD_SCRIPTS\\SETUP_CL_X86 & ");
build_ap(line_prefix, "%s\\build_scripts\\setup_cl_x86.bat & ", code_path);
}
else{
build_ap(line_prefix, "BUILD_SCRIPTS\\SETUP_CL_X64 & ");
build_ap(line_prefix, "%s\\build_scripts\\setup_cl_x64.bat & ", code_path);
}
if (flags & OPTS){