Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: baska on October 19, 2009, 06:09:13 pm
-
Hi.
I am new here.
Is there any posibility to change (Settings) that all object files are compiled into one object directory regardless of the directory structure of the source files?
Thanks
-
Why do you care and what will happen if you have src/sub1/file.cpp and src/sub2/file.cpp?
-
Is there any posibility to change (Settings) that all object files are compiled into one object directory regardless of the directory structure of the source files?
No. As oBFusCATed already pointed out this would certainly make no sense and break nearly every 2nd project to be compiled correctly.
-
Thanks for your answer.
I try to use C::B in my embedded development. In embedded case, linker script tells what kind of object section is linked and located at where. Therefore it is easy if all compiled objects are in one folder, (it means no need to specify relative paths of the object file in linker script).
I have found one Workaround in "Advanced compiler options".