diff options
author | Brad King <brad.king@kitware.com> | 2016-07-21 13:08:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-07-21 13:27:19 (GMT) |
commit | 5e55d87bdc4d14507fec2bae7a41f3fb9498db1a (patch) | |
tree | 5836ad2a646a2ee22fc6a2ebd39f229f9338251b /Source/cmQtAutoGenerators.h | |
parent | e31084e65745f9dd422c6aff0a2ed4ada6918805 (diff) | |
download | CMake-5e55d87bdc4d14507fec2bae7a41f3fb9498db1a.zip CMake-5e55d87bdc4d14507fec2bae7a41f3fb9498db1a.tar.gz CMake-5e55d87bdc4d14507fec2bae7a41f3fb9498db1a.tar.bz2 |
Autogen: Revert changes to generate moc/rcc in subdirectories
Revert these commits:
* v3.6.0-rc1~134^2
Tests: QtAutogen: Same source name in different directories test, 2016-04-13
* v3.6.0-rc1~134^2~1
Autogen: Generate qrc_NAME.cpp files in subdirectories, 2016-04-19
* v3.6.0-rc1~134^2~2
Autogen: Generate not included moc files in subdirectories, 2016-04-19
They regress existing builds that depend on the paths/symbols generated
previously. Another approach will be needed to solve the name collision
problem they were intended to solve. Leave the error diagnostics for
the colliding cases that were added in the same topic as the above
commits because they provide a useful early failure in relevant cases.
Fixes #16209.
Diffstat (limited to 'Source/cmQtAutoGenerators.h')
-rw-r--r-- | Source/cmQtAutoGenerators.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmQtAutoGenerators.h b/Source/cmQtAutoGenerators.h index 5e7fab5..86913f0 100644 --- a/Source/cmQtAutoGenerators.h +++ b/Source/cmQtAutoGenerators.h @@ -83,8 +83,6 @@ private: void Init(); - std::string SourceRelativePath(const std::string& filename); - bool NameCollisionTest(const std::map<std::string, std::string>& genFiles, std::multimap<std::string, std::string>& collisions); void NameCollisionLog( @@ -125,9 +123,8 @@ private: std::string CurrentCompileSettingsStr; std::string OldCompileSettingsStr; - std::string TargetBuildSubDir; std::string OutMocCppFilenameRel; - std::string OutMocCppFilenameAbs; + std::string OutMocCppFilename; std::list<std::string> MocIncludes; std::list<std::string> MocDefinitions; std::vector<std::string> MocOptions; |