summaryrefslogtreecommitdiff
path: root/navit/graphics/qt_qpainter
diff options
context:
space:
mode:
authorrikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-10-02 19:58:55 +0000
committerrikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-10-02 19:58:55 +0000
commitfaf8136eb0ffa70ee5d9494b4b387c0aabaac8b5 (patch)
treee2cdd914ff2b3be4c97a0d3ffb150ab13068f3d1 /navit/graphics/qt_qpainter
parentcf3d13d788278d4989fe0f0287fc224087d36f32 (diff)
downloadnavit-faf8136eb0ffa70ee5d9494b4b387c0aabaac8b5.tar.gz
Add:core:Initial support for cmake build system. This first stage partly supports windows and linux platforms.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3589 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/graphics/qt_qpainter')
-rw-r--r--navit/graphics/qt_qpainter/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/navit/graphics/qt_qpainter/CMakeLists.txt b/navit/graphics/qt_qpainter/CMakeLists.txt
new file mode 100644
index 000000000..c87bb81ac
--- /dev/null
+++ b/navit/graphics/qt_qpainter/CMakeLists.txt
@@ -0,0 +1,10 @@
+# Create a library called "Hello" which includes the source file "hello.cxx".
+# The extension is already found. Any number of sources could be listed here.
+
+add_definitions( -DMODULE=graphics_qt_qpainter )
+
+QT4_GENERATE_MOC(graphics_qt_qpainter.cpp graphics_qt_qpainter.moc)
+
+include_directories(${CMAKE_CURRENT_BINARY_DIR})
+add_library(graphics_qt_qpainter ${MODULE_BUILD_TYPE} graphics_qt_qpainter.moc graphics_qt_qpainter.cpp )
+