|
|
@ -1,27 +1,22 @@
|
|
|
|
# Sources
|
|
|
|
set( target qtengine )
|
|
|
|
SET(GTK-QT-SOURCES
|
|
|
|
|
|
|
|
|
|
|
|
set( ${target}_SRCS
|
|
|
|
qt_main.c
|
|
|
|
qt_main.c
|
|
|
|
qt_qt_wrapper.cpp
|
|
|
|
qt_qt_wrapper.cpp
|
|
|
|
qt_rc_style.c
|
|
|
|
qt_rc_style.c
|
|
|
|
qt_theme_draw.c)
|
|
|
|
qt_theme_draw.c
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
ADD_LIBRARY(qtengine SHARED ${GTK-QT-SOURCES})
|
|
|
|
tde_add_library( ${target} SHARED AUTOMOC
|
|
|
|
|
|
|
|
SOURCES ${${target}_SRCS}
|
|
|
|
|
|
|
|
LINK ${GTK_LINK_FLAGS} ${BONOBO_LINK_FLAGS} ${TQT_LIBRARIES} -lX11 -ltdecore
|
|
|
|
|
|
|
|
DESTINATION ${INSTALL_PATH_GTK_ENGINES}
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
# Add GTK's cflags
|
|
|
|
# Add GTK's cflags
|
|
|
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GTK_CFLAGS} ${BONOBO_CFLAGS}")
|
|
|
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GTK_CFLAGS} ${BONOBO_CFLAGS}")
|
|
|
|
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${GTK_CFLAGS} ${BONOBO_CFLAGS}")
|
|
|
|
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${GTK_CFLAGS} ${BONOBO_CFLAGS}")
|
|
|
|
|
|
|
|
|
|
|
|
TARGET_LINK_LIBRARIES(qtengine ${GTK_LINK_FLAGS} ${BONOBO_LINK_FLAGS} ${TQT_LIBRARIES} -lX11 -ltdecore)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INSTALL(
|
|
|
|
|
|
|
|
TARGETS qtengine
|
|
|
|
|
|
|
|
DESTINATION ${INSTALL_PATH_GTK_ENGINES}
|
|
|
|
|
|
|
|
PERMISSIONS
|
|
|
|
|
|
|
|
OWNER_READ OWNER_WRITE OWNER_EXECUTE
|
|
|
|
|
|
|
|
GROUP_READ GROUP_EXECUTE
|
|
|
|
|
|
|
|
WORLD_READ WORLD_EXECUTE
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INSTALL(
|
|
|
|
INSTALL(
|
|
|
|
FILES gtkrc
|
|
|
|
FILES gtkrc
|
|
|
|
DESTINATION "${INSTALL_PATH_GTK_THEMES}/Qt/gtk-2.0"
|
|
|
|
DESTINATION "${INSTALL_PATH_GTK_THEMES}/Qt/gtk-2.0"
|
|
|
|