Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
OpenWalnut Core OpenWalnut Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 86
    • Issues 86
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenWalnut
  • OpenWalnut CoreOpenWalnut Core
  • Wiki
  • visualstudiocodebuildmsys2

Last edited by Alexander Wiebel Apr 22, 2020
Page history

visualstudiocodebuildmsys2

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 file build_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 '"]
    }
Clone repository
  • Compiling OpenWalnut with MSVC on Windows
  • DeveloperTools
  • DiffusionIndices
  • Documentation
  • Downloads
  • EditorConfiguration
  • FAQ
  • FiberSimilarityMetrics
  • FirstSteps
  • Getting_OpenWalnut
  • Glossary
  • How to download, install and run OpenWalnut AppImage
  • How to use OpenWalnut for SIVERT
  • HowtoDocumentCode
  • IllustrativeConnectivityVisualization
View All Pages