Warning, /system/qtcurve/gtk2/style/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 set(qtcurve_SRCS 0002 animation.cpp 0003 combobox.cpp 0004 dbus.cpp 0005 drawing.cpp 0006 entry.cpp 0007 helpers.cpp 0008 menu.cpp 0009 pixcache.cpp 0010 qtcurve.cpp 0011 qt_settings.cpp 0012 scrollbar.cpp 0013 scrolledwindow.cpp 0014 shadowhelper.cpp 0015 tab.cpp 0016 treeview.cpp 0017 widgetmap.cpp 0018 window.cpp 0019 wmmove.cpp) 0020 set(qtcurve_HDRS 0021 animation.h 0022 combobox.h 0023 compatability.h 0024 dbus.h 0025 drawing.h 0026 entry.h 0027 helpers.h 0028 menu.h 0029 pixcache.h 0030 qt_settings.h 0031 scrollbar.h 0032 scrolledwindow.h 0033 shadowhelper.h 0034 tab.h 0035 treeview.h 0036 widgetmap.h 0037 window.h 0038 wmmove.h) 0039 0040 translate_add_sources(${qtcurve_SRCS} ${qtcurve_HDRS}) 0041 0042 if(NOT ENABLE_GTK2) 0043 return() 0044 endif() 0045 0046 set(qtcurve_style_common_SRCS 0047 ../common/common.cpp 0048 ../common/config_file.cpp) 0049 0050 include_directories(SYSTEM ${GTK2_INCLUDE_DIRS}) 0051 include_directories(${CMAKE_CURRENT_BINARY_DIR}) 0052 0053 add_definitions(${GTK2_CFLAGS}) 0054 0055 set(GDK_PIXBUF_CSRC) 0056 find_program(GDK_PIXBUF_CSRC gdk-pixbuf-csource) 0057 if(NOT GDK_PIXBUF_CSRC) 0058 message(FATAL_ERROR "Cannot find gdk-pixbuf-csource.") 0059 endif() 0060 0061 foreach(pngname check_on check_x_on blank16x16) 0062 add_custom_command(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${pngname}-png.h" 0063 COMMAND "${GDK_PIXBUF_CSRC}" --static --raw "--name=${pngname}" 0064 "${PROJECT_SOURCE_DIR}/data/${pngname}.png" 0065 > "${CMAKE_CURRENT_BINARY_DIR}/${pngname}-png.h" 0066 DEPENDS "${GDK_PIXBUF_CSRC}" "${PROJECT_SOURCE_DIR}/data/${pngname}.png") 0067 add_custom_target(qtc_gtk2_${pngname}_hdr 0068 DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/${pngname}-png.h") 0069 endforeach() 0070 0071 set(qtcurve_SRCS ${qtcurve_SRCS} ${qtcurve_style_common_SRCS}) 0072 add_library(qtcurve-gtk2 MODULE ${qtcurve_SRCS}) 0073 0074 set_target_properties(qtcurve-gtk2 PROPERTIES 0075 LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" 0076 OUTPUT_NAME "qtcurve") 0077 add_dependencies(qtcurve-gtk2 qtc_gtk2_check_on_hdr qtc_gtk2_check_x_on_hdr 0078 qtc_gtk2_blank16x16_hdr) 0079 0080 target_link_libraries(qtcurve-gtk2 0081 ${GTK2_LDFLAGS} 0082 ${GTK2_LIBRARIES} 0083 qtcurve-utils qtcurve-cairo m) 0084 0085 install(TARGETS qtcurve-gtk2 LIBRARY DESTINATION 0086 ${GTK2_LIBDIR}/gtk-2.0/${GTK2_BIN_VERSION}/engines) 0087 install(PROGRAMS map_kde_icons.pl DESTINATION ${GTK2_THEME_DIR}/gtk-2.0) 0088 install(FILES gtkrc icons3 icons4 kdeglobals 0089 DESTINATION ${GTK2_THEME_DIR}/gtk-2.0)