Skip to content
Permalink
Browse files
Use QT4_GENERATE_MOC to build moc
git-svn-id: http://svn.osgeo.org/qgis/trunk@6950 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed May 21, 2007
1 parent c90f2c4 commit 38953d5b2c5fb230a20c198878345e84a3a6c579
Showing with 4 additions and 3 deletions.
  1. +4 −3 tests/src/core/CMakeLists.txt
@@ -4,9 +4,10 @@
# application test

SET(applicationtest_SRCS testqgsapplication.cpp)
SET(applicationtest_MOC_CPPS testqgsapplication.cpp)
QT4_WRAP_CPP(applicationtest_MOC_SRCS ${applicationtest_MOC_CPPS})
ADD_CUSTOM_TARGET(applicationtestmoc ALL DEPENDS ${applicationtest_MOC_SRCS})
QT4_GENERATE_MOC(${CMAKE_CURRENT_SOURCE_DIR}/testqgsapplication.cpp testqgsapplication.moc)
#SET(applicationtest_MOC_CPPS testqgsapplication.cpp)
#QT4_WRAP_CPP(applicationtest_MOC_SRCS ${applicationtest_MOC_CPPS})
#ADD_CUSTOM_TARGET(applicationtestmoc ALL DEPENDS ${applicationtest_MOC_SRCS})
#QT4_GENERATE_MOC(${CMAKE_CURRENT_SOURCE_DIR}/testqgsapplication.cpp moc_testqgsapplication.cxx)

#####################################################

0 comments on commit 38953d5

Please sign in to comment.