Status Desktop client made in Nim & QML https://status.app
Go to file
Michael Bradley, Jr 6150928062 build: enhance build system so that it can run directly on Windows
Replaces #82, which in any case is out-of-date re: the current state of this
repo's Makefile.

Introduces the ability to build `nim_status_client.exe` directly on Windows,
i.e. without needing to use Windows Subsystem for Linux or otherwise
cross-compile on Linux.

Note: this commit does not introduce packaging or code signing for the Windows
build as those pieces are still a work in progress.

The `make` targets should be run in a Bash shell, e.g. in *Git Bash* as
included in the installation of [Git for Windows][git-win].

[Microsoft Visual C++ Build Tools][ms-build] must be installed.

Qt's `MSVC 2017 64-bit` and `MinGW 7.3.0 64-bit` toolchains must both be
installed, e.g. with the Qt Online Installer tool.

CMake needs to be installed; it is available via the Qt Online Installer tool
under *Developer and Designer Tools* (`CMake 3.17.1 64-bit`).

A couple of additional tools need to be installed (e.g. with [scoop][scoop])
and availble in `PATH`:
* findutils
* go

For `.dll` resolution to function as needed, in a Bash shell `PATH` should be
modified like this (might be different depending on how/where things were
installed):

```bash
export QTBASE="/c/Qt"
export QTDIR="${QTBASE}/5.14.2/msvc2017_64"

export PATH="${HOME}/scoop/shims:${PATH}"
export PATH="${QTDIR}/bin:${PATH}"
export PATH="${QTBASE}/Tools/mingw730_64/bin:${PATH}"
export PATH="${QTBASE}/Tools/CMake_64/bin:${PATH}"
```

With those modifications in place, to build `nim_status_client.exe` do:
```
mingw32-make.exe V=1
```

To run the executable do:
```
mingw32-make.exe run
```

[git-win]: https://gitforwindows.org/
[ms-build]: https://visualstudio.microsoft.com/visual-cpp-build-tools/
[scoop]: https://scoop.sh/
2020-07-08 12:25:30 -05:00
ci ci: bump timeouts from 10 to 15 minutes 2020-07-02 18:35:24 +02:00
docs feat: add readme on how to use the translation script 2020-07-08 12:37:41 -04:00
scripts feat: show literal text instead of ids + script fixes 2020-07-08 12:37:41 -04:00
src feat(chat): open user profile from mentions 2020-07-08 13:12:31 -04:00
ui feat(chat): open user profile from mentions 2020-07-08 13:12:31 -04:00
vendor build: bump vendor/QR-Code-generator to d2283a6 2020-07-08 11:36:30 -05:00
.gitignore feat: add translation script that transforms qstr to qstrid 2020-07-08 12:37:41 -04:00
.gitmodules feat: show qr codes 2020-06-23 18:52:54 -04:00
.npmrc chore: refactor Linux and macOS build/packaging steps 2020-06-22 10:53:57 -05:00
.yarnrc chore: refactor Linux and macOS build/packaging steps 2020-06-22 10:53:57 -05:00
AppRun chore: refactor Linux and macOS build/packaging steps 2020-06-22 10:53:57 -05:00
Info.plist fix other blurry images on hdpi screens 2020-06-25 16:13:17 -04:00
Info.runner.plist fix other blurry images on hdpi screens 2020-06-25 16:13:17 -04:00
Makefile build: enhance build system so that it can run directly on Windows 2020-07-08 12:25:30 -05:00
QtWebEngineProcess.plist chore: refactor Linux and macOS build/packaging steps 2020-06-22 10:53:57 -05:00
README.md move building section to docs section; use readme from docs/readme 2020-06-22 10:34:07 -04:00
build-linux.sh chore: refactor Linux and macOS build/packaging steps 2020-06-22 10:53:57 -05:00
config.nims build: enhance build system so that it can run directly on Windows 2020-07-08 12:25:30 -05:00
docker-linux-app-image.sh refactor: $QTDIR should include the compiler-arch path segment 2020-06-25 17:29:41 -04:00
env.sh feat: get collectibles from the contracts and their respective apis 2020-06-18 10:55:48 -04:00
nim-status.desktop AppImg packaging 2020-05-15 17:18:20 -04:00
nim.cfg build system refactoring 2020-06-08 13:07:25 -04:00
nim_status_client.nimble feat: onboarding generate new account 2020-05-21 19:33:14 -04:00
nim_status_client.sh chore: refactor Linux and macOS build/packaging steps 2020-06-22 10:53:57 -05:00
package-lock.json chore: refactor Linux and macOS build/packaging steps 2020-06-22 10:53:57 -05:00
package.json chore: refactor Linux and macOS build/packaging steps 2020-06-22 10:53:57 -05:00
screenRec.gif Initial commit 2020-05-06 13:40:00 -04:00
status-icon.icns chore: refactor Linux and macOS build/packaging steps 2020-06-22 10:53:57 -05:00
status.ico add status icon 2020-05-11 16:41:45 -04:00
status.svg Adding nimbus-build-system 2020-05-15 17:18:20 -04:00