diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-11-30 18:23:03 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-11-30 18:23:03 -0500 |
| commit | 907917c5c9ec43ea9a7d4c3ae07ab2d7e48acc29 (patch) | |
| tree | 05135ff4ee18ff4a4376a84dd2a8ff4eca65d31e /CMakeLists.txt | |
| download | lingo-907917c5c9ec43ea9a7d4c3ae07ab2d7e48acc29.tar.gz lingo-907917c5c9ec43ea9a7d4c3ae07ab2d7e48acc29.tar.bz2 lingo-907917c5c9ec43ea9a7d4c3ae07ab2d7e48acc29.zip | |
Initial commit
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 25 |
1 files changed, 25 insertions, 0 deletions
| diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..5f09bbd --- /dev/null +++ b/CMakeLists.txt | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | cmake_minimum_required (VERSION 3.1) | ||
| 2 | project (lingo) | ||
| 3 | |||
| 4 | set(CMAKE_BUILD_TYPE Debug) | ||
| 5 | |||
| 6 | find_package(PkgConfig) | ||
| 7 | pkg_check_modules(yaml-cpp yaml-cpp REQUIRED) | ||
| 8 | pkg_check_modules(mastodonpp mastodonpp REQUIRED) | ||
| 9 | |||
| 10 | add_subdirectory(vendor/verbly) | ||
| 11 | |||
| 12 | include_directories( | ||
| 13 | ${mastodonpp_INCLUDE_DIRS} | ||
| 14 | vendor/verbly/lib | ||
| 15 | ${yaml-cpp_INCLUDE_DIRS} | ||
| 16 | vendor/json) | ||
| 17 | |||
| 18 | link_directories( | ||
| 19 | ${mastodonpp_LIBRARY_DIRS} | ||
| 20 | ${yaml-cpp_LIBRARY_DIRS}) | ||
| 21 | |||
| 22 | add_executable(lingo lingo.cpp) | ||
| 23 | set_property(TARGET lingo PROPERTY CXX_STANDARD 17) | ||
| 24 | set_property(TARGET lingo PROPERTY CXX_STANDARD_REQUIRED ON) | ||
| 25 | target_link_libraries(lingo verbly ${mastodonpp_LIBRARIES} ${yaml-cpp_LIBRARIES}) | ||
