[Cmake] BUG in QT_WRAP_CPP
Filipe Sousa
filipe . gr . sousa at alunos . ipb . pt
Mon, 08 Dec 2003 11:54:48 +0000
This is a multi-part message in MIME format.
--------------080400040503000406000205
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
In cmake 1.8.2 the generated moc file should depend on .h file. Every
time I change the .h file cmake should recreate the moc file as it
happens in prior versions.
I attach two files that shows the code corresponding to QT_WRAP_CPP in
cmake 1.8.1 and 1.8.2
Thanks.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail . mozdev . org
iD8DBQE/1GaHbQdNYqwwwCwRApwYAJ9L+pvV6TgNVFolZbhASND9BkyfNQCffRva
ED2ZxTpT2mQNjwLdMvx2EQU=
=gtvZ
-----END PGP SIGNATURE-----
--------------080400040503000406000205
Content-Type: text/plain;
name="makefile-1.8.1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="makefile-1.8.1"
/home/phil/tmp/testqt/Build-1.8.1/moc_myobject.cxx: /usr/share/qt3/bin/moc /home/phil/tmp/testqt/myobject.h
@echo "Building Custom command /home/phil/tmp/testqt/Build-1.8.1/moc_myobject.cxx..."
/usr/share/qt3/bin/moc -o /home/phil/tmp/testqt/Build-1.8.1/moc_myobject.cxx /home/phil/tmp/testqt/myobject.h
--------------080400040503000406000205
Content-Type: text/plain;
name="makefile-1.8.2"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="makefile-1.8.2"
/home/phil/tmp/testqt/Build-1.8.2/moc_myobject.cxx: /usr/bin/moc
@echo "Building QT Wrapped File /home/phil/tmp/testqt/Build-1.8.2/moc_myobject.cxx..."
/usr/bin/moc -o /home/phil/tmp/testqt/Build-1.8.2/moc_myobject.cxx /home/phil/tmp/testqt/myobject.h
--------------080400040503000406000205--