summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-03-29 19:32:46 -0300
committerHugo Lima <hugo.lima@openbossa.org>2010-03-30 17:46:16 -0300
commit1262d40cefc7fdfce799871160473fdaf5bfa553 (patch)
tree99d4a0a3622119f3362144763e4521ae48e328f0
parente111bc2f3398d6855dc5e4309d5e45d85d6aae63 (diff)
downloadshiboken-1262d40cefc7fdfce799871160473fdaf5bfa553.tar.gz
shiboken-1262d40cefc7fdfce799871160473fdaf5bfa553.tar.xz
shiboken-1262d40cefc7fdfce799871160473fdaf5bfa553.zip
Do not install all headers, just the necessary ones.
-rw-r--r--libshiboken/CMakeLists.txt19
1 files changed, 15 insertions, 4 deletions
diff --git a/libshiboken/CMakeLists.txt b/libshiboken/CMakeLists.txt
index 251d4af4..0b9d3128 100644
--- a/libshiboken/CMakeLists.txt
+++ b/libshiboken/CMakeLists.txt
@@ -32,10 +32,21 @@ target_link_libraries(libshiboken
${PYTHON_LIBRARIES})
set_target_properties(libshiboken PROPERTIES VERSION ${libshiboken_VERSION} SOVERSION ${libshiboken_MAJOR_VERSION})
-install(DIRECTORY . DESTINATION include/shiboken
- FILES_MATCHING PATTERN "*.h"
- PATTERN ".git" EXCLUDE
- )
+install(FILES
+ autodecref.h
+ basewrapper.h
+ bindingmanager.h
+ conversions.h
+ gilstate.h
+ helper.h
+ pyenum.h
+ python25compat.h
+ sbkdbg.h
+ shiboken.h
+ shibokenmacros.h
+ threadstatesaver.h
+ typeresolver.h
+ DESTINATION include/shiboken)
install(TARGETS libshiboken DESTINATION "${LIB_INSTALL_DIR}")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ShibokenConfig.cmake"
DESTINATION "${LIB_INSTALL_DIR}/cmake/Shiboken-${libshiboken_VERSION}")