diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-02-02 19:47:46 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-02-02 19:47:46 +0100 |
commit | e423e3c888390450c3f4c7881f8f83f9f58904b0 (patch) | |
tree | a474de3787d99d129d3af5ef456e5a30f582db05 | |
parent | dc50d7ee6ca044146ddd023a819cd3704400f22c (diff) | |
download | cssh-e423e3c888390450c3f4c7881f8f83f9f58904b0.tar.gz cssh-e423e3c888390450c3f4c7881f8f83f9f58904b0.tar.bz2 |
added an installation instruction and fixed for out-of-source-builds
-rw-r--r-- | INSTALL | 8 | ||||
-rw-r--r-- | src/CMakeLists.txt | 1 |
2 files changed, 9 insertions, 0 deletions
@@ -9,3 +9,11 @@ Building cssh requires: * libssh: implementation of the SSH protocol * gengetopt: for generating the argument parser and the help usage +Installation +------------ + +mkdir build +cd build +cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release .. +make +make install diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e4a23e6..d3b9c21 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 2.6 FATAL_ERROR) include_directories( ${LIBSSH_PUBLIC_INCLUDE_DIRS} + "${PROJECT_BINARY_DIR}/src" "${PROJECT_SOURCE_DIR}/3rdParty/linenoise" ) |