From 3b43c7aefe3fa01ec7aefc15c0d94745c751d8cb Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 27 Mar 2019 13:52:49 +0100 Subject: Added uthash as a git submodule --- .gitmodules | 3 +++ README.md | 11 +++++++++++ common/CMakeLists.txt | 1 + external/uthash | 1 + 4 files changed, 16 insertions(+) create mode 160000 external/uthash diff --git a/.gitmodules b/.gitmodules index c3f6d12..21d232a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "external/termrec"] path = external/termrec url = https://github.com/kilobyte/termrec +[submodule "external/uthash"] + path = external/uthash + url = https://github.com/troydhanson/uthash diff --git a/README.md b/README.md index d2cf716..9f564e8 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ This bastion project does work properly with non interactive sessions, which all - [Monitoring](#monitoring) - [Backup](#backup) - [Scaling](#scaling) +- [Special thanks](#special-thanks) ## Dependencies @@ -34,6 +35,7 @@ The following are optional dependencies : This project is built using cmake : ``` +git submodule update --init mkdir build cd build cmake .. @@ -79,3 +81,12 @@ session_recording: ## Backup ## Scaling + +## Special thanks + +I would like to thank the developers of the following projects, I am merely standing on the shoulders of giants : + +- libconfig from http://www.hyperrealm.com/libconfig/libconfig.html +- libssh from https://www.libssh.org/ +- libtty from https://github.com/kilobyte/termrec +- uthash from http://troydhanson.github.io/uthash/ diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 2de8714..d28cbec 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -1,3 +1,4 @@ +include_directories("${PROJECT_SOURCE_DIR}/external/uthash/src") include_directories("${CMAKE_CURRENT_BINARY_DIR}") file(GLOB_RECURSE SOURCES *.c) diff --git a/external/uthash b/external/uthash new file mode 160000 index 0000000..e5e9ad5 --- /dev/null +++ b/external/uthash @@ -0,0 +1 @@ +Subproject commit e5e9ad586f3249733ab3d00bb74fcbb9433e48da -- cgit v1.2.3