Hi again, I have had some unexpected behavior with relative directories under C::B and I wonder if I should consider this a bug in C::B project system??
* Project base folder: C:\Programacion\KTools\Sources\LogStream
* Output folder for objects: ..\..\Objects (i.e.: "C:\Programacion\KTools\Objects")
* 3 Files in project:
- ..\..\Headers\General.hpp (i.e.: "C:\Programacion\KTools\Headers\General.hpp")
- ..\..\Headers\LogStream.hpp (i.e.: "C:\Programacion\KTools\Headers\LogStream.hpp")
- LogStream.cpp (i.e.: "C:\Programacion\KTools\Sources\LogStream\LogStream.cpp")
No matter what I try, instead of the intended Objects directory, my objwect files end up in the following directory:
"C:\Programacion\KTools\Objects\Sources\LogStream"
Seeing the resulting command line, it seems as if C::B is doing the following folder concatenation for some reason:
(1) In the Project Explorer, the source file appears listed as "Sources\LogStream\LogStream.cpp" (why all that route? it's in the project's base directory!!)
(2) What seems to be happening is:
"C:\Programacion\KTools\Objects" + "Sources\LogStream\LogStream.cpp" ==> "C:\Programacion\KTools\Objects\Sources\LogStream\LogStream.o"