You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2013/10/01 21:14:20 UTC
svn commit: r1528184 - /qpid/trunk/qpid/cpp/src/CMakeLists.txt
Author: astitcher
Date: Tue Oct 1 19:14:19 2013
New Revision: 1528184
URL: http://svn.apache.org/r1528184
Log:
QPID-5176: Simplify CMake specification now that we don't need to compile
different files in qpidmessaging differently. This also avoids some Visual
Studio 2008 breakage.
Modified:
qpid/trunk/qpid/cpp/src/CMakeLists.txt
Modified: qpid/trunk/qpid/cpp/src/CMakeLists.txt
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/CMakeLists.txt?rev=1528184&r1=1528183&r2=1528184&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/CMakeLists.txt (original)
+++ qpid/trunk/qpid/cpp/src/CMakeLists.txt Tue Oct 1 19:14:19 2013
@@ -1195,8 +1195,7 @@ install (DIRECTORY ../include/qpid
PATTERN ".svn" EXCLUDE)
install_pdb (qpidclient ${QPID_COMPONENT_CLIENT})
-set (qpidmessaging_SOURCES_hidden
- qpid/messaging/AddressParser.h
+set (qpidmessaging_SOURCES
qpid/messaging/AddressImpl.h
qpid/messaging/ConnectionImpl.h
qpid/messaging/ReceiverImpl.h
@@ -1220,15 +1219,8 @@ set (qpidmessaging_SOURCES_hidden
qpid/client/amqp0_10/SessionImpl.cpp
qpid/client/amqp0_10/SenderImpl.h
qpid/client/amqp0_10/SenderImpl.cpp
-)
-set_source_files_properties(
- ${qpidmessaging_SOURCES_hidden}
- PROPERTIES
- COMPILE_FLAGS "${HIDE_SYMBOL_FLAGS}")
-
-set (qpidmessaging_SOURCES
- ${qpidmessaging_SOURCES_hidden}
qpid/messaging/Address.cpp
+ qpid/messaging/AddressParser.h
qpid/messaging/AddressParser.cpp # The functions in here are not in the public interface, but qmf uses them
qpid/messaging/Connection.cpp
qpid/messaging/Duration.cpp
@@ -1247,10 +1239,6 @@ set (qpidmessaging_SOURCES
qpid/messaging/amqp/EncodedMessage.h
qpid/messaging/amqp/EncodedMessage.cpp
)
-set_source_files_properties(
- ${qpidmessaging_SOURCES}
- PROPERTIES
- COMPILE_FLAGS "${HIDE_SYMBOL_FLAGS}")
add_msvc_version (qpidmessaging library dll)
@@ -1258,6 +1246,7 @@ add_library (qpidmessaging SHARED ${qpid
target_link_libraries (qpidmessaging qpidtypes qpidclient qpidcommon)
set_target_properties (qpidmessaging PROPERTIES
LINK_FLAGS "${HIDE_SYMBOL_FLAGS} ${LINK_VERSION_SCRIPT_FLAG}"
+ COMPILE_FLAGS "${HIDE_SYMBOL_FLAGS}"
VERSION ${qpidmessaging_version}
SOVERSION ${qpidmessaging_version_major})
install (TARGETS qpidmessaging
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org