diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-03-29 19:32:46 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-03-30 17:46:16 -0300 |
commit | 1262d40cefc7fdfce799871160473fdaf5bfa553 (patch) | |
tree | 99d4a0a3622119f3362144763e4521ae48e328f0 /libshiboken/CMakeLists.txt | |
parent | e111bc2f3398d6855dc5e4309d5e45d85d6aae63 (diff) |
Do not install all headers, just the necessary ones.
Diffstat (limited to 'libshiboken/CMakeLists.txt')
-rw-r--r-- | libshiboken/CMakeLists.txt | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/libshiboken/CMakeLists.txt b/libshiboken/CMakeLists.txt index 251d4af4c..0b9d3128f 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}") |