summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2012-04-13 14:01:33 -0300
committerAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2012-04-13 14:13:07 -0300
commitec2162d96988a773b48861c6bcd19c46bcdf6b23 (patch)
tree36f5a24a35736e56457cf6810dbc1bb939e6199b /cmake
parent37fde05498e2f6df1c3b9b705444f4c7f3025327 (diff)
Only generate adaptors for non-deprecated stable interfaces.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/TpQtMacros.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/modules/TpQtMacros.cmake b/cmake/modules/TpQtMacros.cmake
index 83133ee2..38f4af6a 100644
--- a/cmake/modules/TpQtMacros.cmake
+++ b/cmake/modules/TpQtMacros.cmake
@@ -274,6 +274,7 @@ endfunction(tpqt_future_client_generator spec namespace)
function(tpqt_service_generator spec group pretty_include namespace)
tpqt_extract_depends(service_generator_args service_generator_depends ${ARGN})
+ string(REPLACE "svc-" "" spec ${spec})
set(ARGS
${CMAKE_SOURCE_DIR}/tools/qt-svc-gen.py
--group=${group}
@@ -284,7 +285,7 @@ function(tpqt_service_generator spec group pretty_include namespace)
--realinclude=TelepathyQt/_gen/svc-${spec}.h
--mocinclude=TelepathyQt/_gen/svc-${spec}.moc.hpp
--specxml=${CMAKE_CURRENT_BINARY_DIR}/_gen/stable-spec.xml
- --ifacexml=${CMAKE_CURRENT_BINARY_DIR}/_gen/spec-${spec}.xml
+ --ifacexml=${CMAKE_CURRENT_BINARY_DIR}/_gen/spec-svc-${spec}.xml
--visibility=TP_QT_EXPORT
${service_generator_args})
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/_gen/svc-${spec}.h ${CMAKE_CURRENT_BINARY_DIR}/_gen/svc-${spec}.cpp