mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 01:36:01 +02:00
Bug 344009 - Eclipse CDT uses wrong command to build static library
(crossgcc, msvc)
This commit is contained in:
parent
d592d691aa
commit
c7f03bd3d9
2 changed files with 50 additions and 2 deletions
32
cross/org.eclipse.cdt.build.crossgcc/plugin.xml
Executable file → Normal file
32
cross/org.eclipse.cdt.build.crossgcc/plugin.xml
Executable file → Normal file
|
@ -78,6 +78,15 @@
|
||||||
isAbstract="false"
|
isAbstract="false"
|
||||||
name="Cross GCC Linker"
|
name="Cross GCC Linker"
|
||||||
superClass="cdt.managedbuild.tool.gnu.c.linker">
|
superClass="cdt.managedbuild.tool.gnu.c.linker">
|
||||||
|
<enablement
|
||||||
|
type="ALL">
|
||||||
|
<not>
|
||||||
|
<checkBuildProperty
|
||||||
|
property="org.eclipse.cdt.build.core.buildArtefactType"
|
||||||
|
value="org.eclipse.cdt.build.core.buildArtefactType.staticLib">
|
||||||
|
</checkBuildProperty>
|
||||||
|
</not>
|
||||||
|
</enablement>
|
||||||
</tool>
|
</tool>
|
||||||
<tool
|
<tool
|
||||||
commandLineGenerator="org.eclipse.cdt.internal.build.crossgcc.CrossCommandLineGenerator"
|
commandLineGenerator="org.eclipse.cdt.internal.build.crossgcc.CrossCommandLineGenerator"
|
||||||
|
@ -85,6 +94,29 @@
|
||||||
isAbstract="false"
|
isAbstract="false"
|
||||||
name="Cross G++ Linker"
|
name="Cross G++ Linker"
|
||||||
superClass="cdt.managedbuild.tool.gnu.cpp.linker">
|
superClass="cdt.managedbuild.tool.gnu.cpp.linker">
|
||||||
|
<enablement
|
||||||
|
type="ALL">
|
||||||
|
<not>
|
||||||
|
<checkBuildProperty
|
||||||
|
property="org.eclipse.cdt.build.core.buildArtefactType"
|
||||||
|
value="org.eclipse.cdt.build.core.buildArtefactType.staticLib">
|
||||||
|
</checkBuildProperty>
|
||||||
|
</not>
|
||||||
|
</enablement>
|
||||||
|
</tool>
|
||||||
|
<tool
|
||||||
|
commandLineGenerator="org.eclipse.cdt.internal.build.crossgcc.CrossCommandLineGenerator"
|
||||||
|
id="cdt.managedbuild.tool.gnu.cross.archiver"
|
||||||
|
isAbstract="false"
|
||||||
|
name="Cross GCC Archiver"
|
||||||
|
superClass="cdt.managedbuild.tool.gnu.archiver">
|
||||||
|
<enablement
|
||||||
|
type="ALL">
|
||||||
|
<checkBuildProperty
|
||||||
|
property="org.eclipse.cdt.build.core.buildArtefactType"
|
||||||
|
value="org.eclipse.cdt.build.core.buildArtefactType.staticLib">
|
||||||
|
</checkBuildProperty>
|
||||||
|
</enablement>
|
||||||
</tool>
|
</tool>
|
||||||
</toolChain>
|
</toolChain>
|
||||||
<projectType
|
<projectType
|
||||||
|
|
|
@ -439,14 +439,23 @@
|
||||||
id="org.eclipse.cdt.msvc.link.outputType.dll"
|
id="org.eclipse.cdt.msvc.link.outputType.dll"
|
||||||
outputs="dll">
|
outputs="dll">
|
||||||
</outputType>
|
</outputType>
|
||||||
|
<enablement
|
||||||
|
type="ALL">
|
||||||
|
<not>
|
||||||
|
<checkBuildProperty
|
||||||
|
property="org.eclipse.cdt.build.core.buildArtefactType"
|
||||||
|
value="org.eclipse.cdt.build.core.buildArtefactType.staticLib">
|
||||||
|
</checkBuildProperty>
|
||||||
|
</not>
|
||||||
|
</enablement>
|
||||||
</tool>
|
</tool>
|
||||||
<tool
|
<tool
|
||||||
command="lib"
|
command="lib"
|
||||||
|
commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}"
|
||||||
id="org.eclipse.cdt.msvc.lib"
|
id="org.eclipse.cdt.msvc.lib"
|
||||||
name="%lib.name"
|
name="%lib.name"
|
||||||
natureFilter="both"
|
natureFilter="both"
|
||||||
outputFlag="/OUT:"
|
outputFlag="/OUT:">
|
||||||
>
|
|
||||||
<supportedProperties>
|
<supportedProperties>
|
||||||
<property
|
<property
|
||||||
id="org.eclipse.cdt.build.core.buildArtefactType">
|
id="org.eclipse.cdt.build.core.buildArtefactType">
|
||||||
|
@ -474,6 +483,13 @@
|
||||||
id="org.eclipse.cdt.msvc.lib.outputType"
|
id="org.eclipse.cdt.msvc.lib.outputType"
|
||||||
outputs="lib">
|
outputs="lib">
|
||||||
</outputType>
|
</outputType>
|
||||||
|
<enablement
|
||||||
|
type="ALL">
|
||||||
|
<checkBuildProperty
|
||||||
|
property="org.eclipse.cdt.build.core.buildArtefactType"
|
||||||
|
value="org.eclipse.cdt.build.core.buildArtefactType.staticLib">
|
||||||
|
</checkBuildProperty>
|
||||||
|
</enablement>
|
||||||
</tool>
|
</tool>
|
||||||
</toolChain>
|
</toolChain>
|
||||||
<configuration
|
<configuration
|
||||||
|
|
Loading…
Add table
Reference in a new issue