summary refs log tree commit diff stats
path: root/CMakeLists.txt
blob: e00b490b677325d803766b99ec5c3d157ebb92e1 (plain) (blame)
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
cmake_minimum_required (VERSION 3.1)
project (verbly)

find_package(PkgConfig)
pkg_check_modules(sqlite3 sqlite3>=3.8.3 REQUIRED)

add_library(verbly
  lib/filter.cpp
  lib/field.cpp
  lib/notion.cpp
  lib/word.cpp
  lib/frame.cpp
  lib/part.cpp
  lib/form.cpp
  lib/pronunciation.cpp
  lib/statement.cpp
  lib/database.cpp
  lib/token.cpp)

target_include_directories(verbly PUBLIC
  lib
  vendor/hkutil)

set_property(TARGET verbly PROPERTY CXX_STANDARD 17)
set_property(TARGET verbly PROPERTY CXX_STANDARD_REQUIRED ON)
target_link_libraries(verbly ${sqlite3_LIBRARIES})