Manage Environment Variable Set at Current Project Directory
VectorCAST version 2019 SP1 creates a new environment variable on project open, VCAST_MANAGE_PROJECT_DIRECTORY, and it is set to the directory of the Manage project. This environment variable can also be used in setup_teardown.py, system_tests.py, .env scripts and .cfg options.
For example, if the project is located at C:\vcast\projects\manage_project then the variable VCAST_MANAGE_PROJECT_DIRECTORY will be set to that location.
This facilitates simpler and more efficient use of environment files in custom scripts.
VCAST_ENVIRONMENT_FILES: $(VCAST_MANAGE_PROJECT_DIRECTORY)\execute_gdb.py
VCAST_STARTUP_FILE: $(VCAST_MANAGE_PROJECT_DIRECTORY)\startup_stm32l100xc.s