Requirements
- follow Installmsys2 to Setup the Build Environment and Build Dependencies
- Currently you have to checkout
hs-worms/vr_module
branch. This script will be introduced into the main branch later.
How to use
- In
OpenWalnut/tools/
the filebuild_msys2.bash
provides a fast way to build and rebuild OpenWalnut during development wih the msys2 Environment - To set this up as a Build-Task in Visual Studio Code navigate to
Terminal > Configure Default Build Task...
- The Task should look somewhat like this
{ "label": "build OpenWalnut", "type": "shell", "command": "C:/ow_workspace/msys2/msys2_shell.cmd", "args": ["-mingw64","-c","'/c/ow_workspace/OpenWalnut/tools/build_msys2.bash'"], "group": { "kind": "build", "isDefault": true } }
- Now the build can be run from
Terminal > Run Build Task...
Other Tasks
Here are some other Tasks that can help speed up development.
-
{ "label": "run Stylecheck", "type": "shell", "command": "C:/ow_workspace/msys2/msys2_shell.cmd", "args": ["-mingw64","-c","'cd /c/ow_workspace/OpenWalnut/build && make stylecheck -j10 '"] }