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:
parent
d85cd274c4
commit
b907cca37e
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user