mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 22:15:23 +00:00
[2871] Empty benchmark binary
Create all the necessary makefiles and other stuff, to have a place to put the benchmarks to later.
This commit is contained in:
@@ -1190,6 +1190,7 @@ AC_CONFIG_FILES([Makefile
|
||||
src/bin/dhcp4/tests/Makefile
|
||||
src/bin/resolver/Makefile
|
||||
src/bin/resolver/tests/Makefile
|
||||
src/bin/resolver/bench/Makefile
|
||||
src/bin/sysinfo/Makefile
|
||||
src/bin/sockcreator/Makefile
|
||||
src/bin/sockcreator/tests/Makefile
|
||||
|
@@ -1,4 +1,4 @@
|
||||
SUBDIRS = . tests
|
||||
SUBDIRS = . tests bench
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/bin -I$(top_builddir)/src/bin
|
||||
|
18
src/bin/resolver/bench/Makefile.am
Normal file
18
src/bin/resolver/bench/Makefile.am
Normal file
@@ -0,0 +1,18 @@
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
|
||||
AM_CPPFLAGS += -I$(top_builddir)/src/lib/dns -I$(top_srcdir)/src/bin
|
||||
AM_CPPFLAGS += -I$(top_builddir)/src/lib/cc
|
||||
AM_CPPFLAGS += -I$(top_builddir)/src/bin/resolver
|
||||
AM_CPPFLAGS += $(BOOST_INCLUDES)
|
||||
|
||||
AM_CXXFLAGS = $(B10_CXXFLAGS)
|
||||
|
||||
if USE_STATIC_LINK
|
||||
AM_LDFLAGS = -static
|
||||
endif
|
||||
|
||||
CLEANFILES = *.gcno *.gcda
|
||||
|
||||
noinst_PROGRAMS = resolver-bench
|
||||
|
||||
resolver_bench_SOURCES = main.cc
|
||||
resolver_bench_LDADD = $(GTEST_LDADD)
|
3
src/bin/resolver/bench/main.cc
Normal file
3
src/bin/resolver/bench/main.cc
Normal file
@@ -0,0 +1,3 @@
|
||||
int main(int, const char**) {
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user