forked from mixxxdj/mixxx
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "chore: Remove
moc_included_test.cpp
"
This reverts commit 2ec66c8.
- Loading branch information
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#include "../mocs_compilation.cpp" | ||
|
||
// QT_VERSION will be defined by any moc_<header_base>.cpp file included from mocs_compilation.cpp | ||
// It is empty in case all moc files are included, a requirement to speed up incremental builds. | ||
// See https://cmake.org/cmake/help/latest/prop_tgt/AUTOMOC.html for details. | ||
#ifdef QT_VERSION | ||
#error mocs_compilation.cpp not empty. Move all #include "moc_<header_base>.cpp" lines from mocs_compilation.cpp to the cpp files of the related classes. | ||
#endif |