mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
fix bscmake for vc7
This commit is contained in:
parent
149142ec3b
commit
83dd9a2b17
@ -22,6 +22,7 @@ if ($ENV{'DEBUG_GENERATE_PYTHON_CODE_ONLY'} ne '') {
|
||||
my $DONT_ARCHIVE_OLD_BUILDS = 0;
|
||||
my $BLD_DTOOL_ONLY=0;
|
||||
|
||||
|
||||
my $DIRPATH_SEPARATOR=':'; # set to ';' for non-cygwin NT perl
|
||||
|
||||
my @inst_dirnames=("archive","debug","install","release","publish");
|
||||
@ -35,6 +36,8 @@ for(my $i=0;$i<=$#inst_dirnames;$i++) {
|
||||
$inst_dirs[$i]=$WIN_INSTALLDIR."\\".$inst_dirnames[$i];
|
||||
}
|
||||
|
||||
my $VC7BINDIR="C:\\PROGRA~1\\Microsoft Visual Studio .NET\\Vc7\\BIN";
|
||||
|
||||
#if(! $DEBUG_GENERATE_PYTHON_CODE_ONLY) {
|
||||
# $ENV{'PANDA_OPTIMIZE'}='4'; # var has meaning to my special Config.pp
|
||||
#}
|
||||
@ -216,9 +219,9 @@ sub make_bsc_file() {
|
||||
print OUTFILE "$filestr","\n";
|
||||
close(OUTFILE);
|
||||
close(FILES);
|
||||
|
||||
|
||||
# vc7 dirs are not in path env-var by default
|
||||
$bscmake_str="C:\\PROGRA~1\\Microsoft Visual Studio .NET\\Vc7\\BIN\\bscmake.exe /o ".$outputfilepath." @".$cmdfilepath."\n";
|
||||
$bscmake_str=$VC7BINDIR."\\bscmake /o ".$outputfilepath." @".$cmdfilepath."\n";
|
||||
&myexecstr($bscmake_str,"bscmake failed!!!","DO_LOG","NT cmd");
|
||||
|
||||
&myexecstr("copy ".$outputfilepath." ".$inst_dirs[$DEBUGNUM], "copy of ".$outputfilepath." failed!!", "DO_LOG","NT cmd");
|
||||
|
Loading…
x
Reference in New Issue
Block a user