1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0032304: Configuration - genproj should not override env.bat in OCC Products

This commit is contained in:
kgv 2021-04-15 16:05:01 +03:00 committed by bugmaster
parent d85cd274c4
commit b907cca37e

View File

@ -383,7 +383,7 @@ proc genprojbat {theFormat thePlatform theSolution} {
set aTargetEol crlf
}
if {"$theFormat" != "cmake"} {
if { [file exists "$::path/src/OS/FoundationClasses.tcl"] || ![file exists "$::path/env.${aTargetPlatformExt}"] } {
# generate env.bat/sh
set anEnvTmplFilePath "$::THE_CASROOT/adm/templates/env.${aTargetPlatformExt}"
set anEnvTmplFile [open "$anEnvTmplFilePath" "r"]