Quote:
Originally Posted by jhersh
Would you care to write up a document describing what you used and how you put it together (potentially including the Makefile you ended up with) so that others on Linux can get a head start?
Thanks,
-Joe
|
The ucpp project is just that. It is nicely packaged to make it easy to use.
https://github.com/nikitakit/ucpp
Code:
Universal compiling scripts for FRC
System Requirements:
For Linux: wine, wput
For Windows: MSYSgit or Cygwin
Installation instructions:
- Add the "ucpp/ucpp" folder to your system PATH
- Run the ucpp setup script
$ ucpp setup -t <team-number>
Creating a project
$ ucpp init
Configures the current directory as an FRC C++ project
that deploys code to your team's robot.
The ucpp build system aims to be fully compatible with
development in WindRiver. You can initialize any existing
WindRiver project as a ucpp project, as well as any folder
that contains C++ files.
Building and deploying code
$ ucpp configure
Generates a Makefile for your project
For additional options, run "ucpp configure help"
$ make
Compile the project
$ make deploy
Deploy code to the robot