1 # Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 macro(install_header_file HEADER_FILE)
16 INSTALL(FILES ${API_MESSAGING_PATH}/${HEADER_FILE}
17 DESTINATION ${DESTINATION_HEADER_PREFIX}/Messaging)
20 set(TARGET_NAME ${TARGET_MODULE_MESSAGING})
22 include_directories(${INCLUDES_MESSAGING_DIRECTORIES})
26 ${SRCS_IMPLEMENTATION_MESSAGING}
29 add_library(${TARGET_NAME} SHARED ${SRCS})
31 target_link_libraries(${TARGET_NAME}
33 ${LIBS_IMPLEMENTATION_MESSAGING}
36 set_target_properties(${TARGET_NAME} PROPERTIES SOVERSION ${CMAKE_PACKAGE_VERSION})
38 INSTALL(TARGETS ${TARGET_NAME} LIBRARY DESTINATION
39 ${DESTINATION_LIB_PREFIX})
41 install_header_file(AttachmentFactory.h)
42 install_header_file(Attachments.h)
43 install_header_file(BccRecipient.h)
44 install_header_file(Body.h)
45 install_header_file(CallbackNumber.h)
46 install_header_file(CcRecipient.h)
47 install_header_file(EmailAccountInfo.h)
48 install_header_file(EmitterMessageReceived.h)
49 install_header_file(EventDeleteMessage.h)
50 install_header_file(EventFindMessage.h)
51 install_header_file(EventMessageReceived.h)
52 install_header_file(EventOnSendingFailed.h)
53 install_header_file(EventSendMessage.h)
54 install_header_file(EventUpdateMessage.h)
55 install_header_file(From.h)
56 install_header_file(IAttachment.h)
57 install_header_file(IBinarySms.h)
58 install_header_file(IEmailAccount.h)
59 install_header_file(IEmail.h)
60 install_header_file(IMessage.h)
61 install_header_file(IMessaging.h)
62 install_header_file(IMessagingTypes.h)
63 install_header_file(IMms.h)
64 install_header_file(IMmsSlide.h)
65 install_header_file(IMmsSlideProperties.h)
66 install_header_file(IMmsSlides.h)
67 install_header_file(ISms.h)
68 install_header_file(MessageEventPrivateData.h)
69 install_header_file(MessageFactory.h)
70 install_header_file(MessageFilter.h)
71 install_header_file(MessagePriority.h)
72 install_header_file(MmsSlide.h)
73 install_header_file(MmsSlideProperty.h)
74 install_header_file(MmsSlides.h)
75 install_header_file(Recipient.h)
76 install_header_file(ReqReceiverMessage.h)
77 install_header_file(SourceAddress.h)
78 install_header_file(Subject.h)
79 install_header_file(ToRecipient.h)
80 install_header_file(ValidityPeriodHours.h)
81 install_header_file(VirtualMessage.h)