~ubuntu-branches/ubuntu/wily/mir/wily-proposed

« back to all changes in this revision

Viewing changes to examples/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2014-10-10 14:01:26 UTC
  • mto: This revision was merged to the branch mainline in revision 84.
  • Revision ID: package-import@ubuntu.com-20141010140126-n1czko8na1kuz4ll
Tags: upstream-0.8.0+14.10.20141010
ImportĀ upstreamĀ versionĀ 0.8.0+14.10.20141010

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
 
#its a bit troubling that these need to be included for demo_input_filter
3
 
include_directories(${MIR_3RD_PARTY_INCLUDE_DIRECTORIES})
4
 
include_directories(${MIR_ANDROID_INCLUDE_DIRECTORIES})
5
2
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -fno-strict-aliasing -Wextra")
6
3
 
7
4
add_library(eglapp STATIC
8
5
  eglapp.c
9
6
)
 
7
 
 
8
add_library(exampleserverconfig STATIC
 
9
  server_configuration.cpp
 
10
)
 
11
 
10
12
target_link_libraries(eglapp
11
13
  mirclient
12
14
  ${EGL_LIBRARIES}
121
123
    ${Boost_LIBRARIES}
122
124
)
123
125
 
124
 
add_executable(mir_demo_standalone_render_overlays
125
 
    render_overlays.cpp
126
 
)
127
 
 
128
 
target_link_libraries(mir_demo_standalone_render_overlays
129
 
    mirserver
130
 
    mirtestdraw
131
 
    mircommon
132
 
)
133
 
 
134
 
set(RENDER_SURFACES_SOURCES
135
 
    render_surfaces.cpp
136
 
    buffer_render_target.cpp
137
 
    image_renderer.cpp
138
 
    server_configuration.cpp
139
 
)
140
 
add_executable(mir_demo_standalone_render_surfaces ${RENDER_SURFACES_SOURCES})
141
 
target_link_libraries(mir_demo_standalone_render_surfaces
142
 
    mirserver
143
 
    ${Boost_LIBRARIES}
144
 
)
145
 
 
146
126
add_executable(mir_demo_standalone_input_filter
147
127
  demo_input_filter.cpp
148
 
  server_configuration.cpp
149
128
)
150
129
 
151
130
target_link_libraries(mir_demo_standalone_input_filter
152
131
  mirserver
 
132
  exampleserverconfig
153
133
)
154
134
 
155
135
set (INSTALL_DEMOS
159
139
  mir_demo_client_eglflash
160
140
  mir_demo_client_egltriangle
161
141
  mir_demo_client_eglplasma
 
142
  mir_demo_client_eglcounter
162
143
  mir_demo_client_fingerpaint
163
144
  mir_demo_client_multiwin
164
145
  mir_demo_client_display_config
166
147
  mir_demo_client_prompt_session
167
148
  mir_demo_standalone_input_filter
168
149
  mir_demo_standalone_render_to_fb
169
 
  mir_demo_standalone_render_surfaces
170
150
)
171
151
 
172
 
add_subdirectory(demo-inprocess-surface-client)
173
 
add_subdirectory(demo-shell)
174
 
add_subdirectory(testdraw)
175
 
 
176
152
install(TARGETS ${INSTALL_DEMOS} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
177
153
 
178
154
add_executable(mir_demo_server_basic
179
155
  basic_server.cpp
180
156
  basic_server_configuration.cpp
181
 
  server_configuration.cpp
182
157
)
183
158
 
184
159
target_link_libraries(mir_demo_server_basic
185
160
  mirserver
 
161
  exampleserverconfig
186
162
  ${Boost_LIBRARIES}
187
163
)
188
164
 
201
177
  translucent_server_configuration.cpp
202
178
  pixel_format_selector.cpp
203
179
  basic_server_configuration.cpp
204
 
  server_configuration.cpp
205
180
)
206
181
 
207
182
target_link_libraries(mir_demo_server_translucent
208
183
  mirserver
 
184
  exampleserverconfig
209
185
  ${Boost_LIBRARIES}
210
186
)
211
187
 
212
188
install(TARGETS mir_demo_server_translucent
213
189
  RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
214
190
)
 
191
 
 
192
add_executable(mir_demo_standalone_render_overlays
 
193
    render_overlays.cpp
 
194
)
 
195
 
 
196
target_link_libraries(mir_demo_standalone_render_overlays
 
197
    mirserver
 
198
    mirtestdraw
 
199
    mircommon
 
200
)
 
201
 
 
202
install(TARGETS mir_demo_standalone_render_overlays
 
203
  RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
 
204
)
 
205
 
 
206
add_subdirectory(testdraw/)