1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +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 asuraven
parent 59976758f6
commit c6c04d1c11

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"]