File: CMakeLists.txt

package info (click to toggle)
syslog-ng 4.8.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,456 kB
  • sloc: ansic: 177,631; python: 13,035; cpp: 11,611; makefile: 7,012; sh: 5,147; java: 3,651; xml: 3,344; yacc: 1,377; lex: 599; perl: 193; awk: 190; objc: 162
file content (64 lines) | stat: -rw-r--r-- 1,406 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
set(AFSOCKET_SOURCES
    afsocket.c
    afsocket.h
    afsocket-source.c
    afsocket-source.h
    afsocket-dest.c
    afsocket-dest.h
    afsocket-signals.h
    socket-options.c
    socket-options.h
    transport-mapper.c
    transport-mapper.h
    afinet.c
    afinet.h
    afinet-source.c
    afinet-source.h
    afinet-dest-failover.c
    afinet-dest-failover.h
    afinet-dest.c
    afinet-dest.h
    socket-options-inet.c
    socket-options-inet.h
    transport-mapper-inet.c
    transport-mapper-inet.h
    afunix-source.c
    afunix-source.h
    afunix-dest.c
    afunix-dest.h
    transport-mapper-unix.c
    transport-mapper-unix.h
    socket-options-unix.c
    socket-options-unix.h
    transport-unix-socket.c
    transport-unix-socket.h
    compat-unix-creds.c
    compat-unix-creds.h
    afsocket-grammar.y
    afsocket-parser.c
    afsocket-parser.h
    afsocket-plugin.c
    systemd-syslog-source.h
    systemd-syslog-source.c
    afsocket-systemd-override.h
)

find_package(ZLIB REQUIRED)
find_package(systemd)

add_module(
  TARGET afsocket
  GRAMMAR afsocket-grammar
  INCLUDES ${ZLIB_INCLUDE_DIRS}
           ${WRAP_INCLUDE_DIRS}
           ${Libsystemd_INCLUDE_DIRS}
  DEPENDS ${WRAP_LIBRARIES}
          ${ZLIB_LIBRARIES}
          OpenSSL::SSL
          OpenSSL::Crypto
          libnet
          ${Libsystemd_LIBRARIES}
  SOURCES ${AFSOCKET_SOURCES}
)

add_test_subdirectory(tests)