Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Napoleon on July 01, 2017, 04:03:19 am

Title: Is it possible to change default "Add Files" location
Post by: Napoleon on July 01, 2017, 04:03:19 am
I'm working with a team on code that is kept in a shared git repository and I like to use CB for my work.  However, I do not want the CB metadata (Projects, Workspaces, layouts) and working folders (bin/ & obj/) to be included in the repo.  I know I can add git ignores for these, but I'm wondering if it is possible to change the default opening location for the 'Add Files' function?

Cheers,
Nap
Title: Re: Is it possible to change default "Add Files" location
Post by: stahta01 on July 01, 2017, 04:17:52 am
To your direct question I have no idea.

What I do for converting non CB projects to CB projects is this.
1. Create CB Temp Project in the top project folder.
2. Add the files to the CB Temp Project
3. Use project save as to save the CB Project to where I want it to be.

CB Automatically adjusts the path to the source files during save as.

I normally use a folder called build under the top project folder.

Tim S.