1
# Copyright © 2013 Canonical Ltd.
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.
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.
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/>.
16
# Antti Kaijanmäki <antti.kaijanmaki@canonical.com>
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
31
#platform/nmofono/ofono_nm_connectivity_manager.cpp
32
platform/nmofono/set_name_for_thread.cpp
33
platform/nmofono/set_name_for_thread.h
35
../include/connectivity/networking/wifi/access-point.cpp
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"
45
target_link_libraries(connectivity-cpp