summaryrefslogtreecommitdiffstats
path: root/eurephiadm/CMakeLists.txt
blob: 1fa32a8500d9a17066277725bd454adc958af79c (plain)
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
PROJECT(eurephiadm C)
cmake_minimum_required(VERSION 2.6)

SET(efw_ipt_SRC
        eurephiadm.c
        argparser.c
        get_console_input.c
        field_print.c
        client_config.c
        client_context.c
        client_session.c
        parse_certificate_files.c
        commands/users.c
        commands/certificates.c
        commands/usercerts.c
        commands/edit_config.c
        ../common/eurephia_log.c
        ../common/eurephia_getsym.c
        ../common/eurephia_values.c
        ../common/eurephiadb_session_common.c
        ../common/eurephia_xml.c
        ../common/passwd.c
        ../common/sha512.c
        ../common/randstr.c
        ../common/certinfo.c
        ../database/eurephiadb.c
)

IF(FIREWALL)
        ADD_DEFINITIONS(-DFIREWALL)

ENDIF(FIREWALL)

INCLUDE_DIRECTORIES(../common ../database)
ADD_EXECUTABLE(eurephiadm ${efw_ipt_SRC})
TARGET_LINK_LIBRARIES(eurephiadm dl crypto ${EXTRA_LIBS})