0:792876306489 | 1:4dd5bde4e777 |
---|---|
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}) |