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.
16 PKG_SEARCH_MODULE(PROFILING_DEPS REQUIRED dpl-efl)
18 ADD_LIBRARY(${TARGET_PROFILING_LIB} SHARED
19 ${PROJECT_SOURCE_DIR}/src/profiling/profiling_util.cpp
22 SET_TARGET_PROPERTIES(${TARGET_PROFILING_LIB} PROPERTIES
23 COMPILE_DEFINITIONS LOG_TAG="${LOG_TAG}")
25 SET_TARGET_PROPERTIES(${TARGET_PROFILING_LIB} PROPERTIES
26 VERSION ${PROJECT_VERSION}
27 SOVERSION ${PROJECT_API_VERSION})
29 INCLUDE_DIRECTORIES(${PROFILING_DEPS_CFLAGS})
31 SET_TARGET_PROPERTIES(${TARGET_PROFILING_LIB} PROPERTIES
34 TARGET_LINK_LIBRARIES(${TARGET_PROFILING_LIB}
35 ${PROFILING_DEPS_LIBRARIES}
38 INSTALL(TARGETS ${TARGET_PROFILING_LIB}
40 PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
41 GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE