User forums > Help

Shared properties

(1/2) > >>

MrDoomMaster:
Hi,

My current workspace setup in C::B consists of around 20 projects. Each project represents a "component" in my application. Since I have 20 projects, I do not want to have to cumbersomely duplicate common settings between each.

Coming from Visual Studio, one feature I fine extremely useful are Property Sheets. I realize C::B is not trying to be like Visual Studio- I also want to establish that I'm not asking it to be like Visual Studio. I simply am wondering if there is a way to share options between projects in a workspace. Here is a list of a couple of things I might want to share:

[*] Include directories
[*] Library directories
[*] Warning level
[*] Preprocessor definitions
[*] Many others...[/list]


Thanks for reading.

dje:
Hi !

Did you try to modify compiler settings (Settings->Compiler and debugger) ?
Be careful ! Doing this, all your future projects using this compiler will "benefit" from the changes !

Dje

MrDoomMaster:

--- Quote from: dje on September 23, 2008, 09:48:36 pm ---Hi !

Did you try to modify compiler settings (Settings->Compiler and debugger) ?
Be careful ! Doing this, all your future projects using this compiler will "benefit" from the changes !

Dje

--- End quote ---

Thanks for your response!

I was actually looking for these settings to *only* be shared between projects in this workspace only. I do not want future (other) workspaces' projects to inherit these properties.

dje:
Do you know a project can have many targets ?

Is it possible for you to have one project with 20 targets instead of 1 workspace and 20 projects ?
That way, you can apply project settings to all your targets.

Dje

MrDoomMaster:

--- Quote from: dje on September 23, 2008, 09:53:02 pm ---Do you know a project can have many targets ?

Is it possible for you to have one project with 20 targets instead of 1 workspace and 20 projects ?
That way, you can apply project settings to all your targets.

Dje

--- End quote ---

Can the targets have targets? If I make each project a target, it will need to have "Debug", and "Release" targets. This is just getting silly now :P

Navigation

[0] Message Index

[#] Next page

Go to full version