diff options
author | Joe Zhao <ztuowen@gmail.com> | 2015-09-04 08:40:52 -0600 |
---|---|---|
committer | Joe Zhao <ztuowen@gmail.com> | 2015-09-04 08:40:52 -0600 |
commit | 8786ca9366a76c6695a6cb4cb2bcfb32e913d950 (patch) | |
tree | 06f47466120913871f2c2c639ba4d33a5e7b0ff6 /CMakeLists.txt | |
download | pomodori-8786ca9366a76c6695a6cb4cb2bcfb32e913d950.tar.gz pomodori-8786ca9366a76c6695a6cb4cb2bcfb32e913d950.tar.bz2 pomodori-8786ca9366a76c6695a6cb4cb2bcfb32e913d950.zip |
Initial commit
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..fefeba2 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.3) +project(pomodori) + +INCLUDE(FindPkgConfig) + +pkg_check_modules(GTKLIB REQUIRED "gtk+-2.0") +include_directories(${GTKLIB_INCLUDE_DIRS}) +link_directories(${GTKLIB_LIBRARY_DIRS}) + +set(CMAKE_CXX_FLAGS " -std=c++11 -lnotify") + +set(SOURCE_FILES main.cpp totimer.cpp totimer.h logging.cpp logging.h) +add_executable(pomodori ${SOURCE_FILES}) + +target_link_libraries(pomodori ${GTKLIB_LIBRARIES})
\ No newline at end of file |