mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
Reverted to old driverstation and joystick code because we're not ready for windows drive station yet updated paths to reflect new wpilib organization fixed name of gazebo topic (if you want /gazebo/frc/time use ~/time) included network tables in wpilibJavaSim Added ds script, and improved frcsim script always start gazebo with verbose Change-Id: I3c54b7000019a5985079a88200896a8069e69b86
26 lines
589 B
CMake
26 lines
589 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
cmake_policy(SET CMP0015 NEW)
|
|
project(wpilibcSim)
|
|
|
|
get_filename_component(HAL_API_INCLUDES ../../hal/include REALPATH)
|
|
|
|
file(GLOB_RECURSE COM_SRC_FILES ../shared/src/*.cpp
|
|
src/*.cpp)
|
|
|
|
set (INCLUDE_FOLDERS include
|
|
../shared/include
|
|
../../hal/include
|
|
${NTCORE_INCLUDE_DIR}
|
|
${GZ_MSGS_INCLUDE_DIR}
|
|
${Boost_INCLUDE_DIR}
|
|
${GAZEBO_INCLUDE_DIRS})
|
|
|
|
|
|
include_directories(${INCLUDE_FOLDERS})
|
|
|
|
link_directories(${NTCORE_LIBDIR})
|
|
|
|
add_library(${PROJECT_NAME} SHARED ${SRC_FILES} ${COM_SRC_FILES})
|
|
|
|
target_link_libraries(${PROJECT_NAME} gz_msgs ntcore)
|