mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Add IMAQdx and its dependencies Change-Id: I6befa563e96db224db83fb90985c86eb3e8d4f3e Add a "CameraServer" class for C++ This class allows the driver station's camera viewer to interact with a C++ program. It includes both an automatic mode to send images from a webcam to the dashboard in a background thread, and an option to manually feed it IMAQ images. Change-Id: I54fdb164c00dce165859c22f435be647dc9927cc
17 lines
817 B
CMake
17 lines
817 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
project(All-WPILib)
|
|
set(CMAKE_BUILD_TYPE Debug)
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter -fPIC")
|
|
|
|
file(GLOB_RECURSE NI_LIBS ni-libraries/*.so*)
|
|
list(REMOVE_ITEM NI_LIBS ${CMAKE_CURRENT_SOURCE_DIR}/ni-libraries/libwpi.so ${CMAKE_CURRENT_SOURCE_DIR}/ni-libraries/libwpi_2015.so)
|
|
SET(WPI_LD_LIBS ${CMAKE_CURRENT_SOURCE_DIR}/ni-libraries/libwpi.so ${CMAKE_CURRENT_SOURCE_DIR}/ni-libraries/libwpi_2015.so)
|
|
get_filename_component(WPILIB_INCLUDES wpilibc/wpilibC++/include REALPATH)
|
|
get_filename_component(HAL_API_INCLUDES hal/include REALPATH)
|
|
get_filename_component(NWT_API_INCLUDES networktables/cpp/include REALPATH)
|
|
file(GLOB_RECURSE COM_SRC_FILES wpilibc/wpilibC++/src/*.cpp)
|
|
|
|
add_subdirectory(hal)
|
|
add_subdirectory(networktables/cpp)
|
|
add_subdirectory(wpilibc)
|