~ted/ubuntu-app-launch/snap-icon-unbreak

« back to all changes in this revision

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

Updated to failure-is-an-option

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
 
2
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
 
3
include_directories(${CMAKE_CURRENT_BINARY_DIR})
 
4
 
2
5
##########################
3
6
# Version Info
4
7
##########################
11
14
# Library
12
15
##########################
13
16
 
 
17
add_lttng_gen_tp(NAME upstart-app-launch-trace)
 
18
 
14
19
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden")
15
20
 
16
21
set(LAUNCHER_HEADERS
19
24
 
20
25
set(LAUNCHER_SOURCES
21
26
upstart-app-launch.c
 
27
second-exec-core.c
 
28
upstart-app-launch-trace.c
 
29
"${CMAKE_SOURCE_DIR}/helpers-keyfile.c"
22
30
)
23
31
 
24
32
add_library(upstart-launcher SHARED ${LAUNCHER_SOURCES})
34
42
        ${GOBJECT2_LIBRARIES}
35
43
        ${LIBUPSTART_LIBRARIES}
36
44
        ${GIO2_LIBRARIES}
 
45
        ${LTTNG_LIBRARIES}
37
46
        ${JSONGLIB_LIBRARIES}
38
47
        -Wl,--no-undefined
39
48
)