25:88b41eea08e0 | 26:24c7b804c99f |
---|---|
1 project (hurgharama) | |
2 add_subdirectory (updaterevision) | |
3 | |
4 set | |
5 ( | |
6 SOURCE_FILES | |
7 sources/main.cpp | |
8 sources/version.cpp | |
9 ) | |
10 | |
11 set (CURSES_NEED_NCURSES, True) | |
12 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -W -Wall") | |
13 find_package (Curses) | |
14 include_directories (${CURSES_INCUDE_DIRS}) | |
15 include_directories (${CMAKE_CURRENT_BINARY_DIR}) | |
16 add_executable (${PROJECT_NAME} ${SOURCE_FILES}) | |
17 target_link_libraries (${PROJECT_NAME} ${CMAKE_LIBRARIES}) |