Commit Graph

18 Commits

Author SHA1 Message Date
Kenn Sebesta a36e439158 [Make][Tools] Reliably get the compiler version
If the user didn't have ARM SDK in the ./tools path, then previously they
would not get the compiler version string.
2022-03-23 12:52:48 -04:00
Kenn Sebesta 802b88ae37 [Make] use proper powershell script block formatting.
- See `powershell -help` "-command" section.
- C.f. https://github.com/PowerShell/PowerShell/issues/10842
2022-03-21 08:12:57 -04:00
Kenn Sebesta 26605687fa [gtest] Fix Windows installation
It had previously worked only on bash shells.
2022-03-16 10:41:01 -04:00
Kenn Sebesta 37068c70a9 [Make][Windows] Replace `pwsh` by `powershell`
This calls the "Powershell for Windows" instead of the "MS Powershell"
console.
2022-03-13 10:11:28 -04:00
Kenn Sebesta 816f87a085 [Make][Tools] Don't depend on pip stuff being on the path 2022-03-12 13:22:42 -05:00
Kenn Sebesta 4a5925668a [Make] Only check for ARM-gcc version if the SDK is installed 2022-03-12 13:21:50 -05:00
Kenn Sebesta 5da38dfedf [Make] Capture git branch, commit, dirty state, and arm compiler
This code pushes those strings into #defines which are available inside the
firmware.
2022-03-06 19:07:15 -05:00
Kenn Sebesta b7f1d9db41 [Make][Qt] Add `qt_install` recipe 2022-03-02 16:56:18 -05:00
Kenn Sebesta 3fc1d61ed7 [Make][Linux] Add support for installing linuxdeployqt 2022-03-02 16:56:18 -05:00
Kenn Sebesta 9d08db49e5 [Make][Qt] Point toward full SDK directory 2022-03-02 16:56:18 -05:00
Kenn Sebesta 766048cea2 [Make][Qt Creator] Install local SDK into kit path
Note that `qt_creator_clean` will currently fail if `qt_creator_uninstall`
does not find the appropriately named Qt kit and SDK.
2022-03-02 16:56:18 -05:00
Kenn Sebesta 1cceb51aed [Make][Qt] Define the recipe for Qt SDK before the Qt Creator recipe
This lets certain SDK variables be accessible to the Qt Creator recipe.
2022-03-02 16:56:18 -05:00
Kenn Sebesta c350576372 [Make] Remove indentation, making comments be `make` comments
Otherwise, the comments are interpreted as shell comments, and the Windows
shell does not consider `#` a comment.

Dumb, but that's the way it is.
2022-03-02 16:56:18 -05:00
Kenn Sebesta 8d734d9f49 [Make][Qt SDK] Add recipe for installing Qt SDK 2022-03-02 16:56:18 -05:00
Kenn Sebesta 00203331fd [Make][Qt Creator] Add recipe for installation and auto-configuration 2022-03-02 16:56:18 -05:00
Kenn Sebesta b87e2c8d70 [Makefile][Tools] Refine support for Windows
This no longer needs MinGW32.
2022-03-02 16:56:18 -05:00
Kenn Sebesta 96fd43f8bf [Make] Add unit testing
This adds the Makefile scaffolding, as well as the tool installer.
2022-03-02 16:56:17 -05:00
Kenn Sebesta 49163775b3 [Make] Add makefile for installing build environment tools 2022-03-02 16:56:17 -05:00