From f8351aef302fa2da6183096fdf0013b2f29900ae Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Fri, 14 Aug 2020 23:35:47 +0200 Subject: upgrade to C++17 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9c6a8a4..6fbf4e1 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ CXXFLAGS ?= -g -O2 -Wall -Wold-style-cast CPPFLAGS += -D_FILE_OFFSET_BITS=64 -CXXFLAGS += -std=c++11 +CXXFLAGS += -std=c++17 LDLIBS = -lstdc++ -lboost_program_options -lboost_filesystem -lboost_system -lboost_iostreams -lnettle -lpthread all: ssh-agent-filter.1 afssh.1 ssh-askpass-noinput.1 -- cgit v1.2.3 From 013ca71f8e07f462266f5c795930739b37c6d5fb Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Mon, 24 Aug 2020 13:42:39 +0200 Subject: use C++17 std::filesystem instead of boost --- Makefile | 2 +- ssh-agent-filter.C | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6fbf4e1..cd27012 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ CXXFLAGS ?= -g -O2 -Wall -Wold-style-cast CPPFLAGS += -D_FILE_OFFSET_BITS=64 CXXFLAGS += -std=c++17 -LDLIBS = -lstdc++ -lboost_program_options -lboost_filesystem -lboost_system -lboost_iostreams -lnettle -lpthread +LDLIBS = -lstdc++ -lboost_program_options -lboost_iostreams -lnettle -lpthread all: ssh-agent-filter.1 afssh.1 ssh-askpass-noinput.1 diff --git a/ssh-agent-filter.C b/ssh-agent-filter.C index 340c606..e98123c 100644 --- a/ssh-agent-filter.C +++ b/ssh-agent-filter.C @@ -22,8 +22,8 @@ #include namespace po = boost::program_options; -#include -namespace fs = boost::filesystem; +#include +namespace fs = std::filesystem; #include #include -- cgit v1.2.3 From b3989076c699ee2d3e01377d17edec9a8bd0b2c3 Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Wed, 21 Apr 2021 13:26:03 +0200 Subject: add .gitignore --- .gitignore | 9 +++++++++ Makefile | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .gitignore (limited to 'Makefile') diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e0ca177 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +*.1 +*.gcda +*.gcno +*.gcov +*.o +*.plist +*.swp +compile_commands.json +ssh-agent-filter diff --git a/Makefile b/Makefile index cd27012..6b0c42d 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ version.h: test ! -d .git || git describe | sed 's/^.*$$/#define SSH_AGENT_FILTER_VERSION "ssh-agent-filter \0"/' > $@ clean: - $(RM) *.1 ssh-agent-filter *.o + $(RM) *.1 ssh-agent-filter *.o *.gcda *.gcno *.gcov test ! -d .git || git checkout -f -- version.h .PHONY: version.h -- cgit v1.2.3