diff -r 792876306489 -r 4dd5bde4e777 updaterevision/CMakeLists.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/updaterevision/CMakeLists.txt Wed Dec 10 19:17:00 2014 +0200 @@ -0,0 +1,17 @@ +project (hurgharama) +add_subdirectory (updaterevision) + +set +( + SOURCE_FILES + sources/main.cpp + sources/version.cpp +) + +set (CURSES_NEED_NCURSES, True) +set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -W -Wall") +find_package (Curses) +include_directories (${CURSES_INCUDE_DIRS}) +include_directories (${CMAKE_CURRENT_BINARY_DIR}) +add_executable (${PROJECT_NAME} ${SOURCE_FILES}) +target_link_libraries (${PROJECT_NAME} ${CMAKE_LIBRARIES})