1cmake_minimum_required(VERSION 3.26)
2
3project(dict VERSION 0.1 LANGUAGES C)
4
5file(GLOB src CONFIGURE_DEPENDS "*.h" "*.c")
6add_executable(dict ${src})
7
8target_compile_options(dict PRIVATE -Wall -Wextra -Wpedantic -Werror)
9target_include_directories(dict PUBLIC "${PROJECT_BINARY_DIR}")
10target_link_libraries(dict sqlite3 ncursesw m c)
11
12
13add_subdirectory(ext)