User forums > Using Code::Blocks

Object directories



I have source files spread in several directories. When I try to specify the OBJ and DEP directories in the target settings, and write something like "..\proj\obj", upon reopening this window I get just "obj" (the project files and the workspace are placed in "proj", sources - on the same level as "proj"). Then, when I compile, the object files get spread around in "src1\obj", "src2\obj", etc.

This was fixed in CVS. The obj and deps output dirs are now used correctly and not as subdirs of the dir where the file being compiled resides...



[0] Message Index

Go to full version