summaryrefslogtreecommitdiffstats
path: root/Source/cmRulePlaceholderExpander.h
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-10-26 16:08:56 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2020-11-28 15:02:58 (GMT)
commit3401403f69033446a5dcefd60dd8c375eaa58a44 (patch)
treef16f53fd7b8cdc0eb02a50bcc636cbf6f5a719e7 /Source/cmRulePlaceholderExpander.h
parenta97c41bf8b7748037b08d881b620285b64b1881f (diff)
downloadCMake-3401403f69033446a5dcefd60dd8c375eaa58a44.zip
CMake-3401403f69033446a5dcefd60dd8c375eaa58a44.tar.gz
CMake-3401403f69033446a5dcefd60dd8c375eaa58a44.tar.bz2
Refactoring: Introduce place-holder for dependency target.
These changes are in preparation of compiler generated dependencies support for Makefiles generators * compiler output and dependency target can be different for Makefiles generators * resolve inconsistency naming for dependency file place-holder
Diffstat (limited to 'Source/cmRulePlaceholderExpander.h')
-rw-r--r--Source/cmRulePlaceholderExpander.h78
1 files changed, 39 insertions, 39 deletions
diff --git a/Source/cmRulePlaceholderExpander.h b/Source/cmRulePlaceholderExpander.h
index c8d107d..710f8a6 100644
--- a/Source/cmRulePlaceholderExpander.h
+++ b/Source/cmRulePlaceholderExpander.h
@@ -27,45 +27,45 @@ public:
// ExpandRuleVariables
struct RuleVariables
{
- RuleVariables();
- const char* CMTargetName;
- const char* CMTargetType;
- const char* TargetPDB;
- const char* TargetCompilePDB;
- const char* TargetVersionMajor;
- const char* TargetVersionMinor;
- const char* Language;
- const char* AIXExports;
- const char* Objects;
- const char* Target;
- const char* LinkLibraries;
- const char* Source;
- const char* AssemblySource;
- const char* PreprocessedSource;
- const char* Output;
- const char* Object;
- const char* ObjectDir;
- const char* ObjectFileDir;
- const char* Flags;
- const char* ObjectsQuoted;
- const char* SONameFlag;
- const char* TargetSOName;
- const char* TargetInstallNameDir;
- const char* LinkFlags;
- const char* Manifests;
- const char* LanguageCompileFlags;
- const char* Defines;
- const char* Includes;
- const char* DependencyFile;
- const char* FilterPrefix;
- const char* SwiftLibraryName;
- const char* SwiftModule;
- const char* SwiftModuleName;
- const char* SwiftOutputFileMap;
- const char* SwiftSources;
- const char* ISPCHeader;
- const char* Fatbinary;
- const char* RegisterFile;
+ const char* CMTargetName = nullptr;
+ const char* CMTargetType = nullptr;
+ const char* TargetPDB = nullptr;
+ const char* TargetCompilePDB = nullptr;
+ const char* TargetVersionMajor = nullptr;
+ const char* TargetVersionMinor = nullptr;
+ const char* Language = nullptr;
+ const char* AIXExports = nullptr;
+ const char* Objects = nullptr;
+ const char* Target = nullptr;
+ const char* LinkLibraries = nullptr;
+ const char* Source = nullptr;
+ const char* AssemblySource = nullptr;
+ const char* PreprocessedSource = nullptr;
+ const char* Output = nullptr;
+ const char* Object = nullptr;
+ const char* ObjectDir = nullptr;
+ const char* ObjectFileDir = nullptr;
+ const char* Flags = nullptr;
+ const char* ObjectsQuoted = nullptr;
+ const char* SONameFlag = nullptr;
+ const char* TargetSOName = nullptr;
+ const char* TargetInstallNameDir = nullptr;
+ const char* LinkFlags = nullptr;
+ const char* Manifests = nullptr;
+ const char* LanguageCompileFlags = nullptr;
+ const char* Defines = nullptr;
+ const char* Includes = nullptr;
+ const char* DependencyFile = nullptr;
+ const char* DependencyTarget = nullptr;
+ const char* FilterPrefix = nullptr;
+ const char* SwiftLibraryName = nullptr;
+ const char* SwiftModule = nullptr;
+ const char* SwiftModuleName = nullptr;
+ const char* SwiftOutputFileMap = nullptr;
+ const char* SwiftSources = nullptr;
+ const char* ISPCHeader = nullptr;
+ const char* Fatbinary = nullptr;
+ const char* RegisterFile = nullptr;
};
// Expand rule variables in CMake of the type found in language rules