rosflight / airbourne_f4

Be the Jason Bourne of the skies
BSD 3-Clause "New" or "Revised" License
6 stars 6 forks source link

[WIP] CMake #55

Open superjax opened 4 years ago

superjax commented 4 years ago

As it currently stands, the VCP is not happy. It crashes. However, the blink example builds and works

the CMake build flow is a little different from the MakeFiles. The way you build is

cd <airbourne_root>
mkdir build
cd build
cmake .. # Optionally add -DCMAKE_BUILD_TYPE=Release
make blink -j4 -l4 # if you want to build the `blink` example

to flash the example

make flash_blink

If you want to go straight to flashing, you can!

mkdir build
cd build
cmake ..
make flash_blink -j4 -l4

This PR is based on #54, so as soon as that is merged in, this PR will be only build changes