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)