summaryrefslogtreecommitdiff
path: root/swig/perl5
diff options
context:
space:
mode:
authorKlaus Kämpf <kkaempf@suse.de>2010-11-06 22:11:06 +0100
committerKlaus Kämpf <kkaempf@suse.de>2010-11-06 22:11:06 +0100
commite5a53c804d294b76cc529f28efca16ad52d07fd9 (patch)
tree04ecb93b5f74b01fde8d2a73e08f86ee6177a312 /swig/perl5
parent78111f8aa14af7693e771897c65f286f858330bf (diff)
downloadlibzypp-bindings-e5a53c804d294b76cc529f28efca16ad52d07fd9.tar.gz
libzypp-bindings-e5a53c804d294b76cc529f28efca16ad52d07fd9.tar.bz2
libzypp-bindings-e5a53c804d294b76cc529f28efca16ad52d07fd9.zip
Initial step towards callbacks support
This commit introduces generic (all target languages) support for callbacks. Callbacks are sent to a 'callback object instance' which must be instantiated. Currently implemented are commit callbacks, requiring an instance of 'CommitCallbacks' ** this is work in progress ** Next: Provide example code and tests for Python and Ruby
Diffstat (limited to 'swig/perl5')
-rw-r--r--swig/perl5/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/swig/perl5/CMakeLists.txt b/swig/perl5/CMakeLists.txt
index 80c4420..7c16b9d 100644
--- a/swig/perl5/CMakeLists.txt
+++ b/swig/perl5/CMakeLists.txt
@@ -46,6 +46,7 @@ SET_TARGET_PROPERTIES( zypp_perl
)
INCLUDE_DIRECTORIES( ${PERL_CORE_DIR} )
+INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/swig )
INCLUDE_DIRECTORIES( ${ZYPP_INCLUDE_DIR} )
TARGET_LINK_LIBRARIES( zypp_perl ${ZYPP_LIBRARY} )