mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 16:56:04 +02:00

Before this change, we had to remember to edit the config.ini every time a dependency was modified in debug.product. This change introduces a script during the build that generates the config.ini with the same list of plugins specified in debug.product. The cdtdebug.sh start-up script was simplified in the process because the config.ini includes all platform-specific plugins now and they just won't get loaded if they are not a match for the environment. Change-Id: I658b0dd8688088e203966a154e6154f1b2c851f4 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
15 lines
596 B
XML
15 lines
596 B
XML
<!-- This generates the config.ini file, based on the debug.product -->
|
|
<project name="Build specific targets and properties" default="generate.configuration">
|
|
<target name="generate.configuration" description="Generates config.ini file">
|
|
<java classname="org.eclipse.cdt.debug.application.ConfigGenerator" failonerror="true">
|
|
<arg value="-product"/>
|
|
<arg value="${product_path}"/>
|
|
<arg value="-out"/>
|
|
<arg value="${config_path}"/>
|
|
<classpath>
|
|
<pathelement path="bin"/>
|
|
<pathelement path="target/classes"/>
|
|
</classpath>
|
|
</java>
|
|
</target>
|
|
</project>
|