From c34e28a8215637fcb568c06eee6b14d160ff1420 Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Thu, 8 Apr 2010 21:41:57 +0000 Subject: Install remainder of required Boost headers and Boost .libs for Windows installer; resolves QPID-2483. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.6-release-windows-installer@932132 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/CMakeLists.txt | 53 +++++++++++++++++++++++++++++---------------- 1 file changed, 34 insertions(+), 19 deletions(-) diff --git a/qpid/cpp/src/CMakeLists.txt b/qpid/cpp/src/CMakeLists.txt index 8e0988c5c1..2570c89719 100644 --- a/qpid/cpp/src/CMakeLists.txt +++ b/qpid/cpp/src/CMakeLists.txt @@ -195,11 +195,11 @@ if (NOT Boost_SYSTEM_LIBRARY) set(Boost_SYSTEM_LIBRARY boost_system) endif (NOT Boost_SYSTEM_LIBRARY) -# The Windows install also wants the Boost DLLs and headers that the release -# is built with. The DLLs enable everything to run, and the headers ensure -# that users building Qpid C++ client programs can compile (the C++ API -# still exposes Boost headers, but hopefully this will be fixed in the -# future). +# The Windows install also wants the Boost DLLs, libs and headers that the +# release is built with. The DLLs enable everything to run, and the headers +# and libs ensure that users building Qpid C++ client programs can compile +# (the C++ API still exposes Boost headers, but hopefully this will be fixed +# in the future). # # On Windows you can pick whether the static or dynamic versions of the libs # are used; allow this choice to the user. Since we also install the Boost @@ -209,6 +209,22 @@ endif (NOT Boost_SYSTEM_LIBRARY) # Boost libs based on compile-time touching of the headers. Since we don't # really need to add them to the link lines, set the names to blanks. if (MSVC) + install (PROGRAMS + ${Boost_DATE_TIME_LIBRARY_DEBUG} ${Boost_DATE_TIME_LIBRARY_RELEASE} + ${Boost_FILESYSTEM_LIBRARY_DEBUG} ${Boost_FILESYSTEM_LIBRARY_RELEASE} + ${Boost_PROGRAM_OPTIONS_LIBRARY_DEBUG} ${Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE} + ${Boost_REGEX_LIBRARY_DEBUG} ${Boost_REGEX_LIBRARY_RELEASE} + ${Boost_THREAD_LIBRARY_DEBUG} ${Boost_THREAD_LIBRARY_RELEASE} + DESTINATION ${QPID_INSTALL_LIBDIR}/boost + COMPONENT ${QPID_COMPONENT_COMMON}) + + if (NOT Boost_VERSION LESS 103500) + install (PROGRAMS + ${Boost_SYSTEM_LIBRARY_DEBUG} ${Boost_SYSTEM_LIBRARY_RELEASE} + DESTINATION ${QPID_INSTALL_LIBDIR}/boost + COMPONENT ${QPID_COMPONENT_COMMON}) + endif (NOT Boost_VERSION LESS 103500) + option(QPID_LINK_BOOST_DYNAMIC "Link with dynamic Boost libs (OFF to link static)" ON) if (QPID_LINK_BOOST_DYNAMIC) add_definitions( /D BOOST_ALL_DYN_LINK) @@ -266,29 +282,28 @@ if (MSVC) PATTERN "concept*" EXCLUDE PATTERN "dynamic_bitset*" EXCLUDE PATTERN "flyweight*" EXCLUDE - PATTERN "fusion*" EXCLUDE - PATTERN "gil*" EXCLUDE - PATTERN "graph*" EXCLUDE - PATTERN "interprocess*" EXCLUDE + PATTERN "fusion/*" EXCLUDE + PATTERN "gil/*" EXCLUDE + PATTERN "graph/*" EXCLUDE + PATTERN "interprocess/*" EXCLUDE PATTERN "lambda/*" EXCLUDE - PATTERN "logic*" EXCLUDE + PATTERN "logic/*" EXCLUDE PATTERN "math*" EXCLUDE PATTERN "mpi*" EXCLUDE PATTERN "multi_*" EXCLUDE - PATTERN "numeric*" EXCLUDE - PATTERN "pending*" EXCLUDE - PATTERN "pool*" EXCLUDE - PATTERN "property_map*" EXCLUDE - PATTERN "proto*" EXCLUDE + PATTERN "numeric/*" EXCLUDE + PATTERN "pending/*" EXCLUDE + PATTERN "pool/*" EXCLUDE + PATTERN "property_map/*" EXCLUDE + PATTERN "proto/*" EXCLUDE PATTERN "random*" EXCLUDE - PATTERN "range*" EXCLUDE PATTERN "signals*" EXCLUDE PATTERN "spirit*" EXCLUDE - PATTERN "statechart*" EXCLUDE - PATTERN "units*" EXCLUDE + PATTERN "statechart/*" EXCLUDE + PATTERN "units/*" EXCLUDE PATTERN "unordered*" EXCLUDE PATTERN "wave*" EXCLUDE - PATTERN "xpressive*" EXCLUDE) + PATTERN "xpressive/*" EXCLUDE) set(Boost_DATE_TIME_LIBRARY "") set(Boost_THREAD_LIBRARY "") -- cgit v1.2.1