summary refs log tree commit diff stats
path: root/CMakeLists.txt
blob: 2adad191eabffe6bef8e5144557e82967bb72770 (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
27
28
29
cmake_minimum_required (VERSION 3.1)
project (verbly)

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

set(CMAKE_BUILD_TYPE Debug)

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
  vendor/hkutil/vendor)

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