Back to Cmake

ENVIRONMENT

Help/prop_test/ENVIRONMENT.rst

4.3.2370 B
Original Source

ENVIRONMENT

Specify environment variables that should be defined for running a test.

Set to a :ref:semicolon-separated list <CMake Language Lists> list of environment variables and values of the form MYVAR=value. Those environment variables will be defined while running the test. The environment changes from this property do not affect other tests.