~unity-api-team/indicator-network/connectity-api-beginnings

« back to all changes in this revision

Viewing changes to src/connectivity-cpp/src/CMakeLists.txt

  • Committer: Pete Woods
  • Date: 2015-04-16 13:28:32 UTC
  • Revision ID: pete.woods@canonical.com-20150416132832-00bsf2jvye1qm5ra
Restore connectivity-cpp headers

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright © 2013 Canonical Ltd.
2
 
#
3
 
# This program is free software: you can redistribute it and/or modify it
4
 
# under the terms of the GNU Lesser General Public License version 3,
5
 
# as published by the Free Software Foundation.
6
 
#
7
 
# This program is distributed in the hope that it will be useful,
8
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
 
# GNU Lesser General Public License for more details.
11
 
#
12
 
# You should have received a copy of the GNU Lesser General Public License
13
 
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
14
 
#
15
 
# Authors:
16
 
#     Antti Kaijanmäki <antti.kaijanmaki@canonical.com>
17
 
 
18
 
add_library(connectivity-cpp STATIC
19
 
    platform/nmofono/kill-switch.cpp
20
 
    platform/nmofono/manager.cpp
21
 
    platform/nmofono/manager.h
22
 
    platform/nmofono/service.cpp
23
 
    platform/nmofono/service.h
24
 
    platform/nmofono/wifi/access-point-impl.h
25
 
    platform/nmofono/wifi/access-point-impl.cpp
26
 
    platform/nmofono/wifi/grouped-access-point.h
27
 
    platform/nmofono/wifi/grouped-access-point.cpp
28
 
    platform/nmofono/wifi/link.h
29
 
    platform/nmofono/wifi/link.cpp
30
 
 
31
 
    #platform/nmofono/ofono_nm_connectivity_manager.cpp
32
 
    platform/nmofono/set_name_for_thread.cpp
33
 
    platform/nmofono/set_name_for_thread.h
34
 
 
35
 
    ../include/connectivity/networking/wifi/access-point.cpp
36
 
    manager.cpp
37
 
)
38
 
 
39
 
set_target_properties(connectivity-cpp PROPERTIES
40
 
  VERSION ${CONNECTIVITY_CPP_VERSION_MAJOR}.${CONNECTIVITY_CPP_VERSION_MINOR}.${CONNECTIVITY_CPP_VERSION_PATCH}
41
 
  SOVERSION ${CONNECTIVITY_CPP_VERSION_MAJOR}
42
 
  OUTPUT_NAME "connectivity-cpp"
43
 
)
44
 
 
45
 
target_link_libraries(connectivity-cpp
46
 
    connectivity-backend
47
 
    ${DBUSCPP_LIBRARIES}
48
 
    ${GLIB_LIBRARIES}
49
 
)