![]() |
C++ Robot Programming in CMake/CLion
I would like to program in C++ this year, but I don't like eclipse. Last year I used IntelliJ IDEA and Java and that worked great. This year I want to use CLion which uses CMake. How would I go about setting up CMake to build and deploy code to the robot? Has anyone done something like this before?
|
Re: C++ Robot Programming in CMake/CLion
I've not used CLion but have no doubt it will work if ...
You can tell it the name and location of the cross compiler. You can tell it where to find the WPI library to link against. You can tell it where to find the WPI headers to compile against. CMake is just another rules engine. Teach it how to generate a .o file from a .c file, a .out file from a C++ file and an ELF executable file with the linker. It should work. CLion supports gcc and gdb. Check this out ... https://youtrack.jetbrains.com/issue/CPP-871 https://dev.widemeadows.de/2015/02/1...ap-on-windows/ |
Re: C++ Robot Programming in CMake/CLion
|
| All times are GMT -5. The time now is 09:55. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi