~raof/mir/prober-drm-device-probe

« back to all changes in this revision

Viewing changes to src/client/CMakeLists.txt

  • Committer: Tarmac
  • Author(s): Kevin DuBois
  • Date: 2012-11-13 10:47:37 UTC
  • mfrom: (227.2.7 move-demo-clients)
  • Revision ID: tarmac-20121113104737-dk8fzkfgrb6awrvt
client: examples: move the demo clients out of src/client and into examples/.

Approved by Alan Griffiths, PS Jenkins bot, Alexandros Frantzis.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
  ${CMAKE_CURRENT_BINARY_DIR}/mirclient.pc
27
27
)
28
28
 
29
 
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -fno-strict-aliasing -Wextra")
30
 
 
31
29
if(PROTOBUF_FOUND)
32
30
 
33
31
include_directories(
108
106
  TARGETS mirclient
109
107
  LIBRARY DESTINATION lib)
110
108
 
111
 
 
112
 
add_executable(
113
 
  mir_demo_client
114
 
  
115
 
  demo_client.c
116
 
)
117
 
 
118
 
target_link_libraries(
119
 
  mir_demo_client
120
 
  
121
 
  mirclient
122
 
  mirprotobuf
123
 
  
124
 
  ${Boost_LIBRARIES}
125
 
  ${PROTOBUF_LIBRARIES}
126
 
  ${CMAKE_THREAD_LIBS_INIT}
127
 
)
128
 
 
129
 
add_executable(
130
 
  mir_demo_client_unaccelerated
131
 
  
132
 
  demo_client_unaccelerated.c
133
 
)
134
 
 
135
 
target_link_libraries(
136
 
  mir_demo_client_unaccelerated
137
 
  
138
 
  mirclient
139
 
  mirprotobuf
140
 
  
141
 
  ${Boost_LIBRARIES}
142
 
  ${PROTOBUF_LIBRARIES}
143
 
  ${CMAKE_THREAD_LIBS_INIT}
144
 
)
145
 
 
146
 
add_executable(
147
 
  mir_demo_client_accelerated
148
 
  
149
 
  demo_client_accelerated.cpp
150
 
)
151
 
 
152
 
target_link_libraries(
153
 
  mir_demo_client_accelerated
154
 
  
155
 
  test-utils
156
 
  mirclient
157
 
  mirprotobuf
158
 
  
159
 
  ${Boost_LIBRARIES}
160
 
  ${PROTOBUF_LIBRARIES}
161
 
  ${CMAKE_THREAD_LIBS_INIT}
162
 
  ${EGL_LIBRARIES}
163
 
  ${GLESv2_LIBRARIES}
164
 
 
165
 
)
166
 
 
167
 
install(
168
 
  TARGETS mir_demo_client
169
 
  RUNTIME DESTINATION bin)
170
 
 
171
109
set_target_properties(
172
110
  mirclient
173
111
  PROPERTIES