Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: rodrigo.canellas on September 24, 2007, 08:50:55 pm
-
Hi,
I would like that every file in 'Build target files' list would be in the form "$(DVP_SRC)\path\subpath\filename.cpp", instead of "..\..\..\path\subpath\filename.cpp".
Is there a way of doing it, other than editing the '.cbp' project file?
Thanks!
-
Actually, it is necessary more than just to be listed this way.
When compiling, the compiler complained that a 'c:\pathA\pathB\$(DVP_SRC)\path\subpath\filename.cpp' could not be found.
So, the path informed to the compiler is the full path, and not the relative.
Thanks again!
-
Regarding your first post, I don't think this is possible without editing the project file by hand, and even then it might not work (this depends on the time variables are expanded, I don't remember when they are).
Regarding your second post, it would be interesting to see the full commandline and compiler output for that file (make sure logging is set to "full commandline" in compiler options (rightmost tab), and post the result here).