From d102e028aee6571c0fd9dfd4074cfb3c15f4594e Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sat, 17 Feb 2024 11:41:23 +0100 Subject: ref: Refactor newer folder structure Create a lib dict and importer project. * dict: holds the main application * importer: code to read from source to a common database. * lib: shared code --- CMakeLists.txt | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index f253be6..a88fc55 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,12 +2,6 @@ cmake_minimum_required(VERSION 3.26) project(dict VERSION 0.1 LANGUAGES C) -file(GLOB src CONFIGURE_DEPENDS "*.h" "*.c") -add_executable(dict ${src}) - -target_compile_options(dict PRIVATE -Wall -Wextra -Wpedantic -Werror) -target_include_directories(dict PUBLIC "${PROJECT_BINARY_DIR}") -target_link_libraries(dict sqlite3 ncursesw m c) - - add_subdirectory(ext) +add_subdirectory(importer) +add_subdirectory(lib) -- cgit v1.2.3