Merge lp:~davidgomes/noise/cmakelists-fixes into lp:~elementary-apps/noise/trunk
- cmakelists-fixes
- Merge into trunk
Proposed by
David Gomes
Status: | Merged |
---|---|
Approved by: | Cody Garver |
Approved revision: | 1534 |
Merged at revision: | 1531 |
Proposed branch: | lp:~davidgomes/noise/cmakelists-fixes |
Merge into: | lp:~elementary-apps/noise/trunk |
Diff against target: |
852 lines (+362/-363) 8 files modified
CMakeLists.txt (+107/-107) core/CMakeLists.txt (+85/-86) data/CMakeLists.txt (+1/-1) images/CMakeLists.txt (+48/-48) plugins/CMakeLists.txt (+13/-13) po/CMakeLists.txt (+3/-3) schemas/CMakeLists.txt (+2/-2) src/CMakeLists.txt (+103/-103) |
To merge this branch: | bzr merge lp:~davidgomes/noise/cmakelists-fixes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cody Garver (community) | Approve | ||
Review via email: mp+185724@code.launchpad.net |
Commit message
CMakeLists.txt: Code style fixes and removed check for CXX compiler.
Description of the change
General code style fixes and removed check for g++.
To post a comment you must log in.
- 1532. By David Gomes
-
More code style fixes.
- 1533. By David Gomes
-
More and more fixes to CMake style.
- 1534. By David Gomes
-
Yet more fixes.
Revision history for this message
Cody Garver (codygarver) : | # |
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'CMakeLists.txt' |
2 | --- CMakeLists.txt 2013-08-17 06:52:05 +0000 |
3 | +++ CMakeLists.txt 2013-09-16 07:14:02 +0000 |
4 | @@ -1,21 +1,21 @@ |
5 | # check http://elementaryos.org/docs/developer-guide/cmake/simple-project |
6 | |
7 | -cmake_minimum_required(VERSION 2.6) |
8 | -cmake_policy(VERSION 2.6) |
9 | -project(noise) |
10 | -list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) |
11 | - |
12 | -set(GETTEXT_PACKAGE ${CMAKE_PROJECT_NAME}) |
13 | -set(RELEASE_NAME "Luna") |
14 | -set(VERSION "0.2.4") |
15 | -set(VERSION_INFO "Stable Release") |
16 | - |
17 | -set(DATADIR ${CMAKE_INSTALL_PREFIX}/share) |
18 | -set(PKG_DATADIR ${DATADIR}/${CMAKE_PROJECT_NAME}) |
19 | -set(ICON_DIR ${DATADIR}/${CMAKE_PROJECT_NAME}/icons) |
20 | -set(PLUGIN_DIR ${CMAKE_INSTALL_PREFIX}/lib/${CMAKE_PROJECT_NAME}/plugins) |
21 | - |
22 | -add_definitions("-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\"") |
23 | +cmake_minimum_required (VERSION 2.6) |
24 | +cmake_policy (VERSION 2.6) |
25 | +project (noise C) |
26 | +list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) |
27 | + |
28 | +set (GETTEXT_PACKAGE ${CMAKE_PROJECT_NAME}) |
29 | +set (RELEASE_NAME "Luna") |
30 | +set (VERSION "0.2.4") |
31 | +set (VERSION_INFO "Stable Release") |
32 | + |
33 | +set (DATADIR ${CMAKE_INSTALL_PREFIX}/share) |
34 | +set (PKG_DATADIR ${DATADIR}/${CMAKE_PROJECT_NAME}) |
35 | +set (ICON_DIR ${DATADIR}/${CMAKE_PROJECT_NAME}/icons) |
36 | +set (PLUGIN_DIR ${CMAKE_INSTALL_PREFIX}/lib/${CMAKE_PROJECT_NAME}/plugins) |
37 | + |
38 | +add_definitions ("-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\"") |
39 | |
40 | # Add 'make dist' command for creating release tarball |
41 | set (CPACK_PACKAGE_VERSION ${VERSION}) |
42 | @@ -26,19 +26,19 @@ |
43 | include (CPack) |
44 | add_custom_target (dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source) |
45 | |
46 | -option(BUILD_SHARED_LIBS "Switch between shared and static libraries" ON) |
47 | +option (BUILD_SHARED_LIBS "Switch between shared and static libraries" ON) |
48 | |
49 | if (BUILD_SHARED_LIBS) |
50 | - message("-- Shared libraries enabled") |
51 | + message ("-- Shared libraries enabled") |
52 | else () |
53 | - message("-- Shared libraries disabled") |
54 | + message ("-- Shared libraries disabled") |
55 | endif () |
56 | |
57 | -set(SRC_TARGET ${CMAKE_PROJECT_NAME}) |
58 | -set(CORE_LIBRARY_NAME ${SRC_TARGET}-core) |
59 | +set (SRC_TARGET ${CMAKE_PROJECT_NAME}) |
60 | +set (CORE_LIBRARY_NAME ${SRC_TARGET}-core) |
61 | |
62 | if (NOT BUILD_SHARED_LIBS) |
63 | - set(CORE_LIBRARY_NAME ${CORE_LIBRARY_NAME}-static) |
64 | + set (CORE_LIBRARY_NAME ${CORE_LIBRARY_NAME}-static) |
65 | endif () |
66 | |
67 | # |
68 | @@ -50,110 +50,110 @@ |
69 | # *_PKG would use the name of the package known by pkg-config. |
70 | # |
71 | |
72 | -set(CORE_PACKAGES |
73 | - glib-2.0 |
74 | - gio-2.0 |
75 | - gee-1.0 |
76 | - libpeas-1.0 |
77 | - libpeas-gtk-1.0 |
78 | - gtk+-3.0 |
79 | - granite |
80 | - gstreamer-0.10 |
81 | - gstreamer-interfaces-0.10 |
82 | - gstreamer-pbutils-0.10 |
83 | - gstreamer-tag-0.10 |
84 | -) |
85 | - |
86 | -set(CORE_PKG |
87 | - glib-2.0>=2.32 |
88 | - gio-2.0 |
89 | - gee-1.0 |
90 | - libpeas-1.0 |
91 | - libpeas-gtk-1.0 |
92 | - gtk+-3.0>=3.4.2 |
93 | - granite |
94 | - gstreamer-0.10 |
95 | - gstreamer-interfaces-0.10 |
96 | - gstreamer-tag-0.10 |
97 | - gstreamer-pbutils-0.10 |
98 | -) |
99 | - |
100 | -set(DEPS_PACKAGES |
101 | - ${CORE_LIBRARY_NAME} |
102 | - ${CORE_PACKAGES} # this is needed until we provide a ${CORE_LIBRARY_NAME}.deps file |
103 | - taglib_c |
104 | -) |
105 | - |
106 | -set(DEPS_PKG |
107 | - taglib_c |
108 | -) |
109 | - |
110 | -find_package(PkgConfig) |
111 | - |
112 | -pkg_check_modules(CORE_DEPS REQUIRED ${CORE_PKG}) |
113 | -pkg_check_modules(DEPS REQUIRED ${DEPS_PKG} ${CORE_PKG}) |
114 | - |
115 | -set(GLOBAL_VALAC_OPTIONS |
116 | - --vapidir=${CMAKE_SOURCE_DIR}/vapi |
117 | - --vapidir=${CMAKE_BINARY_DIR}/core |
118 | - --vapidir=${CMAKE_BINARY_DIR}/src |
119 | - --target-glib=2.32 |
120 | - --thread |
121 | +set (CORE_PACKAGES |
122 | + glib-2.0 |
123 | + gio-2.0 |
124 | + gee-1.0 |
125 | + libpeas-1.0 |
126 | + libpeas-gtk-1.0 |
127 | + gtk+-3.0 |
128 | + granite |
129 | + gstreamer-0.10 |
130 | + gstreamer-interfaces-0.10 |
131 | + gstreamer-pbutils-0.10 |
132 | + gstreamer-tag-0.10 |
133 | +) |
134 | + |
135 | +set (CORE_PKG |
136 | + glib-2.0>=2.32 |
137 | + gio-2.0 |
138 | + gee-1.0 |
139 | + libpeas-1.0 |
140 | + libpeas-gtk-1.0 |
141 | + gtk+-3.0>=3.4.2 |
142 | + granite |
143 | + gstreamer-0.10 |
144 | + gstreamer-interfaces-0.10 |
145 | + gstreamer-tag-0.10 |
146 | + gstreamer-pbutils-0.10 |
147 | +) |
148 | + |
149 | +set (DEPS_PACKAGES |
150 | + ${CORE_LIBRARY_NAME} |
151 | + ${CORE_PACKAGES} # this is needed until we provide a ${CORE_LIBRARY_NAME}.deps file |
152 | + taglib_c |
153 | +) |
154 | + |
155 | +set (DEPS_PKG |
156 | + taglib_c |
157 | +) |
158 | + |
159 | +find_package (PkgConfig) |
160 | + |
161 | +pkg_check_modules (CORE_DEPS REQUIRED ${CORE_PKG}) |
162 | +pkg_check_modules (DEPS REQUIRED ${DEPS_PKG} ${CORE_PKG}) |
163 | + |
164 | +set (GLOBAL_VALAC_OPTIONS |
165 | + --vapidir=${CMAKE_SOURCE_DIR}/vapi |
166 | + --vapidir=${CMAKE_BINARY_DIR}/core |
167 | + --vapidir=${CMAKE_BINARY_DIR}/src |
168 | + --target-glib=2.32 |
169 | + --thread |
170 | ) |
171 | |
172 | # |
173 | # SQLHeavy: Use version 0.2 if it is available; otherwise, fall back to 0.1 |
174 | # |
175 | -pkg_check_modules(SQLHEAVY2 QUIET sqlheavy-0.2) |
176 | +pkg_check_modules (SQLHEAVY2 QUIET sqlheavy-0.2) |
177 | if (SQLHEAVY2_FOUND) |
178 | - message("-- Will use sqlheavy-0.2") |
179 | - set(DEPS_PACKAGES ${DEPS_PACKAGES} sqlheavy-0.2) |
180 | - set(SQLHEAVY_CFLAGS ${SQLHEAVY2_CFLAGS}) |
181 | - set(SQLHEAVY_LIBRARY_DIRS ${SQLHEAVY2_LIBRARY_DIRS}) |
182 | - set(SQLHEAVY_LIBRARIES ${SQLHEAVY2_LIBRARIES}) |
183 | + message ("-- Will use sqlheavy-0.2") |
184 | + set (DEPS_PACKAGES ${DEPS_PACKAGES} sqlheavy-0.2) |
185 | + set (SQLHEAVY_CFLAGS ${SQLHEAVY2_CFLAGS}) |
186 | + set (SQLHEAVY_LIBRARY_DIRS ${SQLHEAVY2_LIBRARY_DIRS}) |
187 | + set (SQLHEAVY_LIBRARIES ${SQLHEAVY2_LIBRARIES}) |
188 | else () |
189 | - message("-- Will use sqlheavy-0.1") |
190 | - pkg_check_modules(SQLHEAVY REQUIRED sqlheavy-0.1) |
191 | - set(DEPS_PACKAGES ${DEPS_PACKAGES} sqlheavy-0.1) |
192 | + message ("-- Will use sqlheavy-0.1") |
193 | + pkg_check_modules (SQLHEAVY REQUIRED sqlheavy-0.1) |
194 | + set (DEPS_PACKAGES ${DEPS_PACKAGES} sqlheavy-0.1) |
195 | endif () |
196 | |
197 | -set(DEPS_CFLAGS ${DEPS_CFLAGS} ${SQLHEAVY_CFLAGS}) |
198 | -set(DEPS_LIBRARIES ${DEPS_LIBRARIES} ${SQLHEAVY_LIBRARIES}) |
199 | -set(DEPS_LIBRARY_DIRS ${DEPS_LIBRARY_DIRS} ${SQLHEAVY_LIBRARY_DIRS}) |
200 | +set (DEPS_CFLAGS ${DEPS_CFLAGS} ${SQLHEAVY_CFLAGS}) |
201 | +set (DEPS_LIBRARIES ${DEPS_LIBRARIES} ${SQLHEAVY_LIBRARIES}) |
202 | +set (DEPS_LIBRARY_DIRS ${DEPS_LIBRARY_DIRS} ${SQLHEAVY_LIBRARY_DIRS}) |
203 | |
204 | # |
205 | # Libnotify |
206 | # |
207 | -pkg_check_modules(LIBNOTIFY QUIET libnotify) |
208 | +pkg_check_modules (LIBNOTIFY QUIET libnotify) |
209 | if (LIBNOTIFY_FOUND) |
210 | - message("-- libnotify enabled") |
211 | - |
212 | - set(GLOBAL_VALAC_OPTIONS ${GLOBAL_VALAC_OPTIONS} --define=HAVE_LIBNOTIFY) |
213 | - |
214 | - set(DEPS_PACKAGES ${DEPS_PACKAGES} libnotify) |
215 | - |
216 | - set(DEPS_CFLAGS ${DEPS_CFLAGS} ${LIBNOTIFY_CFLAGS}) |
217 | - set(DEPS_LIBRARIES ${DEPS_LIBRARIES} ${LIBNOTIFY_LIBRARIES}) |
218 | - set(DEPS_LIBRARY_DIRS ${DEPS_LIBRARY_DIRS} ${LIBNOTIFY_LIBRARY_DIRS}) |
219 | + message ("-- libnotify enabled") |
220 | + |
221 | + set (GLOBAL_VALAC_OPTIONS ${GLOBAL_VALAC_OPTIONS} --define=HAVE_LIBNOTIFY) |
222 | + |
223 | + set (DEPS_PACKAGES ${DEPS_PACKAGES} libnotify) |
224 | + |
225 | + set (DEPS_CFLAGS ${DEPS_CFLAGS} ${LIBNOTIFY_CFLAGS}) |
226 | + set (DEPS_LIBRARIES ${DEPS_LIBRARIES} ${LIBNOTIFY_LIBRARIES}) |
227 | + set (DEPS_LIBRARY_DIRS ${DEPS_LIBRARY_DIRS} ${LIBNOTIFY_LIBRARY_DIRS}) |
228 | else () |
229 | - message("-- libnotify disabled") |
230 | + message ("-- libnotify disabled") |
231 | endif () |
232 | |
233 | -find_package(Vala REQUIRED) |
234 | -include(ValaVersion) |
235 | -ensure_vala_version("0.18.0" MINIMUM) |
236 | -include(ValaPrecompile) |
237 | +find_package (Vala REQUIRED) |
238 | +include (ValaVersion) |
239 | +ensure_vala_version ("0.18.0" MINIMUM) |
240 | +include (ValaPrecompile) |
241 | |
242 | set (DEPS_LIBRARIES ${DEPS_LIBRARIES} -lm) |
243 | -add_subdirectory(schemas) |
244 | -add_subdirectory(core) |
245 | +add_subdirectory (schemas) |
246 | +add_subdirectory (core) |
247 | |
248 | # 'src' and 'plugins' depend on the core library |
249 | -include_directories(${CMAKE_BINARY_DIR}/core) |
250 | -set(DEPS_LIBRARIES ${DEPS_LIBRARIES} ${CORE_LIBRARY_NAME}) |
251 | +include_directories (${CMAKE_BINARY_DIR}/core) |
252 | +set (DEPS_LIBRARIES ${DEPS_LIBRARIES} ${CORE_LIBRARY_NAME}) |
253 | |
254 | -add_subdirectory(src) |
255 | -add_subdirectory(plugins) |
256 | -add_subdirectory(po) |
257 | -add_subdirectory(data) |
258 | -add_subdirectory(images) |
259 | +add_subdirectory (src) |
260 | +add_subdirectory (plugins) |
261 | +add_subdirectory (po) |
262 | +add_subdirectory (data) |
263 | +add_subdirectory (images) |
264 | |
265 | === modified file 'core/CMakeLists.txt' |
266 | --- core/CMakeLists.txt 2013-06-12 18:04:28 +0000 |
267 | +++ core/CMakeLists.txt 2013-09-16 07:14:02 +0000 |
268 | @@ -1,98 +1,97 @@ |
269 | -set(CORE_LIB_VERSION 0.1) |
270 | -set(CORE_LIB_SOVERSION 0) |
271 | +set (CORE_LIB_VERSION 0.1) |
272 | +set (CORE_LIB_SOVERSION 0) |
273 | |
274 | ###################### |
275 | # lib PC file |
276 | ###################### |
277 | -set(CONFIG_FILE ${CMAKE_CURRENT_BINARY_DIR}/config.vala) |
278 | -set(PREFIX ${CMAKE_INSTALL_PREFIX}) |
279 | -set(DOLLAR "$") # You hear that? It's kittens being killed by the gods of cmake |
280 | - |
281 | -configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.vala.cmake ${CONFIG_FILE}) |
282 | -configure_file(${CMAKE_SOURCE_DIR}/core/${CORE_LIBRARY_NAME}.pc.cmake ${CMAKE_BINARY_DIR}/core/${CORE_LIBRARY_NAME}.pc) |
283 | - |
284 | -message(${CONFIG_FILE}) |
285 | - |
286 | -set(CORE_SOURCE |
287 | - ${CONFIG_FILE} |
288 | - PluginManager.vala |
289 | - Settings.vala |
290 | - EqualizerPreset.vala |
291 | - Player.vala |
292 | - LibraryWindowInterface.vala |
293 | - Library.vala |
294 | - LibrariesManager.vala |
295 | - NotificationManager.vala |
296 | - Media.vala |
297 | - Album.vala |
298 | - Devices/Device.vala |
299 | - Devices/NetworkDevice.vala |
300 | - Devices/DeviceManager.vala |
301 | - Devices/DevicePreferences.vala |
302 | - Playlists/Playlist.vala |
303 | - Playlists/StaticPlaylist.vala |
304 | - Playlists/SmartPlaylist.vala |
305 | - Playlists/SmartQuery.vala |
306 | - Utils/FileUtils.vala |
307 | - Utils/TimeUtils.vala |
308 | - Utils/String.vala |
309 | - Utils/Numeric.vala |
310 | - Utils/UI.vala |
311 | - Utils/CompareFunctionHolder.vala |
312 | - Utils/Utils.vala |
313 | - Utils/PlaylistsUtils.vala |
314 | - Utils/Threads.vala |
315 | - Utils/Icon.vala |
316 | - Utils/Icons.vala |
317 | - Utils/Search.vala |
318 | - Utils/PixbufUtils.vala |
319 | - Utils/PixbufCache.vala |
320 | - GStreamer/Pipeline.vala |
321 | - GStreamer/Equalizer.vala |
322 | - GStreamer/Playback.vala |
323 | - Widgets/SettingsWidgets.vala |
324 | - main.vala |
325 | +set (CONFIG_FILE ${CMAKE_CURRENT_BINARY_DIR}/config.vala) |
326 | +set (PREFIX ${CMAKE_INSTALL_PREFIX}) |
327 | +set (DOLLAR "$") # You hear that? It's kittens being killed by the gods of cmake |
328 | + |
329 | +configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.vala.cmake ${CONFIG_FILE}) |
330 | +configure_file (${CMAKE_SOURCE_DIR}/core/${CORE_LIBRARY_NAME}.pc.cmake ${CMAKE_BINARY_DIR}/core/${CORE_LIBRARY_NAME}.pc) |
331 | + |
332 | +message (${CONFIG_FILE}) |
333 | + |
334 | +set (CORE_SOURCE |
335 | + ${CONFIG_FILE} |
336 | + PluginManager.vala |
337 | + Settings.vala |
338 | + EqualizerPreset.vala |
339 | + Player.vala |
340 | + LibraryWindowInterface.vala |
341 | + Library.vala |
342 | + LibrariesManager.vala |
343 | + NotificationManager.vala |
344 | + Media.vala |
345 | + Album.vala |
346 | + Devices/Device.vala |
347 | + Devices/NetworkDevice.vala |
348 | + Devices/DeviceManager.vala |
349 | + Devices/DevicePreferences.vala |
350 | + Playlists/Playlist.vala |
351 | + Playlists/StaticPlaylist.vala |
352 | + Playlists/SmartPlaylist.vala |
353 | + Playlists/SmartQuery.vala |
354 | + Utils/FileUtils.vala |
355 | + Utils/TimeUtils.vala |
356 | + Utils/String.vala |
357 | + Utils/Numeric.vala |
358 | + Utils/UI.vala |
359 | + Utils/CompareFunctionHolder.vala |
360 | + Utils/Utils.vala |
361 | + Utils/PlaylistsUtils.vala |
362 | + Utils/Threads.vala |
363 | + Utils/Icon.vala |
364 | + Utils/Icons.vala |
365 | + Utils/Search.vala |
366 | + Utils/PixbufUtils.vala |
367 | + Utils/PixbufCache.vala |
368 | + GStreamer/Pipeline.vala |
369 | + GStreamer/Equalizer.vala |
370 | + GStreamer/Playback.vala |
371 | + Widgets/SettingsWidgets.vala |
372 | + main.vala |
373 | ) |
374 | |
375 | -if (BUILD_SHARED_LIBS) |
376 | - set(LINK_MODE SHARED) |
377 | +if (BUILD_SHARED_LIBS) |
378 | + set (LINK_MODE SHARED) |
379 | else () |
380 | - set(LINK_MODE STATIC) |
381 | + set (LINK_MODE STATIC) |
382 | endif () |
383 | |
384 | -set(CORE_VALAC_OPTIONS ${GLOBAL_VALAC_OPTIONS}) |
385 | - |
386 | -vala_precompile(CORE_VALA_C ${CORE_LIBRARY_NAME} |
387 | - ${CORE_SOURCE} |
388 | -PACKAGES |
389 | - ${CORE_PACKAGES} |
390 | -OPTIONS |
391 | - ${CORE_VALAC_OPTIONS} |
392 | -GENERATE_VAPI |
393 | - ${CORE_LIBRARY_NAME} |
394 | -GENERATE_HEADER |
395 | - ${CORE_LIBRARY_NAME} |
396 | -) |
397 | - |
398 | -add_definitions(${CORE_DEPS_CFLAGS}) |
399 | -link_directories(${CORE_DEPS_LIBRARY_DIRS}) |
400 | - |
401 | -add_library(${CORE_LIBRARY_NAME} ${LINK_MODE} ${CORE_VALA_C}) |
402 | - |
403 | -set_target_properties(${CORE_LIBRARY_NAME} PROPERTIES |
404 | - OUTPUT_NAME ${CORE_LIBRARY_NAME} |
405 | - VERSION ${CORE_LIB_VERSION} |
406 | - SOVERSION ${CORE_LIB_SOVERSION} |
407 | -) |
408 | - |
409 | -target_link_libraries(${CORE_LIBRARY_NAME} ${CORE_DEPS_LIBRARIES}) |
410 | +set (CORE_VALAC_OPTIONS ${GLOBAL_VALAC_OPTIONS}) |
411 | + |
412 | +vala_precompile (CORE_VALA_C ${CORE_LIBRARY_NAME} |
413 | + ${CORE_SOURCE} |
414 | + PACKAGES |
415 | + ${CORE_PACKAGES} |
416 | + OPTIONS |
417 | + ${CORE_VALAC_OPTIONS} |
418 | + GENERATE_VAPI |
419 | + ${CORE_LIBRARY_NAME} |
420 | + GENERATE_HEADER |
421 | + ${CORE_LIBRARY_NAME} |
422 | +) |
423 | + |
424 | +add_definitions (${CORE_DEPS_CFLAGS}) |
425 | +link_directories (${CORE_DEPS_LIBRARY_DIRS}) |
426 | + |
427 | +add_library (${CORE_LIBRARY_NAME} ${LINK_MODE} ${CORE_VALA_C}) |
428 | + |
429 | +set_target_properties (${CORE_LIBRARY_NAME} PROPERTIES |
430 | + OUTPUT_NAME ${CORE_LIBRARY_NAME} |
431 | + VERSION ${CORE_LIB_VERSION} |
432 | + SOVERSION ${CORE_LIB_SOVERSION} |
433 | +) |
434 | + |
435 | +target_link_libraries (${CORE_LIBRARY_NAME} ${CORE_DEPS_LIBRARIES}) |
436 | |
437 | if (BUILD_SHARED_LIBS) |
438 | - install(TARGETS ${CORE_LIBRARY_NAME} DESTINATION lib) |
439 | - # Install lib stuffs |
440 | - install (FILES ${CMAKE_BINARY_DIR}/core/${CORE_LIBRARY_NAME}.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig/) |
441 | - install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${CORE_LIBRARY_NAME}.vapi DESTINATION share/vala/vapi/) |
442 | - install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/${CORE_LIBRARY_NAME}.deps DESTINATION share/vala/vapi/) |
443 | - install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${CORE_LIBRARY_NAME}.h DESTINATION include/${CORE_LIBRARY_NAME}/) |
444 | + install (TARGETS ${CORE_LIBRARY_NAME} DESTINATION lib) |
445 | + # Install lib stuffs |
446 | + install (FILES ${CMAKE_BINARY_DIR}/core/${CORE_LIBRARY_NAME}.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig/) |
447 | + install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${CORE_LIBRARY_NAME}.vapi DESTINATION share/vala/vapi/) |
448 | + install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/${CORE_LIBRARY_NAME}.deps DESTINATION share/vala/vapi/) |
449 | + install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${CORE_LIBRARY_NAME}.h DESTINATION include/${CORE_LIBRARY_NAME}/) |
450 | endif () |
451 | - |
452 | |
453 | === modified file 'data/CMakeLists.txt' |
454 | --- data/CMakeLists.txt 2012-04-06 19:09:26 +0000 |
455 | +++ data/CMakeLists.txt 2013-09-16 07:14:02 +0000 |
456 | @@ -1,1 +1,1 @@ |
457 | -install(FILES noise.desktop DESTINATION share/applications) |
458 | +install (FILES noise.desktop DESTINATION share/applications) |
459 | |
460 | === modified file 'images/CMakeLists.txt' |
461 | --- images/CMakeLists.txt 2013-02-14 21:19:13 +0000 |
462 | +++ images/CMakeLists.txt 2013-09-16 07:14:02 +0000 |
463 | @@ -2,16 +2,16 @@ |
464 | # App icons. These are installed to the system's default theme |
465 | # |
466 | |
467 | -set(SYSTEM_DEFAULT_THEME ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor) |
468 | +set (SYSTEM_DEFAULT_THEME ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor) |
469 | |
470 | -install(FILES icons/16x16/apps/multimedia-audio-player.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/16x16/apps) |
471 | -install(FILES icons/22x22/apps/multimedia-audio-player.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/22x22/apps) |
472 | -install(FILES icons/24x24/apps/multimedia-audio-player.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/24x24/apps) |
473 | -install(FILES icons/32x32/apps/multimedia-audio-player.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/32x32/apps) |
474 | -install(FILES icons/48x48/apps/multimedia-audio-player.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/48x48/apps) |
475 | -install(FILES icons/64x64/apps/multimedia-audio-player.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/64x64/apps) |
476 | -install(FILES icons/128x128/apps/multimedia-audio-player.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/128x128/apps) |
477 | -install(FILES icons/128x128/apps/multimedia-audio-player.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/scalable/apps) |
478 | +install (FILES icons/16x16/apps/multimedia-audio-player.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/16x16/apps) |
479 | +install (FILES icons/22x22/apps/multimedia-audio-player.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/22x22/apps) |
480 | +install (FILES icons/24x24/apps/multimedia-audio-player.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/24x24/apps) |
481 | +install (FILES icons/32x32/apps/multimedia-audio-player.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/32x32/apps) |
482 | +install (FILES icons/48x48/apps/multimedia-audio-player.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/48x48/apps) |
483 | +install (FILES icons/64x64/apps/multimedia-audio-player.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/64x64/apps) |
484 | +install (FILES icons/128x128/apps/multimedia-audio-player.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/128x128/apps) |
485 | +install (FILES icons/128x128/apps/multimedia-audio-player.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/scalable/apps) |
486 | |
487 | # |
488 | # Fallback icons. These compliment the default "hicolor" theme, but are installed to a |
489 | @@ -21,46 +21,46 @@ |
490 | # Default album image and album shadow. These would not be found by the icon renderer if |
491 | # they were installed to the hicolor sub-directory, since their dimensions are not the ones |
492 | # GTK+ expects to find in a normal icon theme. They work fine in the root icon dir though. |
493 | -set(GENERIC_IMAGES |
494 | - icons/albumart.svg |
495 | - icons/albumart-shadow.png |
496 | +set (GENERIC_IMAGES |
497 | + icons/albumart.svg |
498 | + icons/albumart-shadow.png |
499 | ) |
500 | |
501 | -install(FILES ${GENERIC_IMAGES} DESTINATION ${ICON_DIR}) |
502 | +install (FILES ${GENERIC_IMAGES} DESTINATION ${ICON_DIR}) |
503 | |
504 | # location of the fallback icon theme |
505 | -set(FALLBACK_THEME_DIR ${ICON_DIR}/hicolor) |
506 | - |
507 | -set(STATUS_16 |
508 | - icons/16x16/status/media-playlist-no-shuffle-symbolic.svg |
509 | - icons/16x16/status/media-playlist-no-repeat-symbolic.svg |
510 | - icons/16x16/status/starred.svg |
511 | - icons/16x16/status/non-starred.svg |
512 | - icons/16x16/status/process-completed-symbolic.svg |
513 | - icons/16x16/status/process-error-symbolic.svg |
514 | - icons/16x16/status/audio-volume-high-symbolic.svg |
515 | - icons/16x16/status/media-playlist-repeat-one-symbolic.svg |
516 | - icons/16x16/status/media-playlist-repeat-symbolic.svg |
517 | - icons/16x16/status/media-playlist-shuffle-symbolic.svg |
518 | -) |
519 | - |
520 | -set(ACTIONS_16 |
521 | - icons/16x16/actions/pane-show-symbolic.svg |
522 | - icons/16x16/actions/pane-hide-symbolic.svg |
523 | - icons/16x16/actions/media-eq-symbolic.svg |
524 | - icons/16x16/actions/list-add-symbolic.svg |
525 | - icons/16x16/actions/love.svg |
526 | - icons/16x16/actions/ban.svg |
527 | -) |
528 | - |
529 | -set(MIMETYPES_16 |
530 | - icons/16x16/mimetypes/playlist.svg |
531 | - icons/16x16/mimetypes/playlist-automatic.svg |
532 | - icons/16x16/mimetypes/playlist-queue.svg |
533 | - icons/16x16/mimetypes/library-music.svg |
534 | - icons/16x16/mimetypes/media-cdrom-audio.svg |
535 | -) |
536 | - |
537 | -install(FILES ${STATUS_16} DESTINATION ${FALLBACK_THEME_DIR}/16x16/status) |
538 | -install(FILES ${ACTIONS_16} DESTINATION ${FALLBACK_THEME_DIR}/16x16/actions) |
539 | -install(FILES ${MIMETYPES_16} DESTINATION ${FALLBACK_THEME_DIR}/16x16/mimetypes) |
540 | +set (FALLBACK_THEME_DIR ${ICON_DIR}/hicolor) |
541 | + |
542 | +set (STATUS_16 |
543 | + icons/16x16/status/media-playlist-no-shuffle-symbolic.svg |
544 | + icons/16x16/status/media-playlist-no-repeat-symbolic.svg |
545 | + icons/16x16/status/starred.svg |
546 | + icons/16x16/status/non-starred.svg |
547 | + icons/16x16/status/process-completed-symbolic.svg |
548 | + icons/16x16/status/process-error-symbolic.svg |
549 | + icons/16x16/status/audio-volume-high-symbolic.svg |
550 | + icons/16x16/status/media-playlist-repeat-one-symbolic.svg |
551 | + icons/16x16/status/media-playlist-repeat-symbolic.svg |
552 | + icons/16x16/status/media-playlist-shuffle-symbolic.svg |
553 | +) |
554 | + |
555 | +set (ACTIONS_16 |
556 | + icons/16x16/actions/pane-show-symbolic.svg |
557 | + icons/16x16/actions/pane-hide-symbolic.svg |
558 | + icons/16x16/actions/media-eq-symbolic.svg |
559 | + icons/16x16/actions/list-add-symbolic.svg |
560 | + icons/16x16/actions/love.svg |
561 | + icons/16x16/actions/ban.svg |
562 | +) |
563 | + |
564 | +set (MIMETYPES_16 |
565 | + icons/16x16/mimetypes/playlist.svg |
566 | + icons/16x16/mimetypes/playlist-automatic.svg |
567 | + icons/16x16/mimetypes/playlist-queue.svg |
568 | + icons/16x16/mimetypes/library-music.svg |
569 | + icons/16x16/mimetypes/media-cdrom-audio.svg |
570 | +) |
571 | + |
572 | +install (FILES ${STATUS_16} DESTINATION ${FALLBACK_THEME_DIR}/16x16/status) |
573 | +install (FILES ${ACTIONS_16} DESTINATION ${FALLBACK_THEME_DIR}/16x16/actions) |
574 | +install (FILES ${MIMETYPES_16} DESTINATION ${FALLBACK_THEME_DIR}/16x16/mimetypes) |
575 | |
576 | === modified file 'plugins/CMakeLists.txt' |
577 | --- plugins/CMakeLists.txt 2013-06-12 18:04:28 +0000 |
578 | +++ plugins/CMakeLists.txt 2013-09-16 07:14:02 +0000 |
579 | @@ -1,17 +1,17 @@ |
580 | -option(BUILD_PLUGINS "Whether to build plugins or not." ON) |
581 | +option (BUILD_PLUGINS "Whether to build plugins or not." ON) |
582 | |
583 | if (BUILD_PLUGINS AND BUILD_SHARED_LIBS) |
584 | - message("-- Plugins enabled") |
585 | - |
586 | - # Currently, plugins also depend on the code located at src. This will change in the |
587 | - # future, in order to allow external plugins (plugins will only have access to the core |
588 | - # library). |
589 | - set(DEPS_PACKAGES ${DEPS_PACKAGES} ${SRC_TARGET}) |
590 | - include_directories(${CMAKE_BINARY_DIR}/src) |
591 | - |
592 | - add_subdirectory(Devices) |
593 | - add_subdirectory(LastFM) |
594 | - add_subdirectory(MPRIS) |
595 | + message("-- Plugins enabled") |
596 | + |
597 | + # Currently, plugins also depend on the code located at src. This will change in the |
598 | + # future, in order to allow external plugins (plugins will only have access to the core |
599 | + # library). |
600 | + set (DEPS_PACKAGES ${DEPS_PACKAGES} ${SRC_TARGET}) |
601 | + include_directories (${CMAKE_BINARY_DIR}/src) |
602 | + |
603 | + add_subdirectory (Devices) |
604 | + add_subdirectory (LastFM) |
605 | + add_subdirectory (MPRIS) |
606 | else () |
607 | - message("-- Plugins disabled") |
608 | + message ("-- Plugins disabled") |
609 | endif () |
610 | |
611 | === modified file 'po/CMakeLists.txt' |
612 | --- po/CMakeLists.txt 2012-09-25 06:56:04 +0000 |
613 | +++ po/CMakeLists.txt 2013-09-16 07:14:02 +0000 |
614 | @@ -1,3 +1,3 @@ |
615 | -include(Translations) |
616 | -add_translations_directory(${GETTEXT_PACKAGE}) |
617 | -add_translations_catalog(${GETTEXT_PACKAGE} ../core/ ../src/ ../plugins/) |
618 | +include (Translations) |
619 | +add_translations_directory (${GETTEXT_PACKAGE}) |
620 | +add_translations_catalog (${GETTEXT_PACKAGE} ../core/ ../src/ ../plugins/) |
621 | |
622 | === modified file 'schemas/CMakeLists.txt' |
623 | --- schemas/CMakeLists.txt 2012-05-18 20:27:57 +0000 |
624 | +++ schemas/CMakeLists.txt 2013-09-16 07:14:02 +0000 |
625 | @@ -1,2 +1,2 @@ |
626 | -include(GSettings) |
627 | -add_schema("org.pantheon.noise.gschema.xml") |
628 | +include (GSettings) |
629 | +add_schema ("org.pantheon.noise.gschema.xml") |
630 | |
631 | === modified file 'src/CMakeLists.txt' |
632 | --- src/CMakeLists.txt 2013-09-09 02:42:40 +0000 |
633 | +++ src/CMakeLists.txt 2013-09-16 07:14:02 +0000 |
634 | @@ -1,115 +1,115 @@ |
635 | -set(CLIENT_SOURCE |
636 | - main.vala |
637 | - Noise.vala |
638 | - LibraryWindow.vala |
639 | - LocalLibrary.vala |
640 | - PlaybackManager.vala |
641 | - FileOperator.vala |
642 | - Objects/LyricFetcher.vala |
643 | - Objects/MediaInfo.vala |
644 | - Objects/AlbumInfo.vala |
645 | - Objects/ArtistInfo.vala |
646 | - Objects/TrackInfo.vala |
647 | - Objects/MediaArtCache.vala |
648 | - Objects/CoverartCache.vala |
649 | - Objects/MediaKeyListener.vala |
650 | - Widgets/NavigationArrows.vala |
651 | - Widgets/SmartAlbumRenderer.vala |
652 | - Widgets/TopDisplay.vala |
653 | - Widgets/InfoPanel.vala |
654 | - Widgets/EmbeddedAlert.vala |
655 | - Widgets/SimpleOptionChooser.vala |
656 | - Widgets/PresetList.vala |
657 | - Widgets/SideBar.vala |
658 | - Widgets/SourceListView.vala |
659 | - Widgets/StatusBar.vala |
660 | - Widgets/RatingWidget.vala |
661 | - Widgets/SpaceWidget.vala |
662 | - Widgets/FixedBin.vala |
663 | - Widgets/ViewSelector.vala |
664 | - Widgets/FastView/FastGrid.vala |
665 | - Widgets/FastView/FastGridModel.vala |
666 | - Widgets/FastView/FastList.vala |
667 | - Widgets/FastView/FastListModel.vala |
668 | - DataBase/DataBaseManager.vala |
669 | - DataBase/DataBaseUpdater.vala |
670 | - DataBase/Tables.vala |
671 | - GStreamer/GStreamerTagger.vala |
672 | - GStreamer/Streamer.vala |
673 | - GStreamer/CoverImport.vala |
674 | - Views/ViewContainer.vala |
675 | - Views/Wrappers/ViewWrapper.vala |
676 | - Views/Wrappers/MusicViewWrapper.vala |
677 | - Views/Wrappers/DeviceViewWrapper.vala |
678 | - Views/Wrappers/PlaylistViewWrapper.vala |
679 | - Views/Wrappers/ReadOnlyPlaylistViewWrapper.vala |
680 | - Views/DeviceView.vala |
681 | - Views/DeviceSummaryWidget.vala |
682 | - Views/ContentView.vala |
683 | - Views/ViewTextOverlay.vala |
684 | - Views/GridView/GridLayout.vala |
685 | - Views/GridView/GridView.vala |
686 | - Views/GridView/PopupListView.vala |
687 | - Views/ListView/ListView.vala |
688 | - Views/ListView/ColumnBrowser/BrowserColumnModel.vala |
689 | - Views/ListView/ColumnBrowser/BrowserColumn.vala |
690 | - Views/ListView/ColumnBrowser/ColumnBrowser.vala |
691 | - Views/ListView/ColumnBrowser/MusicColumnBrowser.vala |
692 | - Views/ListView/Lists/ListColumn.vala |
693 | - Views/ListView/Lists/TreeViewSetup.vala |
694 | - Views/ListView/Lists/CellDataFunctionHelper.vala |
695 | - Views/ListView/Lists/GenericList.vala |
696 | - Views/ListView/Lists/MusicListView.vala |
697 | - Dialogs/EqualizerWindow.vala |
698 | - Dialogs/SmartPlaylistEditor.vala |
699 | - Dialogs/PreferencesWindow.vala |
700 | - Dialogs/InstallGstreamerPluginsDialog.vala |
701 | - Dialogs/MediaEditor.vala |
702 | - Dialogs/FileNotFoundDialog.vala |
703 | - Dialogs/RemoveFilesDialog.vala |
704 | - Dialogs/NotImportedWindow.vala |
705 | - Dialogs/SetMusicFolderConfirmation.vala |
706 | - Dialogs/TransferFromDeviceDialog.vala |
707 | - Dialogs/SyncWarningDialog.vala |
708 | +set (CLIENT_SOURCE |
709 | + main.vala |
710 | + Noise.vala |
711 | + LibraryWindow.vala |
712 | + LocalLibrary.vala |
713 | + PlaybackManager.vala |
714 | + FileOperator.vala |
715 | + Objects/LyricFetcher.vala |
716 | + Objects/MediaInfo.vala |
717 | + Objects/AlbumInfo.vala |
718 | + Objects/ArtistInfo.vala |
719 | + Objects/TrackInfo.vala |
720 | + Objects/MediaArtCache.vala |
721 | + Objects/CoverartCache.vala |
722 | + Objects/MediaKeyListener.vala |
723 | + Widgets/NavigationArrows.vala |
724 | + Widgets/SmartAlbumRenderer.vala |
725 | + Widgets/TopDisplay.vala |
726 | + Widgets/InfoPanel.vala |
727 | + Widgets/EmbeddedAlert.vala |
728 | + Widgets/SimpleOptionChooser.vala |
729 | + Widgets/PresetList.vala |
730 | + Widgets/SideBar.vala |
731 | + Widgets/SourceListView.vala |
732 | + Widgets/StatusBar.vala |
733 | + Widgets/RatingWidget.vala |
734 | + Widgets/SpaceWidget.vala |
735 | + Widgets/FixedBin.vala |
736 | + Widgets/ViewSelector.vala |
737 | + Widgets/FastView/FastGrid.vala |
738 | + Widgets/FastView/FastGridModel.vala |
739 | + Widgets/FastView/FastList.vala |
740 | + Widgets/FastView/FastListModel.vala |
741 | + DataBase/DataBaseManager.vala |
742 | + DataBase/DataBaseUpdater.vala |
743 | + DataBase/Tables.vala |
744 | + GStreamer/GStreamerTagger.vala |
745 | + GStreamer/Streamer.vala |
746 | + GStreamer/CoverImport.vala |
747 | + Views/ViewContainer.vala |
748 | + Views/Wrappers/ViewWrapper.vala |
749 | + Views/Wrappers/MusicViewWrapper.vala |
750 | + Views/Wrappers/DeviceViewWrapper.vala |
751 | + Views/Wrappers/PlaylistViewWrapper.vala |
752 | + Views/Wrappers/ReadOnlyPlaylistViewWrapper.vala |
753 | + Views/DeviceView.vala |
754 | + Views/DeviceSummaryWidget.vala |
755 | + Views/ContentView.vala |
756 | + Views/ViewTextOverlay.vala |
757 | + Views/GridView/GridLayout.vala |
758 | + Views/GridView/GridView.vala |
759 | + Views/GridView/PopupListView.vala |
760 | + Views/ListView/ListView.vala |
761 | + Views/ListView/ColumnBrowser/BrowserColumnModel.vala |
762 | + Views/ListView/ColumnBrowser/BrowserColumn.vala |
763 | + Views/ListView/ColumnBrowser/ColumnBrowser.vala |
764 | + Views/ListView/ColumnBrowser/MusicColumnBrowser.vala |
765 | + Views/ListView/Lists/ListColumn.vala |
766 | + Views/ListView/Lists/TreeViewSetup.vala |
767 | + Views/ListView/Lists/CellDataFunctionHelper.vala |
768 | + Views/ListView/Lists/GenericList.vala |
769 | + Views/ListView/Lists/MusicListView.vala |
770 | + Dialogs/EqualizerWindow.vala |
771 | + Dialogs/SmartPlaylistEditor.vala |
772 | + Dialogs/PreferencesWindow.vala |
773 | + Dialogs/InstallGstreamerPluginsDialog.vala |
774 | + Dialogs/MediaEditor.vala |
775 | + Dialogs/FileNotFoundDialog.vala |
776 | + Dialogs/RemoveFilesDialog.vala |
777 | + Dialogs/NotImportedWindow.vala |
778 | + Dialogs/SetMusicFolderConfirmation.vala |
779 | + Dialogs/TransferFromDeviceDialog.vala |
780 | + Dialogs/SyncWarningDialog.vala |
781 | ) |
782 | |
783 | -set(CLIENT_VALAC_OPTIONS |
784 | - ${GLOBAL_VALAC_OPTIONS} |
785 | - --define=USE_GRANITE_DECORATED_WINDOW |
786 | - #--define=HAVE_ADD_PLAYLIST_AS_BUTTON |
787 | - #--define=HAVE_SMART_ALBUM_COLUMN |
788 | - #--define=ENABLE_EXPERIMENTAL |
789 | +set (CLIENT_VALAC_OPTIONS |
790 | + ${GLOBAL_VALAC_OPTIONS} |
791 | + --define=USE_GRANITE_DECORATED_WINDOW |
792 | + #--define=HAVE_ADD_PLAYLIST_AS_BUTTON |
793 | + #--define=HAVE_SMART_ALBUM_COLUMN |
794 | + #--define=ENABLE_EXPERIMENTAL |
795 | ) |
796 | |
797 | # Find GTK+ version. A bug with the icon view is supposed to be fixed in version 3.4.3 or higher. |
798 | -pkg_check_modules(GTK_ICON_VIEW_BUG_IS_FIXED QUIET gtk+-3.0>=3.4.3) |
799 | +pkg_check_modules (GTK_ICON_VIEW_BUG_IS_FIXED QUIET gtk+-3.0>=3.4.3) |
800 | if (GTK_ICON_VIEW_BUG_IS_FIXED_FOUND) |
801 | - message("-- Icon view workaround disabled") |
802 | - set(CLIENT_VALAC_OPTIONS ${CLIENT_VALAC_OPTIONS} --define=GTK_ICON_VIEW_BUG_IS_FIXED) |
803 | + message ("-- Icon view workaround disabled") |
804 | + set (CLIENT_VALAC_OPTIONS ${CLIENT_VALAC_OPTIONS} --define=GTK_ICON_VIEW_BUG_IS_FIXED) |
805 | else () |
806 | - message("-- Icon view workaround enabled") |
807 | + message ("-- Icon view workaround enabled") |
808 | endif () |
809 | |
810 | -set(CLIENT_VAPI ${SRC_TARGET}) |
811 | +set (CLIENT_VAPI ${SRC_TARGET}) |
812 | |
813 | -vala_precompile(CLIENT_VALA_C ${SRC_TARGET} |
814 | - ${CLIENT_SOURCE} |
815 | -PACKAGES |
816 | - ${DEPS_PACKAGES} |
817 | -OPTIONS |
818 | - ${CLIENT_VALAC_OPTIONS} |
819 | -GENERATE_VAPI |
820 | - ${CLIENT_VAPI} |
821 | -GENERATE_HEADER |
822 | - ${CLIENT_VAPI} |
823 | +vala_precompile (CLIENT_VALA_C ${SRC_TARGET} |
824 | + ${CLIENT_SOURCE} |
825 | + PACKAGES |
826 | + ${DEPS_PACKAGES} |
827 | + OPTIONS |
828 | + ${CLIENT_VALAC_OPTIONS} |
829 | + GENERATE_VAPI |
830 | + ${CLIENT_VAPI} |
831 | + GENERATE_HEADER |
832 | + ${CLIENT_VAPI} |
833 | ) |
834 | |
835 | -set(EXEC_NAME ../${SRC_TARGET}) |
836 | - |
837 | -add_definitions(${DEPS_CFLAGS}) |
838 | -link_directories(${DEPS_LIBRARY_DIRS}) |
839 | -add_executable(${EXEC_NAME} ${CLIENT_VALA_C}) |
840 | - |
841 | -target_link_libraries(${EXEC_NAME} ${DEPS_LIBRARIES}) |
842 | - |
843 | -install(TARGETS ${EXEC_NAME} RUNTIME DESTINATION bin) |
844 | +set (EXEC_NAME ../${SRC_TARGET}) |
845 | + |
846 | +add_definitions (${DEPS_CFLAGS}) |
847 | +link_directories (${DEPS_LIBRARY_DIRS}) |
848 | +add_executable (${EXEC_NAME} ${CLIENT_VALA_C}) |
849 | + |
850 | +target_link_libraries (${EXEC_NAME} ${DEPS_LIBRARIES}) |
851 | + |
852 | +install (TARGETS ${EXEC_NAME} RUNTIME DESTINATION bin) |