mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
Add myRobot C++ version to cmake build (#1907)
This commit is contained in:
@@ -122,6 +122,7 @@ if (NOT WITHOUT_CSCORE)
|
||||
add_subdirectory(hal)
|
||||
add_subdirectory(wpilibj)
|
||||
add_subdirectory(wpilibc)
|
||||
add_subdirectory(myRobot)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
8
myRobot/CMakeLists.txt
Normal file
8
myRobot/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
project(myRobot)
|
||||
|
||||
include(CompileWarnings)
|
||||
|
||||
file(GLOB myRobotCpp_src src/main/native/cpp/*.cpp)
|
||||
|
||||
add_executable(myRobotCpp ${myRobotCpp_src})
|
||||
target_link_libraries(myRobotCpp wpilibc)
|
||||
Reference in New Issue
Block a user