Update README and add contrib dir
This commit is contained in:
24
contrib/real-device/CMakeLists.txt
Normal file
24
contrib/real-device/CMakeLists.txt
Normal file
@@ -0,0 +1,24 @@
|
||||
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/real-device-examples-test-suite.cc
|
||||
)
|
||||
endif()
|
||||
|
||||
build_lib(
|
||||
LIBNAME real-device
|
||||
SOURCE_FILES model/evb-lan9668.cc
|
||||
helper/real-device-helper.cc
|
||||
HEADER_FILES model/evb-lan9668.h
|
||||
helper/real-device-helper.h
|
||||
LIBRARIES_TO_LINK ${libcore}
|
||||
${libethernet}
|
||||
${libtsn}
|
||||
TEST_SOURCES test/real-device-test-suite.cc
|
||||
${examples_as_tests_sources}
|
||||
)
|
||||
Reference in New Issue
Block a user