Quote:
Originally Posted by Spectare
Do you, like me, have an irrational aversion to IDEs? Do you just want to stick to your gedit, vi, or nano? Well, never fear, I have come to the rescue! After a few hours of digging through the Eclipse plugins and the FRC toolchain, I have created something to replace Eclipse: a makefile. Simply head over to https://github.com/brpylko/FRCMakeProject, download the repository as a zip archive, and you're ready to start coding. I've tried this on Ubuntu, but it should work on all Linux distros. I have no idea if it will work on Mac OS, but I'm sure it won't work on Windows. If you have any problems/suggestions, open an issue on GitHub.
|
Nice job, looks good. FYI we explicitly set up gcc to be as standard as possible so in theory every standard compliant enviroment should be able to compile with
arm-frc-linux-gnueabi-g++ -I${HOME}/wpilib/cpp/current/include file.cpp -o file.o
and link with
arm-frc-linux-gnueabi-g++ -L${HOME}/wpilib/cpp/current/lib -lwpi files.o -o FRCUserProgram
There is even a CMake toolchain file distributed with the ubuntu toolchains in the package frcmake (nothing prevents it from being distributed with windows and mac but that would require re-building the toolchains, while ubuntu it was a single package addition):
https://bitbucket.org/byteit101/tool...ake?at=default Note it doesn't have a deploy target but I'll gladly accept pull requests.