Browse Source

testing

pull/1/head
Volker Birk 2 years ago
parent
commit
a67b2924ff
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      Makefile
  2. +2
    -1
      test_webserver.cc

+ 1
- 1
Makefile View File

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


+ 2
- 1
test_webserver.cc View File

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