Update README and add contrib dir
This commit is contained in:
27
contrib/traffic-generator/CMakeLists.txt
Normal file
27
contrib/traffic-generator/CMakeLists.txt
Normal file
@@ -0,0 +1,27 @@
|
||||
check_include_file_cxx(stdint.h HAVE_STDINT_H)
|
||||
if(HAVE_STDINT_H)
|
||||
add_definitions(-DHAVE_STDINT_H)
|
||||
endif()
|
||||
|
||||
set(examples_as_tests_sources)
|
||||
if(${ENABLE_EXAMPLES})
|
||||
set(examples_as_tests_sources
|
||||
#test/traffic-generator-examples-test-suite.cc
|
||||
)
|
||||
endif()
|
||||
|
||||
build_lib(
|
||||
LIBNAME traffic-generator
|
||||
SOURCE_FILES model/traffic-generator.cc
|
||||
model/ethernet-generator.cc
|
||||
model/myCustomApp.cc
|
||||
helper/traffic-generator-helper.cc
|
||||
HEADER_FILES model/traffic-generator.h
|
||||
model/ethernet-generator.h
|
||||
model/myCustomApp.h
|
||||
helper/traffic-generator-helper.h
|
||||
LIBRARIES_TO_LINK ${libcore}
|
||||
${libethernet}
|
||||
TEST_SOURCES test/traffic-generator-test-suite.cc
|
||||
${examples_as_tests_sources}
|
||||
)
|
||||
Reference in New Issue
Block a user