included cl setup scripts

master
Allen Webster 2017-06-22 19:16:04 -04:00
parent 26968871b6
commit 103bcb4994
4 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,6 @@
@echo off
IF NOT DEFINED LIB (call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" %1)
IF NOT DEFINED LIB (call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %1)

View File

@ -0,0 +1,4 @@
@echo off
setup_cl_generic.bat amd64

View File

@ -0,0 +1,5 @@
@echo off
setup_cl_generic.bat amd64_x86

View File

@ -158,7 +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, "SETUP_CLX86 & ");
build_ap(line_prefix, "BUILD_SCRIPTS\\SETUP_CL_X86 & ");
}
else{
build_ap(line_prefix, "BUILD_SCRIPTS\\SETUP_CL_X64 & ");
}
if (flags & OPTS){