diff options
author | Alex Merry <dev@randomguy3.me.uk> | 2011-10-28 14:27:24 +0200 |
---|---|---|
committer | Alex Merry <dev@randomguy3.me.uk> | 2011-10-28 14:27:24 +0200 |
commit | 0e465c8e07a45778837757d5cf1e05a8f5a331b4 (patch) | |
tree | 3eb1f71cfa47448f715da600f9425d832976b2ce | |
parent | 3c1fcb30e77ac057433da958ab565886ee51a041 (diff) |
Add CMakeLists.txt
Mainly for the benefit of kdevelop
-rw-r--r-- | CMakeLists.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..2ed8983 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,31 @@ +cmake_minimum_required (VERSION 2.8.0) + +project (mpristester) + +find_package (Qt4 4.5 REQUIRED QtCore QtGui QtDBus) +include (${QT_USE_FILE}) + +set (mpristester_SRCS + main.cpp + window.cpp + metadatamodel.cpp + mpris2/interfacetest.cpp + mpris2/rootinterfacetest.cpp + mpris2/roottestwidget.cpp + mpris2/testconsole.cpp +) +qt4_wrap_cpp (mpristester_SRCS + window.h + metadatamodel.h + mpris2/interfacetest.h + mpris2/rootinterfacetest.h + mpris2/roottestwidget.h + mpris2/testconsole.h +) +qt4_wrap_ui (mpristester_SRCS + ui/roottest.ui +) +add_executable (mpristester ${mpristester_SRCS}) +target_link_libraries (mpristester ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTDBUS_LIBRARY}) + +# vim:et:sw=3:sts=3 |