I was trying to separate my header files (.h
) from my (.cpp
) implementation by storing them in two different source folders. However, Eclipse then tells the compiler to look for the .h
file in the same folder as the .cpp
file. This causes the compiler to stop as it can't find the specified file. Is there any way to create such folders in Eclipse and get around this issue?
In visual studio there is separate folder for header files so can we make a separate folder for header files in Eclipse CDT too?