AdaptiveBrightness/README.md

40 lines
721 B
Markdown
Raw Permalink Normal View History

2020-06-21 17:49:48 +02:00
# AdaptiveBrightness
2020-06-21 20:03:08 +02:00
## Build and deployment instructions
2020-06-21 18:00:40 +02:00
2020-06-21 20:03:08 +02:00
### Windows
2020-06-21 18:00:40 +02:00
#### Prerequisites
- Visual Studio 2019
- cmake
2020-06-21 18:00:40 +02:00
- Qt Library
#### Build steps
2020-06-21 20:03:08 +02:00
```console
> cmake -G "Visual Studio 16 2019" -A x64 -B build -DCMAKE_PREFIX_PATH="%QTDIR%\msvc2019_64\lib\cmake"
2020-06-21 20:03:08 +02:00
```
Use the generated `*.sln` to build.
There is an additional build step that automatically copies all required DLLs into the output directory for easy deployment.
2020-06-21 20:03:08 +02:00
### Linux
2020-06-21 18:00:40 +02:00
#### Prerequisites
Assumes Debian Buster: `sudo apt install qt5-default libqt5serialport5-dev`
#### Build steps
```console
$ cmake -B build
$ cd build
2020-06-21 18:00:40 +02:00
$ make
```
2020-06-21 20:03:08 +02:00
#### Deployment
Executable will run on any environment with the same architecture and installed libraries.