From 54ae271dfc5f8405233ed320b2e9bd821ee8210f Mon Sep 17 00:00:00 2001 From: gramanas Date: Fri, 16 Nov 2018 14:43:19 +0200 Subject: Code restructure/simplification, restore regression test --- CMakeLists.txt | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d88de5..65490cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ project(ck C) # version set(ck_MAJOR_VERSION 0) set(ck_MINOR_VERSION 9) -set(ck_PATCH_VERSION 1) +set(ck_PATCH_VERSION 2) # Feature test macros set(FEATURE_TEST_MACROS "-D_DEFAULT_SOURCE") @@ -57,22 +57,26 @@ set(ckUnitTest_src ${UNIT_TEST_DIR}/ck-test.c) set(ckLib_src ${SRC_DIR}/clparser.c ${SRC_DIR}/actions.c - ${SRC_DIR}/actionhelper.c ${SRC_DIR}/confparser.c ${SRC_DIR}/dblayer.c - ${SRC_DIR}/dbhelper.c + ${SRC_DIR}/queries.c ${SRC_DIR}/ckutil.c ${SRC_DIR}/cklist.c ${SRC_DIR}/ckerrlog.c + ${SRC_DIR}/init.c + ${SRC_DIR}/add.c + ${SRC_DIR}/delete.c + ${SRC_DIR}/edit.c + ${SRC_DIR}/list.c + ${SRC_DIR}/restore.c ) set(ckLib_hdr ${SRC_DIR}/clparser.h ${SRC_DIR}/actions.h - ${SRC_DIR}/actionhelper.h ${SRC_DIR}/confparser.h ${SRC_DIR}/dblayer.h - ${SRC_DIR}/dbhelper.h + ${SRC_DIR}/queries.h ${SRC_DIR}/ckutil.h ${SRC_DIR}/cklist.h ${SRC_DIR}/ckinfo.h @@ -123,8 +127,8 @@ if (CK_TESTS) configure_file(${TEST_DIR}/01_add ${BIN_TEST_DIR}/01_add @ONLY) configure_file(${TEST_DIR}/02_list ${BIN_TEST_DIR}/02_list @ONLY) configure_file(${TEST_DIR}/03_delete ${BIN_TEST_DIR}/03_delete @ONLY) - configure_file(${TEST_DIR}/03_delete ${BIN_TEST_DIR}/03_delete @ONLY) configure_file(${TEST_DIR}/04_search ${BIN_TEST_DIR}/04_search @ONLY) + configure_file(${TEST_DIR}/05_restore ${BIN_TEST_DIR}/05_restore @ONLY) # test-ck configure_file(${RES_DIR}/test-ck test-ck @ONLY) endif() -- cgit v1.2.3