updaterevision/CMakeLists.txt

Sun, 14 Dec 2014 23:21:38 +0200

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Sun, 14 Dec 2014 23:21:38 +0200
changeset 24
e651d02802c0
parent 1
4dd5bde4e777
permissions
-rw-r--r--

- the interface is now able to connect to arbitrary hosts (uses ^N to start the prompt) instead of the hardcoded localhost:10666

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})

mercurial