From d88c252a402d164307fda283e5f0b1c8a47716d6 Mon Sep 17 00:00:00 2001 From: David Inglis Date: Mon, 4 Nov 2002 19:28:32 +0000 Subject: [PATCH] Since standard make project don't really know what there target platform is lets (for now) assume any "*" if the extension does not list any, in the future we'll call ICOwner.getPlatform(IProject) (new) to give back a target platform which the user has given us. --- core/org.eclipse.cdt.core/plugin.xml | 69 ++++++++++++++----- .../org/eclipse/cdt/internal/core/COwner.java | 2 +- 2 files changed, 53 insertions(+), 18 deletions(-) diff --git a/core/org.eclipse.cdt.core/plugin.xml b/core/org.eclipse.cdt.core/plugin.xml index 4b9f94d08ce..38464aef3ed 100644 --- a/core/org.eclipse.cdt.core/plugin.xml +++ b/core/org.eclipse.cdt.core/plugin.xml @@ -92,9 +92,8 @@ name="%makeproject.name" point="org.eclipse.cdt.core.CProject"> - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/COwner.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/COwner.java index 7b488ef4dd0..c9a14481246 100644 --- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/COwner.java +++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/COwner.java @@ -50,7 +50,7 @@ public class COwner implements ICOwnerInfo { } } } - return fPlatform; + return fPlatform == null ? "*" : fPlatform; } void configure(IProject project, ICDescriptor cproject) throws CoreException {