Files
allwpilib/wpilibc/simulation/CMakeLists.txt
Peter_Mitrano 0d062fba3a Add Cmake wrappers and unzip desktop ntcore builds
the task allcsim will build everything
requires ntcore desktop to be built
also fixed Driverstation to match non-sim C++ API

Conflicts:
	wpilibc/simulation/CMakeLists.txt

Change-Id: Id38141a5b48ed7fe064c7e6c8d2f618481b7e298
2015-12-18 22:29:57 -05:00

27 lines
623 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})
message("inc=${INCLUDE_FOLDERS}")
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)