2
# Put the ini files in the build directory next to the scope
3
# .so file so that the test tools can find them.
4
intltool_merge_translations(
5
"data/settings-for-scopes-v2.ini.in"
6
"${CMAKE_CURRENT_BINARY_DIR}/${SCOPE_NAME}.ini"
10
intltool_merge_translations(
11
"data/settings-for-scopes-v2-settings.ini.in"
12
"${CMAKE_CURRENT_BINARY_DIR}/${SCOPE_NAME}-settings.ini"
17
# Install the scope ini files
20
"${CMAKE_CURRENT_BINARY_DIR}/${SCOPE_NAME}.ini"
21
"${CMAKE_CURRENT_BINARY_DIR}/${SCOPE_NAME}-settings.ini"
26
# Put the logo file in the build directory next to the scope
27
# .ini file so that the test tools can find it.
30
"${CMAKE_CURRENT_BINARY_DIR}/logo.png"
35
# Install the scope images
45
# Find all the sources
52
# Build a shared library containing our scope code.
58
# Link against the object library and our external library dependencies
59
target_link_libraries(
69
# Set the correct library output name to conform to the securiry policy
70
set_target_properties(
73
OUTPUT_NAME "${SCOPE_NAME}"
76
# Install the scope shared library
79
LIBRARY DESTINATION ${SCOPE_INSTALL_DIR}