summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Kämpf <kkaempf@suse.de>2010-11-09 13:29:29 +0100
committerKlaus Kämpf <kkaempf@suse.de>2010-11-09 13:29:29 +0100
commit00768743f7ab9dc9b2647b8a528e5b0af051c11a (patch)
tree9d530becbb52703a6c0cdff00df48c30bab0c754
parent48c4e6fbda89a032d18acee68de3197be3a0335a (diff)
downloadlibzypp-bindings-00768743f7ab9dc9b2647b8a528e5b0af051c11a.tar.gz
libzypp-bindings-00768743f7ab9dc9b2647b8a528e5b0af051c11a.tar.bz2
libzypp-bindings-00768743f7ab9dc9b2647b8a528e5b0af051c11a.zip
swig output depends on .h files
-rw-r--r--swig/perl5/CMakeLists.txt2
-rw-r--r--swig/python/CMakeLists.txt2
-rw-r--r--[-rwxr-xr-x]swig/python/tests/starting.py0
-rw-r--r--swig/ruby/CMakeLists.txt2
4 files changed, 3 insertions, 3 deletions
diff --git a/swig/perl5/CMakeLists.txt b/swig/perl5/CMakeLists.txt
index b127899..9ed91b5 100644
--- a/swig/perl5/CMakeLists.txt
+++ b/swig/perl5/CMakeLists.txt
@@ -38,7 +38,7 @@ ADD_CUSTOM_COMMAND (
COMMAND ${SWIG_EXECUTABLE} ${SWIG_DEFINITIONS} -c++ -perl5 -o ${SWIG_OUTPUT} -I${ZYPP_INCLUDE_DIR} ${SWIG_INPUT}
COMMAND ${CMAKE_COMMAND} -E echo "Done."
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../*.i ${CMAKE_CURRENT_SOURCE_DIR}/*.i
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../*.i ${CMAKE_CURRENT_SOURCE_DIR}/../*.h ${CMAKE_CURRENT_SOURCE_DIR}/*.i
)
ADD_LIBRARY( zypp_perl SHARED ${SWIG_OUTPUT} )
diff --git a/swig/python/CMakeLists.txt b/swig/python/CMakeLists.txt
index 8aab73b..bdc4909 100644
--- a/swig/python/CMakeLists.txt
+++ b/swig/python/CMakeLists.txt
@@ -29,7 +29,7 @@ ADD_CUSTOM_COMMAND (
COMMAND ${SWIG_EXECUTABLE} -v ${SWIG_DEFINITIONS} -c++ -python -o ${SWIG_OUTPUT} -I${ZYPP_INCLUDE_DIR} ${SWIG_INPUT}
COMMAND ${CMAKE_COMMAND} -E echo "Done."
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../*.i ${CMAKE_CURRENT_SOURCE_DIR}/*.i
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../*.i ${CMAKE_CURRENT_SOURCE_DIR}/../*.h ${CMAKE_CURRENT_SOURCE_DIR}/*.i
)
ADD_LIBRARY( zypp_python SHARED ${SWIG_OUTPUT} )
diff --git a/swig/python/tests/starting.py b/swig/python/tests/starting.py
index c97193f..c97193f 100755..100644
--- a/swig/python/tests/starting.py
+++ b/swig/python/tests/starting.py
diff --git a/swig/ruby/CMakeLists.txt b/swig/ruby/CMakeLists.txt
index 5623269..628c3c4 100644
--- a/swig/ruby/CMakeLists.txt
+++ b/swig/ruby/CMakeLists.txt
@@ -19,7 +19,7 @@ ADD_CUSTOM_COMMAND (
COMMAND ${SWIG_EXECUTABLE} ${SWIG_DEFINITIONS} -c++ -ruby -o ${SWIG_OUTPUT} -I${ZYPP_INCLUDE_DIR} ${SWIG_INPUT}
COMMAND ${CMAKE_COMMAND} -E echo "Done."
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../*.i ${CMAKE_CURRENT_SOURCE_DIR}/*.i
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../*.i ${CMAKE_CURRENT_SOURCE_DIR}/../*.h ${CMAKE_CURRENT_SOURCE_DIR}/*.i
)
ADD_LIBRARY( zypp_ruby SHARED ${SWIG_OUTPUT} )