~ubuntu-branches/ubuntu/trusty/libusermetrics/trusty-proposed

« back to all changes in this revision

Viewing changes to src/libusermetricsinput/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Pete Woods, Ubuntu daily release
  • Date: 2013-07-02 02:02:52 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130702020252-53yuhnlabsq1cq8x
Tags: 1.0.1+13.10.20130702-0ubuntu1
[ Pete Woods ]
* Implement most of storage service and wire up input API.
* Wire up the output API to the storage service.

[ Ubuntu daily release ]
* Automatic snapshot from revision 80

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
set(USERMETRICS_INPUT_DEPENDENCIES
26
26
        Core
 
27
        DBus
27
28
)
28
29
 
29
30
# Static library version of libusermetricsinput
39
40
        ${USERMETRICS_INPUT_DEPENDENCIES}
40
41
)
41
42
 
 
43
target_link_libraries(
 
44
        usermetricsinput-static
 
45
        usermetricscommon
 
46
)
 
47
 
42
48
set_target_properties(
43
49
        usermetricsinput-static
44
50
        PROPERTIES
68
74
        ${USERMETRICS_INPUT_DEPENDENCIES}
69
75
)
70
76
 
 
77
target_link_libraries(
 
78
        usermetricsinput
 
79
        usermetricscommon
 
80
)
 
81
 
71
82
set_target_properties(
72
83
        usermetricsinput
73
84
        PROPERTIES
91
102
  FILES "${CMAKE_CURRENT_BINARY_DIR}/${LIBUSERMETRICSINPUT_PC}"
92
103
  DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig"
93
104
)
 
105
 
 
106
##########################
 
107
# Command line interface
 
108
##########################
 
109
 
 
110
add_executable(
 
111
        usermetricsinput-bin
 
112
        main.cpp
 
113
)
 
114
 
 
115
set_target_properties(
 
116
        usermetricsinput-bin
 
117
        PROPERTIES
 
118
        OUTPUT_NAME "usermetricsinput"
 
119
)
 
120
 
 
121
install(
 
122
  TARGETS usermetricsinput-bin
 
123
  RUNTIME DESTINATION bin
 
124
)
 
125
 
 
126
target_link_libraries(
 
127
        usermetricsinput-bin
 
128
        usermetricsinput
 
129
)