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

SET(efw_ipt_SRC
        eurephiadm.c
        argparser.c
        get_console_input.c
        client_config.c
        client_context.c
        client_session.c
        commands/users.c
        commands/edit_config.c
        ../common/eurephia_log.c
        ../common/eurephia_getsym.c
        ../common/eurephia_values.c
        ../common/eurephiadb_session_common.c
        ../common/eurephia_admin_common.c
        ../common/passwd.c
        ../common/sha512.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)