~neon/project-neon/automoc

« back to all changes in this revision

Viewing changes to kde4automoc.cpp

  • Committer: Alexander Neundorf
  • Date: 2008-07-17 22:38:30 UTC
  • Revision ID: git-v1:a4048c9150b5e520c9440d8cdc2137229d18702a
-set the automoc4 version number once in the CMakeLists.txt, and use this version number
in the Automoc4Config.cmake and in the automoc4 executable, via configuring from Automoc4Config.cmake.in and the new automoc4_config.h.in

Alex

CCMAIL: kretz@kde.org


svn path=/trunk/kdesupport/automoc/; revision=834071

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
#include <utime.h>
47
47
#endif
48
48
 
 
49
// currently this is only used for the version number, Alex
 
50
#include "automoc4_config.h"
 
51
 
49
52
class AutoMoc
50
53
{
51
54
    public:
95
98
 
96
99
void AutoMoc::printUsage(const QString &path)
97
100
{
98
 
    cout << "usage: " << path << " <outfile> <srcdir> <builddir> <moc executable> <cmake executable> [--touch]" << endl;
 
101
    cout << "Usage: " << path << " <outfile> <srcdir> <builddir> <moc executable> <cmake executable> [--touch]" << endl;
99
102
}
100
103
 
101
104
void AutoMoc::printVersion()
102
105
{
103
 
    cout << "automoc4 0.9.84" << endl;
 
106
    cout << "automoc4 " << AUTOMOC4_VERSION << endl;
104
107
}
105
108
 
106
109
void AutoMoc::dotFilesCheck(bool x)