Set Environment Variables for Debug, Launch, and Tools with CMake and Open Folder

Alma Haage (Red Door Collaborative LLC)

There are many reasons why you may want to customize environment variables. Many build systems use environment variables to drive behavior; debug targets sometimes need to have PATH customized to ensure their dependencies are found; etc. Visual Studio has a mechanism to customize environment variables for debugging and building CMake projects and C++ Open Folder. In Visual Studio 2019 16.4 we made some changes to simplify this across Visual Studio’s JSON configuration files.

0 comments

Discussion is closed.

Feedback usabilla icon