1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
include (CompizBcop)
compiz_add_bcop_targets (
core
${compiz_BINARY_DIR}/generated/core.xml.in
_bcop_sources
)
include_directories (
${compiz_SOURCE_DIR}/include
${compiz_BINARY_DIR}
${compiz_BINARY_DIR}/generated
${CMAKE_CURRENT_SOURCE_DIR}
${COMPIZ_INCLUDE_DIRS}
${CMAKE_PREFIX_PATH}/include
${CMAKE_INCLUDE_PATH}
)
add_definitions (
-DHAVE_CONFIG_H
-DPLUGINDIR=\\\"${compiz_plugindir}\\\"
-DSHAREDIR=\\\"${compiz_sharedir}\\\"
-DMETADATADIR=\\\"${compiz_metadatadir}\\\"
)
link_directories (
${COMPIZ_LINK_DIRS}
)
add_executable (compiz
region.cpp
atoms.cpp
timer.cpp
main.cpp
actions.cpp
screen.cpp
window.cpp
action.cpp
option.cpp
string.cpp
match.cpp
pluginclasses.cpp
event.cpp
plugin.cpp
session.cpp
output.cpp
rect.cpp
size.cpp
point.cpp
windowgeometry.cpp
icon.cpp
modifierhandler.cpp
propertywriter.cpp
eventsource.cpp
timeouthandler.cpp
valueholder.cpp
logmessage.cpp
stackdebugger.cpp
${_bcop_sources}
)
target_link_libraries (
compiz ${COMPIZ_LIBRARIES} m pthread dl
)
install (
TARGETS compiz
DESTINATION ${COMPIZ_DESTDIR}${exec_prefix}
)
|