diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-03-16 21:35:35 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-03-16 21:35:35 -0400 |
commit | 8b1333d0e6e2b9a5014bdbff2987d899f5413fee (patch) | |
tree | ab5c864b61cab267ad3118e8cbe637c151448aa5 /CMakeLists.txt | |
parent | 3aceae8ab1eb5992110ea57a9479bbc3177feb21 (diff) | |
download | furries-8b1333d0e6e2b9a5014bdbff2987d899f5413fee.tar.gz furries-8b1333d0e6e2b9a5014bdbff2987d899f5413fee.tar.bz2 furries-8b1333d0e6e2b9a5014bdbff2987d899f5413fee.zip |
Added word derivational relationships (kind of eh at the moment) and moved verbly into its own directory
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a884b5..3a8fab8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -2,23 +2,14 @@ cmake_minimum_required (VERSION 2.6) | |||
2 | project (furries) | 2 | project (furries) |
3 | 3 | ||
4 | add_subdirectory(vendor/twitcurl/libtwitcurl) | 4 | add_subdirectory(vendor/twitcurl/libtwitcurl) |
5 | add_subdirectory(vendor/verbly) | ||
5 | 6 | ||
6 | find_package(PkgConfig) | 7 | find_package(PkgConfig) |
7 | pkg_check_modules(YamlCpp yaml-cpp REQUIRED) | 8 | pkg_check_modules(YamlCpp yaml-cpp REQUIRED) |
8 | pkg_check_modules(sqlite3 sqlite3 REQUIRED) | 9 | pkg_check_modules(sqlite3 sqlite3 REQUIRED) |
9 | find_package(libxml2 REQUIRED) | ||
10 | 10 | ||
11 | add_library(verbly verbly/data.cpp verbly/adjective.cpp verbly/noun.cpp verbly/verb.cpp verbly/adverb.cpp verbly/token.cpp verbly/word.cpp) | 11 | include_directories(vendor/twitcurl/libtwitcurl ${sqlite3_INCLUDE_DIR} vendor/verbly/lib) |
12 | set_property(TARGET verbly PROPERTY CXX_STANDARD 11) | ||
13 | set_property(TARGET verbly PROPERTY CXX_STANDARD_REQUIRED ON) | ||
14 | |||
15 | include_directories(vendor/twitcurl/libtwitcurl ${LIBXML2_INCLUDE_DIR} ${sqlite3_INCLUDE_DIR}) | ||
16 | add_executable(furries furries.cpp) | 12 | add_executable(furries furries.cpp) |
17 | set_property(TARGET furries PROPERTY CXX_STANDARD 11) | 13 | set_property(TARGET furries PROPERTY CXX_STANDARD 11) |
18 | set_property(TARGET furries PROPERTY CXX_STANDARD_REQUIRED ON) | 14 | set_property(TARGET furries PROPERTY CXX_STANDARD_REQUIRED ON) |
19 | target_link_libraries(furries ${sqlite3_LIBRARIES} ${YamlCpp_LIBRARIES} twitcurl curl verbly) | 15 | target_link_libraries(furries ${sqlite3_LIBRARIES} ${YamlCpp_LIBRARIES} twitcurl curl verbly) |
20 | |||
21 | add_executable(generator generator.cpp) | ||
22 | set_property(TARGET generator PROPERTY CXX_STANDARD 11) | ||
23 | set_property(TARGET generator PROPERTY CXX_STANDARD_REQUIRED ON) | ||
24 | target_link_libraries(generator ${sqlite3_LIBRARIES} ${LIBXML2_LIBRARIES}) | ||