Publishing 2019 R3 content

This commit is contained in:
Alexey Suhov
2019-10-04 19:26:43 +03:00
parent ba6e22b1b5
commit 0923303e02
1734 changed files with 72094 additions and 58972 deletions

View File

@@ -18,11 +18,12 @@ endif()
file(GLOB MVNC_SOURCES "include/*" "src/*")
file(GLOB WATCHDOG_SOURCES "../watchdog/*")
# FIXME: WIN_PTHREAD also should be built as a library
if(WIN32)
file(GLOB USB_WIN_SOURCES "../USB_WIN/*")
file(GLOB WIN_PTHREAD_SOURCES "../WinPthread/*")
list(APPEND ${MVNC_SOURCES} ${USB_WIN_SOURCES} ${WIN_PTHREAD_SOURCES})
else()
list(APPEND ${MVNC_SOURCES} "../WinPthread/pthread_semaphore.c")
endif()
add_library(${TARGET_NAME} STATIC ${MVNC_SOURCES} ${WATCHDOG_SOURCES})
@@ -43,6 +44,7 @@ endif()
if(UNIX)
target_include_directories(${TARGET_NAME}
PRIVATE
"../WinPthread"
"${LIBUSB_INCLUDE_DIR}")
endif()