Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Compiler plugin

(1/3) > >>

comsytec:
We have created improved compiler plugin with new feature - BUILD CONFIGURATION -
Splits global options into multiple groups. Possible configs are - RELEASE - and - DEBUG -
Options editable via global configuration Settings > Compiler and debugger ...
Is it useful for someone ?

ollydbg:
I'm not sure how you implement this.
From my point of view, it is redundant, because I think the "build target" already have some kind of "release" or "debug" options.

comsytec:
We you this feature when building workspace with virtual targets. The -g or -O2 are then set in build configuration options not in project options. This is useful when build virtual target over workspace with many projects.

MortenMacFly:

--- Quote from: comsytec on December 27, 2012, 08:48:07 am ---We you this feature when building workspace with virtual targets. The -g or -O2 are then set in build configuration options not in project options. This is useful when build virtual target over workspace with many projects.

--- End quote ---
Can you be more precise? If you look at the C::B workspace its the same there w/o any extension: We have grouped targets using virtual targets there, too.

If you want to have a "release" and "debug" target across a WS what you need to do is:
- in each project create a "release" and "debug" target and setup its parameters
- in each project create a virtual target "release_build" where you select only the "release" target as member
- in each project create a virtual target "debug_build" where you select only the "debug" target as member
- add all projects to a WS
Select either "release_build" to only compile the "release" targets only or "debug_build" for the "debug" targets accordingly.

Note that you could also have another virtual target in each project named "All" which consists of both: The "release" and "debug" target. Selecting this will compile all targets in all projects for you then.

So I still fail to see whats new...?!

Jenna:

--- Quote from: comsytec on December 27, 2012, 12:14:08 am ---Options editable via global configuration Settings > Compiler and debugger ...

--- End quote ---

This menu-point does not exist in actual release any more and what's more: after the release the compiler plugin has changed a lot (merge in of xml-compiler branch).
What is the version, your changes are based on ?

By the way if you want to have debug and release settings on global compiler level, it would be possible to create a debug and release compiler and use it on project level, so you do not need to do the settings for each project/target.

Navigation

[0] Message Index

[#] Next page

Go to full version