~ci-train-bot/mir/mir-ubuntu-yakkety-2783

« back to all changes in this revision

Viewing changes to 3rd_party/CMakeLists.txt

  • Committer: Alan Griffiths
  • Date: 2012-09-03 15:13:33 UTC
  • mfrom: (112.1.3 mir)
  • Revision ID: alan@octopull.co.uk-20120903151333-v9mtff9de130sc8z
Add 3rd_party/libancillary to support sending file descriptors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright © 2012 Canonical Ltd.
 
2
#
 
3
# This program is free software: you can redistribute it and/or modify
 
4
# it under the terms of the GNU General Public License version 3 as
 
5
# 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 General Public License for more details.
 
11
#
 
12
# You should have received a copy of the GNU General Public License
 
13
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
14
#
 
15
# Authored by: Alan Griffiths <alan@octopull.co.uk>
 
16
 
 
17
list(APPEND MIR_3RD_PARTY_INCLUDE_DIRECTORIES ${CMAKE_CURRENT_SOURCE_DIR}/libancillary)
 
18
set(
 
19
  LIBANCILLARY_SOURCES
 
20
 
 
21
  libancillary/fd_send.c
 
22
  libancillary/fd_recv.c
 
23
)
 
24
 
 
25
add_library( 
 
26
  3rd_party STATIC
 
27
 
 
28
  ${LIBANCILLARY_SOURCES}
 
29
)
 
30
 
 
31
set(MIR_3RD_PARTY_INCLUDE_DIRECTORIES ${MIR_3RD_PARTY_INCLUDE_DIRECTORIES} PARENT_SCOPE)