|
|
@@ -21,6 +21,7 @@
|
|
|
#include "cmMakefile.h"
|
|
|
#include "cmOSXBundleGenerator.h"
|
|
|
#include "cmOutputConverter.h"
|
|
|
+#include "cmProperty.h"
|
|
|
#include "cmRulePlaceholderExpander.h"
|
|
|
#include "cmState.h"
|
|
|
#include "cmStateDirectory.h"
|
|
|
@@ -366,10 +367,10 @@ void cmMakefileLibraryTargetGenerator::WriteNvidiaDeviceLibraryRules(
|
|
|
vars.TargetCompilePDB = targetOutPathCompilePDB.c_str();
|
|
|
|
|
|
std::string launcher;
|
|
|
- const char* val = this->LocalGenerator->GetRuleLauncher(
|
|
|
- this->GeneratorTarget, "RULE_LAUNCH_LINK");
|
|
|
+ cmProp val = this->LocalGenerator->GetRuleLauncher(this->GeneratorTarget,
|
|
|
+ "RULE_LAUNCH_LINK");
|
|
|
if (cmNonempty(val)) {
|
|
|
- launcher = cmStrCat(val, ' ');
|
|
|
+ launcher = cmStrCat(*val, ' ');
|
|
|
}
|
|
|
|
|
|
std::unique_ptr<cmRulePlaceholderExpander> rulePlaceholderExpander(
|
|
|
@@ -816,10 +817,10 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules(
|
|
|
vars.LanguageCompileFlags = langFlags.c_str();
|
|
|
|
|
|
std::string launcher;
|
|
|
- const char* val = this->LocalGenerator->GetRuleLauncher(
|
|
|
- this->GeneratorTarget, "RULE_LAUNCH_LINK");
|
|
|
+ cmProp val = this->LocalGenerator->GetRuleLauncher(this->GeneratorTarget,
|
|
|
+ "RULE_LAUNCH_LINK");
|
|
|
if (cmNonempty(val)) {
|
|
|
- launcher = cmStrCat(val, ' ');
|
|
|
+ launcher = cmStrCat(*val, ' ');
|
|
|
}
|
|
|
|
|
|
std::unique_ptr<cmRulePlaceholderExpander> rulePlaceholderExpander(
|