diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2018-01-23 01:47:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-01-23 16:10:04 (GMT) |
commit | 25243014e5367108604e03682b04dd5ec1e93673 (patch) | |
tree | 768fba75536e0f500660b05a4050a21d16099925 /Source/cmMakefile.h | |
parent | b058d92b33ab37a56ac4dcf2f1e49aec89f554e3 (diff) | |
download | CMake-25243014e5367108604e03682b04dd5ec1e93673.zip CMake-25243014e5367108604e03682b04dd5ec1e93673.tar.gz CMake-25243014e5367108604e03682b04dd5ec1e93673.tar.bz2 |
cmMakefile: use std::string in more methods; cleanup c_str()s
Follow up commit 969c1f94ae (cmSourceGroup: code improvements; use
std::string and C++11 loops, 2017-01-10).
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index f06e2ff..2721277 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -180,7 +180,7 @@ public: /** * Add an executable to the build. */ - cmTarget* AddExecutable(const char* exename, + cmTarget* AddExecutable(const std::string& exename, const std::vector<std::string>& srcs, bool excludeFromAll = false); @@ -516,7 +516,7 @@ public: /** * find what source group this source is in */ - cmSourceGroup* FindSourceGroup(const char* source, + cmSourceGroup* FindSourceGroup(const std::string& source, std::vector<cmSourceGroup>& groups) const; #endif |