diff --git a/CMakeLists.txt b/CMakeLists.txt index b19547347e..72361e3c1f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -122,6 +122,7 @@ if (NOT WITHOUT_CSCORE) add_subdirectory(hal) add_subdirectory(wpilibj) add_subdirectory(wpilibc) + add_subdirectory(myRobot) endif() endif() diff --git a/myRobot/CMakeLists.txt b/myRobot/CMakeLists.txt new file mode 100644 index 0000000000..fd9fba624c --- /dev/null +++ b/myRobot/CMakeLists.txt @@ -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)