mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-20 22:55:51 +02:00
Fix Standard Make projects to work
- fix erroneous check in Configuration to use the optionalProps variable instead of props - in ContainerCommandLauncher add the project directory as an additional directory so all sources and make macros are available to the Container Change-Id: I13099d246456aa350bebbbae32cc152b3b4598bc
This commit is contained in:
parent
db3ee42b31
commit
832347339c
2 changed files with 4 additions and 1 deletions
|
@ -264,7 +264,7 @@ public class Configuration extends BuildObject implements IConfiguration, IBuild
|
||||||
buildProperties = new BuildObjectProperties(props, this, this);
|
buildProperties = new BuildObjectProperties(props, this, this);
|
||||||
|
|
||||||
String optionalProps = SafeStringInterner.safeIntern(element.getAttribute(OPTIONAL_BUILD_PROPERTIES));
|
String optionalProps = SafeStringInterner.safeIntern(element.getAttribute(OPTIONAL_BUILD_PROPERTIES));
|
||||||
if(props != null)
|
if(optionalProps != null)
|
||||||
optionalBuildProperties = new OptionalBuildProperties(optionalProps);
|
optionalBuildProperties = new OptionalBuildProperties(optionalProps);
|
||||||
|
|
||||||
String artType = SafeStringInterner.safeIntern(element.getAttribute(BUILD_ARTEFACT_TYPE));
|
String artType = SafeStringInterner.safeIntern(element.getAttribute(BUILD_ARTEFACT_TYPE));
|
||||||
|
|
|
@ -120,6 +120,9 @@ public class ContainerCommandLauncher
|
||||||
|
|
||||||
List<String> additionalDirs = new ArrayList<>();
|
List<String> additionalDirs = new ArrayList<>();
|
||||||
|
|
||||||
|
//
|
||||||
|
additionalDirs.add(fProject.getLocation().toPortableString());
|
||||||
|
|
||||||
ArrayList<String> commandSegments = new ArrayList<>();
|
ArrayList<String> commandSegments = new ArrayList<>();
|
||||||
|
|
||||||
StringBuilder b = new StringBuilder();
|
StringBuilder b = new StringBuilder();
|
||||||
|
|
Loading…
Add table
Reference in a new issue