From 8786ca9366a76c6695a6cb4cb2bcfb32e913d950 Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Fri, 4 Sep 2015 08:40:52 -0600 Subject: Initial commit --- CMakeLists.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') 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 -- cgit v1.2.3-70-g09d2