From c7d1eb71da0e085b89493cccc04ef9bfdd57cd67 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Mon, 12 Aug 2019 13:25:14 -0700 Subject: [PATCH] build & run selftest as part of jenkins --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f72081e8..4a9088011 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,3 +125,7 @@ endif(BUILD_CENTRAL_CONTROLLER) add_executable(${PROJECT_NAME} ${src} ${headers}) target_link_libraries(${PROJECT_NAME} ${libs}) + + +add_executable(zerotier-selftest selftest.cpp) +target_link_libraries(zerotier-selftest ${libs})