Skip to content

Visual Studio Generator should add system include paths to "VC++ Directories" -> "Include Directories" instead of "C/C++" -> "General" -> "Additional Include Directories"

When using cmakes include_directories or target_include_directories commands, it is possible to mark include paths as system includes using the SYSTEM keyword.

Include directories can be specified in the Visual Studio IDE on project level in two separate locations:

  • VC++ Directories -> Include Directories
  • C/C++ -> General -> Additional Include Directories

Visual Studio Generator should add system include paths to "VC++ Directories" -> "Include Directories" instead of "C/C++" -> "General" -> "Additional Include Directories".

This is important for tools that need to differentiate between system includes and user includes. See https://clangpowertools.com/QaA.html the section "How to deal with warnings from system/third-party headers?"

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information