~mardy/unity-scopes-api/clientid-1554040

« back to all changes in this revision

Viewing changes to demo/scopes/scope-A/CMakeLists.txt

  • Committer: CI bot
  • Author(s): Tarmac
  • Date: 2014-03-12 16:58:32 UTC
  • mfrom: (163.45.63 devel)
  • Revision ID: ps-jenkins@lists.canonical.com-20140312165832-ngmnoud825y533pk
Sync with devel branch - updated scopes API to 0.4.0. See RELEASE_NOTES for list of all changes. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
set(symbol_map "${CMAKE_CURRENT_SOURCE_DIR}/scope-A.map")
 
2
 
1
3
add_library(scope-A MODULE scope-A.cpp)
2
4
# Add_dependencies should be used sparingly. In this case we need the global
3
5
# header to be generated before we start building the client binary.
4
6
add_dependencies(scope-A globalheader)
 
7
set_target_properties(scope-A PROPERTIES
 
8
                      LINK_FLAGS "${ldflags} -Wl,--version-script,${symbol_map}")
 
9
set_target_properties(scope-A PROPERTIES LINK_DEPENDS ${symbol_map})
5
10
 
6
11
configure_file(scope-A.ini.in scope-A.ini)