diff options
author | Brad King <brad.king@kitware.com> | 2015-06-22 17:00:29 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-06-22 17:00:29 (GMT) |
commit | c7180e822b4f6ca37a5175e66016ca3a748f4727 (patch) | |
tree | 062c79132a702148c0412924baee837da4d4ccc3 /Source/cmMakefile.h | |
parent | 91611c39eb58006ced851f9eff50dd721c516aab (diff) | |
parent | 782657db48e0d5f0d33a19ad51678d36ddfa7ad5 (diff) | |
download | CMake-c7180e822b4f6ca37a5175e66016ca3a748f4727.zip CMake-c7180e822b4f6ca37a5175e66016ca3a748f4727.tar.gz CMake-c7180e822b4f6ca37a5175e66016ca3a748f4727.tar.bz2 |
Merge topic 'clean-up-cmListFileArgument'
782657db cmListFileArgument: Remove FilePath member.
a863c59f cmMakefile: Use GetExecutionFileStack method.
076760a6 cmMakefile: Add filename context to ExpandArguments.
569f4785 cmFunctionCommand: Store the FilePath when creating the prototype.
f971ab04 cmMacroCommand: Store the FilePath when creating the prototype.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 86bde0c..8930b6d 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -662,10 +662,12 @@ public: * variable replacement and list expansion. */ bool ExpandArguments(std::vector<cmListFileArgument> const& inArgs, - std::vector<std::string>& outArgs) const; + std::vector<std::string>& outArgs, + const char* filename = 0) const; bool ExpandArguments(std::vector<cmListFileArgument> const& inArgs, - std::vector<cmExpandedCommandArgument>& outArgs) const; + std::vector<cmExpandedCommandArgument>& outArgs, + const char* filename = 0) const; /** * Get the instance @@ -840,6 +842,8 @@ public: const char* GetDefineFlagsCMP0059() const; + std::string GetExecutionFilePath() const; + protected: // add link libraries and directories to the target void AddGlobalLinkInformation(const std::string& name, cmTarget& target); |