mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-01 17:36:21 +03:00
Description of building OCCT with WOK and automake scripts is removed from documentation. Use of genproj utility is described in pages on building with MSVC, Code::Blocks, and XCode projects. New script genconf allows starting configuration GUI explicitly; dialog is slightly revised. Script genproj.sh is renamed to genproj; permissions for scripts are corrected for Linux. Script env.bat does not set anymore environment required for Products.
14 lines
449 B
Bash
Executable File
14 lines
449 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Helper script to configure environment for genproj tool.
|
|
# Running it requires that Tcl should be in the PATH
|
|
|
|
# initialize environment
|
|
aScriptPath=${BASH_SOURCE%/*}; if [ -d "${aScriptPath}" ]; then cd "$aScriptPath"; fi; aScriptPath="$PWD";
|
|
if [ ! -e "${aScriptPath}/env.sh" ]; then
|
|
cat ${aScriptPath}/adm/templates/env.sh | sed -e '/__CASROOT__/d' > ${aScriptPath}/env.sh
|
|
fi
|
|
|
|
# run GUI tool
|
|
tclsh "${aScriptPath}/adm/genconf.tcl"
|