[evolution-data-server] Bug 776365 - Correct vapi build dependencies
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug 776365 - Correct vapi build dependencies
- Date: Wed, 4 Jan 2017 10:05:54 +0000 (UTC)
commit d0cccbf4e20275ce55015bb1b6735427e07652ba
Author: Milan Crha <mcrha redhat com>
Date: Wed Jan 4 11:06:21 2017 +0100
Bug 776365 - Correct vapi build dependencies
src/vala/CMakeLists.txt | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/vala/CMakeLists.txt b/src/vala/CMakeLists.txt
index 60e6e40..1815ad7 100644
--- a/src/vala/CMakeLists.txt
+++ b/src/vala/CMakeLists.txt
@@ -1,4 +1,6 @@
set(valafiles
+ ${CMAKE_CURRENT_SOURCE_DIR}/camel-${API_VERSION}.deps
+ ${CMAKE_CURRENT_BINARY_DIR}/camel-${API_VERSION}.vapi
${CMAKE_CURRENT_SOURCE_DIR}/libedataserver-${API_VERSION}.deps
${CMAKE_CURRENT_BINARY_DIR}/libedataserver-${API_VERSION}.vapi
${CMAKE_CURRENT_SOURCE_DIR}/libebook-${API_VERSION}.deps
@@ -23,11 +25,6 @@ add_custom_target(vala ALL)
set(gir_fullname ${CMAKE_BINARY_DIR}/src/camel/Camel-${API_VERSION}.gir)
gir_girfilename_to_target(gir_deps Camel-${API_VERSION}.gir)
-list(APPEND valafiles
- ${CMAKE_CURRENT_SOURCE_DIR}/camel-${API_VERSION}.deps
- ${CMAKE_CURRENT_BINARY_DIR}/camel-${API_VERSION}.vapi
-)
-
add_dependencies(vala ${gir_deps})
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/camel-${API_VERSION}.vapi
@@ -69,6 +66,7 @@ add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/libedataserver-${API_VERSI
--metadatadir=${CMAKE_CURRENT_SOURCE_DIR}
${gir_fullname}
DEPENDS libedataserver-${API_VERSION}.deps
+ ${CMAKE_CURRENT_BINARY_DIR}/camel-${API_VERSION}.vapi
${gir_deps}
${gir_fullname}
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]