Delphi OTA: is there any way to get active configuration when building (D2010)?

I can ask Delphi to collect all the configurations at once - by clicking Build Configurations and calling the Make command:

Build all confs
(source: free.fr )

This will create all the configurations one by one.

The problem is that we have an IDE expert who must respond to compilation events. We register IOTAIDENotifier80 to intercept events. There are BeforeBuild and AfterBuild events - we are interested in them. IOTAProject is passed to each event.

, . .. "" ( ) - BeforeBuild/AfterBuild ( IDE ). IOTAP- .

IOTAProjectOptionsConfigurations, ActiveConfiguration "" , .

: "" ?

+3
1

. .

, . XML, XPath . , .dproj. , , .. bds.exe , . , "make", , , .

, IDE Expert, , , .dproj. , , xml-.

+1

Source: https://habr.com/ru/post/1740742/


All Articles