mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
additional target tool calculation fixes
This commit is contained in:
parent
c39dabe4c2
commit
e55a3d34c0
2 changed files with 2 additions and 2 deletions
|
@ -566,7 +566,7 @@ public class BuildDescription implements IBuildDescription {
|
|||
// Generate the step to build this source file
|
||||
IInputType primaryInputType = tool.getPrimaryInputType();
|
||||
if ((primaryInputType != null && !primaryInputType.getMultipleOfType()) ||
|
||||
(inputType == null && tool != fCfg.getToolFromOutputExtension(fCfg.getArtifactExtension()))){
|
||||
(inputType == null && tool != fCfg.calculateTargetTool())){
|
||||
|
||||
BuildStep action = null;
|
||||
BuildIOType argument = null;
|
||||
|
|
|
@ -1894,7 +1894,7 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator {
|
|||
IInputType primaryInputType = tool.getPrimaryInputType();
|
||||
IInputType inputType = tool.getInputType(ext);
|
||||
if ((primaryInputType != null && !primaryInputType.getMultipleOfType()) ||
|
||||
(inputType == null && !(tool == info.getToolFromOutputExtension(buildTargetExt)))) {
|
||||
(inputType == null && tool != config.calculateTargetTool())) {
|
||||
|
||||
// Try to add the rule for the file
|
||||
Vector generatedOutputs = new Vector(); // IPath's - build directory relative
|
||||
|
|
Loading…
Add table
Reference in a new issue