I am creating a cmake-based build system for our product. The problem is that the Visual Studio project created by cmake does not display the header files in the solution browser.
What do I need to add to CMakeList.txt to view header files? The preferred solution is no need to list each specific header file.
Solution Here is the solution I came with:
file(GLOB_RECURSE INCS "*.h") add_library(myLib ${SRCS} ${INCS})
thank
c ++ visual-studio-2008 cmake
dimba Jul 22 '09 at 18:13 2009-07-22 18:13
source share