summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
blob: 6404868900b9e6e6f4b6f0ecd1fc4bfda8823d0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)

include_directories(
	${libssh_INCLUDE_PATH}
	"${PROJECT_BINARY_DIR}/src"
	"${PROJECT_SOURCE_DIR}/3rdParty/linenoise"	
)

set(SRC
	cssh.c
	port.c
	progressbar.c
)

ADD_GENGETOPT_FILES(SRC options.ggo)

add_executable(cssh ${SRC})

target_link_libraries(cssh ${libssh_LIBRARY} curses linenoise)

install( TARGETS cssh RUNTIME DESTINATION bin )