summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/SameName/main.cpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-12-18 10:28:27 (GMT)
committerBrad King <brad.king@kitware.com>2019-12-18 10:34:27 (GMT)
commit7fa7f55230fda5ac0135b1f4a220c15ad5983857 (patch)
treebfea0ed3fd5aedc07ba48262c134c8d4371925b2 /Tests/QtAutogen/SameName/main.cpp
parent4771c4e447c88a0e6a361d98c2c6f44ac7746ad3 (diff)
downloadCMake-7fa7f55230fda5ac0135b1f4a220c15ad5983857.zip
CMake-7fa7f55230fda5ac0135b1f4a220c15ad5983857.tar.gz
CMake-7fa7f55230fda5ac0135b1f4a220c15ad5983857.tar.bz2
Autogen: Revert processing of .hh files for compatibility
Since commit 4a9154537c (Autogen: Use cmake::IsHeader/SourceExtension for file type detection, 2019-07-02, v3.16.0-rc1~470^2~4) we process `.hh` files with `AUTOMOC`. However, this change can break existing projects that do not expect the behavior. Revert it for now. It can be restored later via a policy. Fixes: #20101
Diffstat (limited to 'Tests/QtAutogen/SameName/main.cpp')
-rw-r--r--Tests/QtAutogen/SameName/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Tests/QtAutogen/SameName/main.cpp b/Tests/QtAutogen/SameName/main.cpp
index 725f4cd..19a6f6d 100644
--- a/Tests/QtAutogen/SameName/main.cpp
+++ b/Tests/QtAutogen/SameName/main.cpp
@@ -6,7 +6,6 @@
#include "item.hpp"
#include "object.h"
#include "object.h++"
-#include "object.hh"
#include "object.hpp"
#include "object.hxx"
#include "object_upper_ext.H"
@@ -22,7 +21,6 @@ int main(int argv, char** args)
::ccc::Item ccc_item;
// Object instances
::Object_h obj_h;
- ::Object_hh obj_hh;
::Object_hplpl obj_hplpl;
::Object_hpp obj_hpp;
::Object_hxx obj_hxx;