# Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # macro(install_header_file HEADER_FILE) INSTALL(FILES ${API_FILESYSTEM_PATH}/${HEADER_FILE} DESTINATION ${DESTINATION_HEADER_PREFIX}/Filesystem) endmacro() set(TARGET_NAME ${TARGET_MODULE_FILESYSTEM}) set(SRCS ${SRCS_API_FILESYSTEM} ${SRCS_PLATFORM_IMPLEMENTATION_FILESYSTEM} ) add_library(${TARGET_NAME} SHARED ${SRCS}) target_link_libraries(${TARGET_NAME} ${LIBS_COMMONS} ${TARGET_COMMONS} ) set_target_properties(${TARGET_NAME} PROPERTIES SOVERSION ${CMAKE_PACKAGE_VERSION}) INSTALL(TARGETS ${TARGET_NAME} LIBRARY DESTINATION ${DESTINATION_LIB_PREFIX}) install_header_file(IManager.h) install_header_file(INode.h) install_header_file(INodeTypes.h) install_header_file(IPath.h) install_header_file(IStream.h) install_header_file(EventResolve.h) install_header_file(EventCopy.h) install_header_file(EventMove.h) install_header_file(EventRemove.h) install_header_file(EventFind.h) install_header_file(EventListNodes.h) install_header_file(EventOpen.h) install_header_file(EventReadText.h) install_header_file(Enums.h) install_header_file(NodeFilter.h)