I'm building a cmake based build system for our product. The problem is that Visual Studio project, generated by cmake, doesn't display header files in solution browser.
What I need to add in CMakeList.txt to list header files? The preferred solution is where no need to list each particular header file.
Solution Here is a solution I came with:
file(GLOB_RECURSE INCS "*.h")
add_library(myLib ${SRCS} ${INCS})
Thanks