summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-03 01:37:00 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-03 01:37:00 +0000
commit0e865e2b7e566235912012e357111792f4e31d8c (patch)
treefd2d295c7beae0050cc8bd657f09ed294819eaf0 /src/CMakeLists.txt
downloadgtk-qt-engine-0e865e2b7e566235912012e357111792f4e31d8c.tar.gz
gtk-qt-engine-0e865e2b7e566235912012e357111792f4e31d8c.zip
Added abandoned KDE3 version of the GTK Qt theme engine
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gtk-qt-engine@1084394 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..0ca785e
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,28 @@
+# Sources
+SET(GTK-QT-SOURCES
+ qt_main.c
+ qt_qt_wrapper.cpp
+ qt_rc_style.c
+ qt_theme_draw.c)
+
+ADD_LIBRARY(qtengine SHARED ${GTK-QT-SOURCES})
+
+# Add GTK's cflags
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GTK_CFLAGS} ${BONOBO_CFLAGS}")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${GTK_CFLAGS} ${BONOBO_CFLAGS}")
+
+TARGET_LINK_LIBRARIES(qtengine ${GTK_LINK_FLAGS} ${QT_LIBRARIES} ${BONOBO_LINK_FLAGS})
+
+INSTALL(
+ TARGETS qtengine
+ DESTINATION ${INSTALL_PATH_GTK_ENGINES}
+ PERMISSIONS
+ OWNER_READ OWNER_WRITE OWNER_EXECUTE
+ GROUP_READ GROUP_EXECUTE
+ WORLD_READ WORLD_EXECUTE
+)
+
+INSTALL(
+ FILES gtkrc
+ DESTINATION "${INSTALL_PATH_GTK_THEMES}/Qt/gtk-2.0"
+) \ No newline at end of file