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

Track lib changes ?

<< < (2/4) > >>

Kalith:

--- Quote from: stahta01 on September 09, 2010, 08:17:05 pm ---Look at virtual targets

--- End quote ---
My main project has 4 different build targets : Win32_Release, Win32_Debug, Linux_Release, Linux_Debug.
The GUI library can handle 2 different graphics engine (Ogre3D and SFML), but the code is identical for both windows and linux. So I also have 4 targets : Release_SFML, Debug_SFML, Release_OGRE, Debug_OGRE.
Using virtual targets to create "Win32_Release" etc for the GUI library would certainly work, but makes no sense here.


--- Quote from: huzhongshan on September 10, 2010, 12:38:50 am ---you have to set dependancy in the workspace. the dependancy is saved in workspace (not in the project .cbp).

--- End quote ---
I do set my dependencies in the workspace, using Project -> Properties... -> [Project's dependencies...].
How would I do otherwise ? I need the other projects to be in the workspace in order to select them in the list :)

oBFusCATed:
Kalith: the only answer we can give you (If I'm not missing something) is: patches are welcomed :)

A dialog like this [1] is required to so you can connect your targets...


[1] http://cdn.ww.ossdl.de/wp-content/uploads/2009/11/vs2008-configuration-manager-for-mysql.png

Kalith:
That's what I was afraid of :)

Unfortunately, I'm no expert in wxWidget. Even if I could write something that looks like your link (would take me a few days maybe), it would certainly not be as clean and bullet/idiot proof as the rest of C::B.
I've never done anything serious with GUIs like these (QT, GTK, etc).

Anyway, I've done a quick sketch of what would work for me, as a replacement of the old dependency dialog :

Pick a project and a target on the left, then check all the targets/projects you want to depend on.

I'll take a look at C::B source code to see if I can get something running, but I don't promise anything.
Furthermore, a change like this one would imply changing the structure of the .workspace files, and I assume this is not a trivial operation.

oBFusCATed:
In your GUI mock up how would you choose multiple dependencies?

MortenMacFly:

--- Quote from: Kalith on September 10, 2010, 02:50:29 pm ---Anyway, I've done a quick sketch of what would work for me, as a replacement of the old dependency dialog :

--- End quote ---
I still believe this is possible with what we already have on board. A combination of virtual targets, dependencies between projects in a workspace, the order of targets in a project, the declaration to a target OS and external dependencies is IMHO all you need.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version