Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: erezz on November 10, 2013, 09:19:18 am

Title: When new files are added to a project
Post by: erezz on November 10, 2013, 09:19:18 am
Hi,

I'm using c::b from svn (9423) on Ubuntu 12.04. When new src files are added to the project (by other developers), I'd like to be able to auto-update the list of files without doing "Add files recursively" every time. Is it possible?

Thanks,
Erez
Title: Re: When new files are added to a project
Post by: Jenna on November 10, 2013, 09:53:38 am
There is an undocumented (experimental) feature.
You have to tweak your projectfiles manually, see: http://forums.codeblocks.org/index.php/topic,16958.msg115908.html#msg115908

I had to explicitely set the wildcard to "*" (on linux) to cover all filetypes:
Code
<UnitsGlob directory="./" recursive="1" wildcard="*" />
Title: Re: When new files are added to a project
Post by: erezz on November 10, 2013, 03:18:39 pm
There is an undocumented (experimental) feature.
You have to tweak your projectfiles manually, see: http://forums.codeblocks.org/index.php/topic,16958.msg115908.html#msg115908

I had to explicitely set the wildcard to "*" (on linux) to cover all filetypes:
Code
<UnitsGlob directory="./" recursive="1" wildcard="*" />

It works well. Thanks!