File: CMakeLists.txt

package info (click to toggle)
obexftp 0.24-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 680 kB
  • ctags: 620
  • sloc: ansic: 7,132; ruby: 229; sh: 89; perl: 43; makefile: 27; python: 16
file content (40 lines) | stat: -rwxr-xr-x 700 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

set ( bfb_SOURCES
  bfb.c
  bfb_io.c
  crc.c
)

set ( bfb_PUBLIC_HEADERS
  bfb.h
  bfb_io.h
)

set ( bfb_HEADERS
  crc.h
  ${bfb_PUBLIC_HEADERS}
)

add_library ( bfb
  ${bfb_SOURCES}
  ${bfb_HEADERS}
)

set_property ( TARGET bfb PROPERTY VERSION 0.0.5 )
set_property ( TARGET bfb PROPERTY SOVERSION 0 )
set_property ( TARGET bfb PROPERTY PUBLIC_HEADER ${bfb_PUBLIC_HEADERS} )

install ( TARGETS bfb
  RUNTIME
    DESTINATION ${CMAKE_INSTALL_BINDIR}
    COMPONENT library
  LIBRARY
    DESTINATION ${CMAKE_INSTALL_LIBDIR}
    COMPONENT library
  ARCHIVE
    DESTINATION ${CMAKE_INSTALL_LIBDIR}
    COMPONENT devel
  PUBLIC_HEADER
    DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/bfb
    COMPONENT devel
)