I am in the process of porting a big library project from Linux to Windows. Fortunately we were using CMake even before porting was even remotely on the table so not many adjustments were needed.
I figured it might be a good idea to develop the Windows parts natively on Windows for easier testing so i created a VS Studio using the CMake-gui
My project is organized like this:
lib/ # Library source code include/ mylib/ # Public installable header files
In the top CMakeLists.txt i added
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
so my internal source files include the headers just like an external application would.
The problem is now the following: Visual Studio 2015 displays the public header files in the "External References"-directory among a lot of system headers. It is not obvious which header files belong to the project.
How can i make VS display the public headers separately from the system includes?