mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Made a toplevel directory for C++ and C++ tests Change-Id: I4bc2074a7036ec7fe79568b411637a5bee9eb5b3 Added the C++ testing framework and one test Change-Id: I1e80a1e16b251a49666820a9d4c8caa025da9785
13 lines
475 B
CMake
13 lines
475 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
project(All-WPILib)
|
|
set(CMAKE_BUILD_TYPE Debug)
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wformat=2 -Wextra -Wno-unused-parameter -fPIC")
|
|
SET(CMAKE_SKIP_BUILD_RPATH TRUE)
|
|
|
|
file(GLOB_RECURSE NI_LIBS ni-libraries/*.so*)
|
|
get_filename_component(HAL_API_INCLUDES hal/include REALPATH)
|
|
get_filename_component(NWT_API_INCLUDES networktables/cpp/include REALPATH)
|
|
add_subdirectory(hal)
|
|
add_subdirectory(networktables/cpp)
|
|
add_subdirectory(wpilibc)
|