diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-14 21:47:40 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-19 20:36:48 (GMT) |
commit | 6b9e647239b67aff3119efbe2691fefe9c2dc28b (patch) | |
tree | 7c4ddbaa7ccb8311a1a4b44aa1230e8a790eb8cd /Source/cmExtraQbsGenerator.cxx | |
parent | 594dd9b36a7f3ac37b56c89596ff38451570de3e (diff) | |
download | CMake-6b9e647239b67aff3119efbe2691fefe9c2dc28b.zip CMake-6b9e647239b67aff3119efbe2691fefe9c2dc28b.tar.gz CMake-6b9e647239b67aff3119efbe2691fefe9c2dc28b.tar.bz2 |
cmMakefile: Port CurrentListFile clients to GetDefinition.
There is no need to store this as a member variable.
Diffstat (limited to 'Source/cmExtraQbsGenerator.cxx')
-rw-r--r-- | Source/cmExtraQbsGenerator.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmExtraQbsGenerator.cxx b/Source/cmExtraQbsGenerator.cxx index 4cc4650..c15f8da 100644 --- a/Source/cmExtraQbsGenerator.cxx +++ b/Source/cmExtraQbsGenerator.cxx @@ -182,7 +182,9 @@ void cmExtraQbsGenerator::AppendSources(cmGeneratedFileStream &fout, std::vector<cmSourceFile *> genSources; std::vector<cmSourceFile *>::const_iterator itr = sources.begin(); fout << "\t\t\tfiles: [\n" - << "\t\t\t\t\"" << t.GetMakefile()->GetCurrentListFile() << "\",\n"; + << "\t\t\t\t\"" + << t.GetMakefile()->GetDefinition("CMAKE_CURRENT_LIST_FILE") + << "\",\n"; for (; itr != sources.end(); ++itr) { if (!(*itr)->GetPropertyAsBool("GENERATED")) |