diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-01-24 17:21:01 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-01-24 17:21:01 -0500 |
commit | 5151a32192f3efdf3efb6c54f703a8f9ba83335a (patch) | |
tree | 49a745a22fc5c3096a3ce8eaf7a3b6f562bade9c /CMakeLists.txt | |
parent | 661372d239e939947324605bce0864155da0a73e (diff) | |
download | rawr-ebooks-5151a32192f3efdf3efb6c54f703a8f9ba83335a.tar.gz rawr-ebooks-5151a32192f3efdf3efb6c54f703a8f9ba83335a.tar.bz2 rawr-ebooks-5151a32192f3efdf3efb6c54f703a8f9ba83335a.zip |
switched to cmake
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..4f502af --- /dev/null +++ b/CMakeLists.txt | |||
@@ -0,0 +1,13 @@ | |||
1 | cmake_minimum_required (VERSION 2.6) | ||
2 | project (rawr-ebooks) | ||
3 | |||
4 | add_subdirectory(vendor/twitcurl/libtwitcurl) | ||
5 | |||
6 | find_package(PkgConfig) | ||
7 | pkg_check_modules(YamlCpp yaml-cpp REQUIRED) | ||
8 | |||
9 | include_directories(vendor/twitcurl/libtwitcurl) | ||
10 | add_executable(rawr-ebooks ebooks.cpp kgramstats.cpp freevars.cpp malaprop.cpp) | ||
11 | target_link_libraries(rawr-ebooks ${YamlCpp_LIBRARIES} twitcurl curl) | ||
12 | |||
13 | add_executable(rawr-gen gen.cpp kgramstats.cpp freevars.cpp malaprop.cpp) | ||