diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-29 15:51:15 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-07 06:37:56 (GMT) |
commit | 5d3776a7ebb718ae6ed4724e0a8961cda68b6316 (patch) | |
tree | 8b8c68607a9b39b6470720443a45d3a7abb76a4a /Source/cmExtraCodeLiteGenerator.cxx | |
parent | 7ce0991a7a29e244aee3f61e9e8b1879e59d156c (diff) | |
download | CMake-5d3776a7ebb718ae6ed4724e0a8961cda68b6316.zip CMake-5d3776a7ebb718ae6ed4724e0a8961cda68b6316.tar.gz CMake-5d3776a7ebb718ae6ed4724e0a8961cda68b6316.tar.bz2 |
Access sources through cmGeneratorTarget.
Diffstat (limited to 'Source/cmExtraCodeLiteGenerator.cxx')
-rw-r--r-- | Source/cmExtraCodeLiteGenerator.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmExtraCodeLiteGenerator.cxx b/Source/cmExtraCodeLiteGenerator.cxx index c2cff14..496c1a8 100644 --- a/Source/cmExtraCodeLiteGenerator.cxx +++ b/Source/cmExtraCodeLiteGenerator.cxx @@ -196,7 +196,9 @@ void cmExtraCodeLiteGenerator case cmTarget::MODULE_LIBRARY: { std::vector<cmSourceFile*> sources; - ti->second.GetSourceFiles(sources, + cmGeneratorTarget* gt = + this->GlobalGenerator->GetGeneratorTarget(&ti->second); + gt->GetSourceFiles(sources, makefile->GetSafeDefinition("CMAKE_BUILD_TYPE")); for (std::vector<cmSourceFile*>::const_iterator si=sources.begin(); si!=sources.end(); si++) |