2
# Put the ini file in the build directory next to the scope
3
# .so file so test tools can find both easily.
5
"${CMAKE_SOURCE_DIR}/data/com.ubuntu.developer.mateosalta.utfeed_utfeed.ini"
6
"${CMAKE_CURRENT_BINARY_DIR}/com.ubuntu.developer.mateosalta.utfeed_utfeed.ini"
11
"${CMAKE_SOURCE_DIR}/data/com.ubuntu.developer.mateosalta.utfeed_utfeed-settings.ini"
12
"${CMAKE_CURRENT_BINARY_DIR}/com.ubuntu.developer.mateosalta.utfeed_utfeed-settings.ini"
17
"${CMAKE_SOURCE_DIR}/data/logo.png"
18
"${CMAKE_CURRENT_BINARY_DIR}/logo.png"
23
# The sources to build the scope
31
# Find all the headers
34
"${CMAKE_SOURCE_DIR}/include/*.h"
37
# Build an object library for the scope code
44
# Ensure we export all the symbols
45
set_target_properties(
48
LINK_FLAGS "-Wl,--export-all-symbols"
51
# Build a shared library containing our scope code.
52
# This will be the actual plugin that is loaded.
55
$<TARGET_OBJECTS:scope-static>
58
# Link against the object library and our external library dependencies
59
target_link_libraries(
70
# Set the correct library output name to conform to the securiry policy
71
set_target_properties(
74
OUTPUT_NAME "com.ubuntu.developer.mateosalta.utfeed_utfeed"
77
# Install the scope shared library
80
LIBRARY DESTINATION ${SCOPE_INSTALL_DIR}