4
${CMAKE_BINARY_DIR}/gtk
5
${GNOME_WINDOW_SETTINGS_INCLUDE_DIRS}
11
-DMETACITY_THEME_DIR=\\\"${windowsettingsdatadir}/themes\\\"
18
2
set (desktop_file ${CMAKE_CURRENT_BINARY_DIR}/compiz.desktop)
19
3
compiz_translate_desktop_file (
20
4
${CMAKE_CURRENT_SOURCE_DIR}/compiz.desktop.in
25
9
DESTINATION ${COMPIZ_DESTDIR}${datadir}/applications
28
set (wmproperties_file ${CMAKE_CURRENT_BINARY_DIR}/compiz-wm.desktop)
29
compiz_translate_desktop_file (
30
${CMAKE_CURRENT_SOURCE_DIR}/compiz-wm.desktop.in
33
compiz_opt_install_file (
35
${windowsettingsdatadir}/gnome/wm-properties/compiz-wm.desktop
39
if (USE_GNOME_KEYBINDINGS)
40
compiz_translate_xml (
41
${CMAKE_CURRENT_SOURCE_DIR}/50-compiz-desktop-key.xml.in
42
${CMAKE_CURRENT_BINARY_DIR}/50-compiz-desktop-key.xml
44
compiz_translate_xml (
45
${CMAKE_CURRENT_SOURCE_DIR}/50-compiz-key.xml.in
46
${CMAKE_CURRENT_BINARY_DIR}/50-compiz-key.xml
49
${CMAKE_CURRENT_BINARY_DIR}/50-compiz-desktop-key.xml
50
${CMAKE_CURRENT_BINARY_DIR}/50-compiz-key.xml
52
compiz_opt_install_file (
53
${CMAKE_CURRENT_BINARY_DIR}/50-compiz-desktop-key.xml
54
${keybindingsdir}/50-compiz-desktop-key.xml
56
compiz_opt_install_file (
57
${CMAKE_CURRENT_BINARY_DIR}/50-compiz-key.xml
58
${keybindingsdir}/50-compiz-key.xml
60
endif (USE_GNOME_KEYBINDINGS)
62
add_library (gnome-compiz MODULE
63
compiz-window-manager.c
64
compiz-window-manager.h
71
set_target_properties (gnome-compiz
72
PROPERTIES OUTPUT_NAME compiz
76
target_link_libraries (
77
gnome-compiz ${GNOME_WINDOW_SETTINGS_LIBRARIES}
80
compiz_opt_install_file (
81
${CMAKE_CURRENT_BINARY_DIR}/libcompiz.so
82
${windowsettingslibdir}/window-manager-settings/libcompiz.so
12
add_custom_target (compiz.desktop ALL SOURCES ${desktop_file})