ENDIF()
SET(_env "")
+ IF(WIN32 AND SALOME_GENERATE_ENVIRONMENT_SCRIPT_CONTEXT)
+ SET(_env "IF ${_env}\"%SET_${SALOME_GENERATE_ENVIRONMENT_SCRIPT_CONTEXT}_VARS%\"==\"1\" GOTO ${_ctx}\n")
+ ENDIF()
IF (NOT "$ENV{SALOME_HAS_GLOBAL_ENV}" STREQUAL "1")
- IF(WIN32 AND SALOME_GENERATE_ENVIRONMENT_SCRIPT_CONTEXT)
- SET(_env "IF ${_env}\"%SET_${SALOME_GENERATE_ENVIRONMENT_SCRIPT_CONTEXT}_VARS%\"==\"1\" GOTO ${_ctx}\n")
- ENDIF()
FOREACH(_item ${_${PROJECT_NAME}_EXTRA_ENV})
FOREACH(_val ${_${PROJECT_NAME}_EXTRA_ENV_${_item}})
SALOME_DO_VAR_SUBSTITUTION(_env ${_item} ${_val})