User forums > Using Code::Blocks

Update source file for a project automatically

(1/1)

aravind:
Hi,

I have a project folder in which the list of source files changes with respect to my current git branch. I was wondering if there is any way (plugin or otherwise) to get Codeblocks to update it's list of source files automatically by scanning particular folders. This would really save a lot of time instead of having to manually add files to the project every time I switch branches. Any information would be greatly appreciated.

Thanks.

MortenMacFly:
Thee is an undocumented power-user feature called "globs" that might do what you want. To enable, you'll need to change the project file by yourself. I've unfortunately never used it, so I personally can't give you more instructions, but the user named "killerbot" surely can do.

Hopefully he'll reply to this thread...

oBFusCATed:
See here: http://forums.codeblocks.org/index.php/topic,16958.msg115908.html#msg115908

aravind:
Thanks a lot for the details. The "globs" feature works like a charm for what I want.

Navigation

[0] Message Index

Go to full version