diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-03-03 18:17:37 -0500 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-03-03 18:17:37 -0500 |
| commit | 7ba70196fd05a893a851f24a07868e3a1e9a7818 (patch) | |
| tree | df12ddf03d142745c20056002a6cf7db790645b5 /CMakeLists.txt | |
| download | grunge-7ba70196fd05a893a851f24a07868e3a1e9a7818.tar.gz grunge-7ba70196fd05a893a851f24a07868e3a1e9a7818.tar.bz2 grunge-7ba70196fd05a893a851f24a07868e3a1e9a7818.zip | |
Created bot
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 19 |
1 files changed, 19 insertions, 0 deletions
| diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..d9b21f5 --- /dev/null +++ b/CMakeLists.txt | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | cmake_minimum_required (VERSION 3.1) | ||
| 2 | project (grunge) | ||
| 3 | |||
| 4 | set(CMAKE_EXPORT_COMPILE_COMMANDS ON) | ||
| 5 | |||
| 6 | add_subdirectory(vendor/libtwittercpp) | ||
| 7 | add_subdirectory(vendor/verbly) | ||
| 8 | add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) | ||
| 9 | |||
| 10 | find_package(PkgConfig) | ||
| 11 | pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED) | ||
| 12 | |||
| 13 | include_directories(${GraphicsMagick_INCLUDE_DIRS} vendor/verbly/lib vendor/libtwittercpp/src vendor/yaml-cpp/include vendor/libtwittercpp/vendor/curlcpp/include) | ||
| 14 | link_directories(${GraphicsMagick_LIBRARY_DIRS}) | ||
| 15 | add_executable(grunge main.cpp grunge.cpp palette.cpp) | ||
| 16 | set_property(TARGET grunge PROPERTY CXX_STANDARD 11) | ||
| 17 | set_property(TARGET grunge PROPERTY CXX_STANDARD_REQUIRED ON) | ||
| 18 | target_link_libraries(grunge ${GraphicsMagick_LIBRARIES} verbly yaml-cpp twitter++) | ||
| 19 | |||
