2018-08-04 21:46:25 +00:00
|
|
|
cmake_minimum_required(VERSION 2.8.12)
|
|
|
|
project(wSsh)
|
|
|
|
|
|
|
|
find_package(Qt5Core REQUIRED)
|
|
|
|
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
|
|
|
|
set(HEADERS
|
|
|
|
sshsocket.h
|
|
|
|
qsshsocket.h
|
|
|
|
)
|
|
|
|
|
|
|
|
set(SOURCES
|
|
|
|
sshsocket.cpp
|
|
|
|
qsshsocket.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(wSsh ${HEADERS} ${SOURCES})
|
|
|
|
|
|
|
|
target_link_libraries(wSsh Qt5::Core)
|
|
|
|
target_link_libraries(wSsh ssh)
|
2018-08-29 19:54:18 +00:00
|
|
|
#target_link_libraries(wSsh ssh_threads)
|