User forums > General (but related to Code::Blocks)

Targets

(1/2) > >>

Lexx:
Hi!

I use 5 build targets in my project. (Debug, release, release P4, release Athlon, Editor). And i have many subprojects (Editor, render, script, SoundEngine, Animations ... ) All config using the same sources. All target using diff. wx build and another 3rd part libs. With other IDE-s (MinGW Studio and Chinook) i can set build targets. Ok. Code::Blocks has same function. In the Build options->Select Target dialog i can only one select as main. ("This target provides the project's main executable").

I meant Code::Blocks using the Build targets as "subprojects" not as build targets (as in Visual Studio or MinGW studio or others).
Technically it's possible make diff. targets but how using in this fall the debugger? If i click run program, start the Code::Blocks the right executable or start the executable was set as "main executable"?

I meant the subprojects and build targets should be different. Build targets can have many subprojects.

Thanks

Lexx

mandrav:

--- Quote ---("This target provides the project's main executable").
--- End quote ---

This denotes that the specific target is selected by default when pressing "Run" and the "All" virtual target is selected.

The rest of what you wrote I didn't fully understand. Care to elaborate?

Yiannis.

Lexx:
Ok, sorry for my poor english....

I have one projects (Game develop), to make one exe. I have 5 build target for this exe. (Editor, debug, Release, P4 optimised and Athlon optimised).  With this have no problem i have Code::Blocks configured quick (ok, i have with texteditor the settings copied and edited).
My problem is: I have subprojects (to make libs) in my projects. (Render, Script, AI, Editor, Sound, and game special...). We using special builds from wxWidgets (debug, unicode, optimised: p3, p4 and athlon). To make all this configuration we need 25 "build target" with Code::Blocks. With M$Visual studio we need 1 solution with 5 subprojects and 5 build targets.
The subproject is for the target directories and included files and target exe, dll or lib.
The build targets is for the compiler, linker options.

mandrav:

--- Quote ---To make all this configuration we need 25 "build target" with Code::Blocks. With M$Visual studio we need 1 solution with 5 subprojects and 5 build targets.
--- End quote ---

With C::B, you can do the same: 1 workspace (a.k.a. solution) with 5 projects and 5 build targets.
I guess you didn't know that you can have more than one project open? And that these can be grouped in a workspace?

Yiannis.

Lexx:
Sorry i didn't know. I have all the documentation, faq read, but this feature has "hidden" for me....
Now i know the workspace has own settings.

Thanks...

Navigation

[0] Message Index

[#] Next page

Go to full version