mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
automoc: add test for including the moc file from another header
including moc_xyz.cpp in abc.cpp should run moc on xyz.h (and include the file in abc.cpp) Alex
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
/*============================================================================
|
||||
CMake - Cross Platform Makefile Generator
|
||||
Copyright 2004-2011 Kitware, Inc.
|
||||
Copyright 2011 Alexander Neundorf (neundorf@kde.org)
|
||||
|
||||
Distributed under the OSI-approved BSD License (the "License");
|
||||
see accompanying file Copyright.txt for details.
|
||||
|
||||
This software is distributed WITHOUT ANY WARRANTY; without even the
|
||||
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
See the License for more information.
|
||||
============================================================================*/
|
||||
|
||||
|
||||
#include "xyz.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
Xyz::Xyz()
|
||||
:QObject()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void Xyz::doXyz()
|
||||
{
|
||||
printf("This is xyz !\n");
|
||||
}
|
||||
Reference in New Issue
Block a user