~ted/ubuntu-app-launch/libertine-detection

« back to all changes in this revision

Viewing changes to libubuntu-app-launch/CMakeLists.txt

  • Committer: Ted Gould
  • Date: 2015-06-10 15:34:26 UTC
  • mfrom: (200 ubuntu-app-launch)
  • mto: This revision was merged to the branch mainline in revision 201.
  • Revision ID: ted@gould.cx-20150610153426-23y2em567hjghod2
Updating to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
add_lttng_gen_tp(NAME ubuntu-app-launch-trace)
18
18
 
19
19
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden")
20
 
add_definitions ( -DOOM_HELPER="${pkglibexecdir}/oom-adjust-setuid-helper" )
 
20
add_definitions ( -DOOM_HELPER="${pkglibexecdir}/oom-adjust-setuid-helper" -DDEMANGLER_PATH="${pkglibexecdir}/socket-demangler" )
21
21
 
22
22
set(LAUNCHER_HEADERS
23
23
ubuntu-app-launch.h
31
31
ubuntu-app-launch-trace.c
32
32
)
33
33
 
34
 
add_library(ubuntu-launcher SHARED ${LAUNCHER_SOURCES})
 
34
set(LAUNCHER_GEN_SOURCES
 
35
)
 
36
 
 
37
add_gdbus_codegen_with_namespace(LAUNCHER_GEN_SOURCES proxy-socket-demangler com.canonical.UbuntuAppLaunch. proxy ${CMAKE_SOURCE_DIR}/data/com.canonical.UbuntuAppLaunch.SocketDemangler.xml)
 
38
 
 
39
 
 
40
add_library(ubuntu-launcher SHARED ${LAUNCHER_SOURCES} ${LAUNCHER_GEN_SOURCES})
35
41
 
36
42
set_target_properties(ubuntu-launcher PROPERTIES
37
43
        VERSION ${ABI_VERSION}.0.0
50
56
        ${JSONGLIB_LIBRARIES}
51
57
        ${CLICK_LIBRARIES}
52
58
        ${ZEITGEIST_LIBRARIES}
 
59
        ${MIR_LIBRARIES}
53
60
        helpers
54
61
        -Wl,--no-undefined
55
62
)
91
98
set(UbuntuAppLaunch_2_gir_INCLUDES GObject-2.0)
92
99
 
93
100
gir_get_cflags(_cflags)
94
 
set(UbuntuAppLaunch_2_gir_CFLAGS ${c_flags})
 
101
list_prefix(MIR_C_INCLUDES MIR_INCLUDE_DIRS "-I")
 
102
set(UbuntuAppLaunch_2_gir_CFLAGS ${c_flags} ${MIR_C_INCLUDES})
95
103
set(UbuntuAppLaunch_2_gir_LIBS ubuntu-app-launch)
96
104
 
97
105
list_make_absolute(_abs_introspection_files _introspection_files "${CMAKE_CURRENT_SOURCE_DIR}/")