Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
api: keep api common code in vlibapi
[vpp.git]
/
src
/
vat2
/
CMakeLists.txt
diff --git
a/src/vat2/CMakeLists.txt
b/src/vat2/CMakeLists.txt
index
c44d245
..
6f843c3
100644
(file)
--- a/
src/vat2/CMakeLists.txt
+++ b/
src/vat2/CMakeLists.txt
@@
-27,7
+27,7
@@
add_vpp_executable(vat2 ENABLE_EXPORTS
vppinfra
vppapiclient
Threads::Threads
vppinfra
vppapiclient
Threads::Threads
- rt m dl crypto
+ dl
)
#
)
#
@@
-44,16
+44,16
@@
add_vpp_executable(test_vat2 ENABLE_EXPORTS NO_INSTALL
DEPENDS api_headers
LINK_LIBRARIES
DEPENDS api_headers
LINK_LIBRARIES
+ vppinfra
vlibmemoryclient
vlibmemoryclient
+ vlibapi
svm
svm
- vppinfra
vppapiclient
Threads::Threads
vppapiclient
Threads::Threads
- rt m dl crypto
+ dl
)
#target_link_options(test_vat2 PUBLIC "LINKER:-fsanitize=address")
)
#target_link_options(test_vat2 PUBLIC "LINKER:-fsanitize=address")
-
-if("${CMAKE_VERSION}" VERSION_GREATER_EQUAL "3.13" AND "${CMAKE_C_COMPILER_ID}" MATCHES "(Apple)?[Cc]lang")
+if(VPP_BUILD_TESTS_WITH_COVERAGE)
set(TARGET_NAME test_vat2)
message("Building with llvm Code Coverage Tools ${TARGET_NAME}")
set(TARGET_NAME test_vat2)
message("Building with llvm Code Coverage Tools ${TARGET_NAME}")