pull/1/head
Volker Birk 3 years ago
parent 3d9376c42b
commit a67b2924ff
  1. 2
      Makefile
  2. 3
      test_webserver.cc

@ -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

@ -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;
}

Loading…
Cancel
Save