I have a project that I created a Source directory and linked in all my .cpp, .c, and .asm files. If I add an include path to the project properties the virtual Includes directory shows every subdirectory and file in the directory, including .c and.cpp files that I have linked in the Source directory. It seems that since this virtual directory is called Includes that it should only show the files I have specified in my project properties as header files. There is no way to put any filtering on this virtual folder.
I tried creating a Headers folder in the project and then linked the header files I wanted. I then put the path to the Header folder in the project properties include paths. With this the compiler says it cannot open the header file. Is there anyway to get the compiler to open linked header files? I put the linked header file in the Source folder and it could not open it there either.
I've also tried adding a new linked folder and then adding a resource filter to exclued all folders and files except the desired header files and then adding the linked folder to the project properties include paths. This will work but is not preferred as all the excluded files show up greyed out but can still be opened when doubel clicked. I only want to see the header files that are part of the project. Is there any way to remove the excluded files from the project explorer view? When I press delete it wants to delete the excluded file from my file system (hard drive). Most other tools I have used have a remove from project only option.