Sat, 13 Dec 2014 04:50:33 +0200
- to hell with that 'ok' field. now throws an exception if attempts to read past the end
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})