|
@@ -1486,11 +1486,8 @@ std::vector<BT<std::string>> cmGeneratorTarget::GetSourceFilePaths(
|
|
|
}
|
|
|
|
|
|
std::vector<std::string> debugProperties;
|
|
|
- const char* debugProp =
|
|
|
- this->Makefile->GetDefinition("CMAKE_DEBUG_TARGET_PROPERTIES");
|
|
|
- if (debugProp) {
|
|
|
- cmExpandList(debugProp, debugProperties);
|
|
|
- }
|
|
|
+ this->Makefile->GetDefExpandList("CMAKE_DEBUG_TARGET_PROPERTIES",
|
|
|
+ debugProperties);
|
|
|
|
|
|
bool debugSources =
|
|
|
!this->DebugSourcesDone && cm::contains(debugProperties, "SOURCES");
|
|
@@ -3305,11 +3302,8 @@ std::vector<BT<std::string>> cmGeneratorTarget::GetIncludeDirectories(
|
|
|
nullptr, nullptr);
|
|
|
|
|
|
std::vector<std::string> debugProperties;
|
|
|
- const char* debugProp =
|
|
|
- this->Makefile->GetDefinition("CMAKE_DEBUG_TARGET_PROPERTIES");
|
|
|
- if (debugProp) {
|
|
|
- cmExpandList(debugProp, debugProperties);
|
|
|
- }
|
|
|
+ this->Makefile->GetDefExpandList("CMAKE_DEBUG_TARGET_PROPERTIES",
|
|
|
+ debugProperties);
|
|
|
|
|
|
bool debugIncludes = !this->DebugIncludesDone &&
|
|
|
cm::contains(debugProperties, "INCLUDE_DIRECTORIES");
|
|
@@ -3492,11 +3486,8 @@ std::vector<BT<std::string>> cmGeneratorTarget::GetCompileOptions(
|
|
|
nullptr);
|
|
|
|
|
|
std::vector<std::string> debugProperties;
|
|
|
- const char* debugProp =
|
|
|
- this->Makefile->GetDefinition("CMAKE_DEBUG_TARGET_PROPERTIES");
|
|
|
- if (debugProp) {
|
|
|
- cmExpandList(debugProp, debugProperties);
|
|
|
- }
|
|
|
+ this->Makefile->GetDefExpandList("CMAKE_DEBUG_TARGET_PROPERTIES",
|
|
|
+ debugProperties);
|
|
|
|
|
|
bool debugOptions = !this->DebugCompileOptionsDone &&
|
|
|
cm::contains(debugProperties, "COMPILE_OPTIONS");
|
|
@@ -3537,11 +3528,8 @@ std::vector<BT<std::string>> cmGeneratorTarget::GetCompileFeatures(
|
|
|
nullptr);
|
|
|
|
|
|
std::vector<std::string> debugProperties;
|
|
|
- const char* debugProp =
|
|
|
- this->Makefile->GetDefinition("CMAKE_DEBUG_TARGET_PROPERTIES");
|
|
|
- if (debugProp) {
|
|
|
- cmExpandList(debugProp, debugProperties);
|
|
|
- }
|
|
|
+ this->Makefile->GetDefExpandList("CMAKE_DEBUG_TARGET_PROPERTIES",
|
|
|
+ debugProperties);
|
|
|
|
|
|
bool debugFeatures = !this->DebugCompileFeaturesDone &&
|
|
|
cm::contains(debugProperties, "COMPILE_FEATURES");
|
|
@@ -3584,11 +3572,8 @@ std::vector<BT<std::string>> cmGeneratorTarget::GetCompileDefinitions(
|
|
|
nullptr, nullptr);
|
|
|
|
|
|
std::vector<std::string> debugProperties;
|
|
|
- const char* debugProp =
|
|
|
- this->Makefile->GetDefinition("CMAKE_DEBUG_TARGET_PROPERTIES");
|
|
|
- if (debugProp) {
|
|
|
- cmExpandList(debugProp, debugProperties);
|
|
|
- }
|
|
|
+ this->Makefile->GetDefExpandList("CMAKE_DEBUG_TARGET_PROPERTIES",
|
|
|
+ debugProperties);
|
|
|
|
|
|
bool debugDefines = !this->DebugCompileDefinitionsDone &&
|
|
|
cm::contains(debugProperties, "COMPILE_DEFINITIONS");
|
|
@@ -3644,11 +3629,8 @@ std::vector<BT<std::string>> cmGeneratorTarget::GetPrecompileHeaders(
|
|
|
nullptr, nullptr);
|
|
|
|
|
|
std::vector<std::string> debugProperties;
|
|
|
- const char* debugProp =
|
|
|
- this->Makefile->GetDefinition("CMAKE_DEBUG_TARGET_PROPERTIES");
|
|
|
- if (debugProp) {
|
|
|
- cmExpandList(debugProp, debugProperties);
|
|
|
- }
|
|
|
+ this->Makefile->GetDefExpandList("CMAKE_DEBUG_TARGET_PROPERTIES",
|
|
|
+ debugProperties);
|
|
|
|
|
|
bool debugDefines = !this->DebugPrecompileHeadersDone &&
|
|
|
std::find(debugProperties.begin(), debugProperties.end(),
|
|
@@ -4025,11 +4007,8 @@ std::vector<BT<std::string>> cmGeneratorTarget::GetLinkOptions(
|
|
|
nullptr);
|
|
|
|
|
|
std::vector<std::string> debugProperties;
|
|
|
- const char* debugProp =
|
|
|
- this->Makefile->GetDefinition("CMAKE_DEBUG_TARGET_PROPERTIES");
|
|
|
- if (debugProp) {
|
|
|
- cmExpandList(debugProp, debugProperties);
|
|
|
- }
|
|
|
+ this->Makefile->GetDefExpandList("CMAKE_DEBUG_TARGET_PROPERTIES",
|
|
|
+ debugProperties);
|
|
|
|
|
|
bool debugOptions = !this->DebugLinkOptionsDone &&
|
|
|
cm::contains(debugProperties, "LINK_OPTIONS");
|
|
@@ -4287,11 +4266,8 @@ std::vector<BT<std::string>> cmGeneratorTarget::GetLinkDirectories(
|
|
|
nullptr);
|
|
|
|
|
|
std::vector<std::string> debugProperties;
|
|
|
- const char* debugProp =
|
|
|
- this->Makefile->GetDefinition("CMAKE_DEBUG_TARGET_PROPERTIES");
|
|
|
- if (debugProp) {
|
|
|
- cmExpandList(debugProp, debugProperties);
|
|
|
- }
|
|
|
+ this->Makefile->GetDefExpandList("CMAKE_DEBUG_TARGET_PROPERTIES",
|
|
|
+ debugProperties);
|
|
|
|
|
|
bool debugDirectories = !this->DebugLinkDirectoriesDone &&
|
|
|
cm::contains(debugProperties, "LINK_DIRECTORIES");
|
|
@@ -5812,11 +5788,8 @@ void cmGeneratorTarget::ReportPropertyOrigin(
|
|
|
const std::string& compatibilityType) const
|
|
|
{
|
|
|
std::vector<std::string> debugProperties;
|
|
|
- const char* debugProp = this->Target->GetMakefile()->GetDefinition(
|
|
|
- "CMAKE_DEBUG_TARGET_PROPERTIES");
|
|
|
- if (debugProp) {
|
|
|
- cmExpandList(debugProp, debugProperties);
|
|
|
- }
|
|
|
+ this->Target->GetMakefile()->GetDefExpandList(
|
|
|
+ "CMAKE_DEBUG_TARGET_PROPERTIES", debugProperties);
|
|
|
|
|
|
bool debugOrigin = !this->DebugCompatiblePropertiesDone[p] &&
|
|
|
cm::contains(debugProperties, p);
|