From a67b2924ff3af8e1ca4ac3008a6a32f3cbcbeb67 Mon Sep 17 00:00:00 2001 From: Volker Birk Date: Mon, 8 Jun 2020 19:37:27 +0200 Subject: [PATCH] testing --- Makefile | 2 +- test_webserver.cc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f6857ff..06f8fa1 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ CC?=cc CXX?=c++ CFLAGS+=-std=c11 CXXFLAGS+=-I$(BOOST_INCLUDE) -std=c++11 -LDFLAGS+=-L$(BOOST_LIB) +LDFLAGS+=-L$(BOOST_LIB) -lboost_regex-mt ifdef NDEBUG CFLAGS+=-O3 -DNDEBUG diff --git a/test_webserver.cc b/test_webserver.cc index 2e5458b..a250329 100644 --- a/test_webserver.cc +++ b/test_webserver.cc @@ -3,6 +3,7 @@ int main() { - std::cout << "hello, world\n"; + pEp::Webserver web{net::ip::address::from_string("127.0.0.1"), 8080, "htdocs"}; return 0; } +