Better_Software_Header_Mobile Better_Software_Header_Web

Find what you need - explore our website and developer resources

µ-Boosting Your CMake Productivity with Environment Variables

export CMAKE_EXPORT_COMPILE_COMMANDS=ON
export CMAKE_GENERATOR=Ninja
if ($ENV{MY_CUSTOM_FLAG})
    do_something_special()
endif()

Tags:

c++vscode

About KDAB

NicolasFella

Nicolas Fella

Software Engineer

Sign up for the KDAB Newsletter

Learn Modern C++

Learn more