Skip to content

Commit

Permalink
Add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bernedom committed Aug 3, 2024
1 parent 09c6557 commit f9da6db
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
types: [published]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-coverage
cancel-in-progress: true


Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cross-compiling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
types: [published]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-cross-compilation
cancel-in-progress: true


Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
types: [published]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-sanitizers
cancel-in-progress: true


Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/superbuild.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Sanitizers
name: Superbuild example

on:
push:
Expand All @@ -7,7 +7,7 @@ on:
types: [published]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-superbuild
cancel-in-progress: true


Expand Down
16 changes: 16 additions & 0 deletions chapter10/ex03_simple_qt_app/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Superbuild example with Qt6

This example demonstrates how to use CMake to build a superbuild project that includes a Qt6 application. Since Qt6 is not trivial to build, this example works best on linux or by using the supplied docker container.

## Building for Windows

As Qt6 only supports Ninja for building on Windows, you will need to install Ninja and use it as the generator for CMake.
In order to build the project with Ninja and the MSVC compiler, you will need to run the `vcvarsall.bat` script to set up the environment for the MSVC compiler.:

```bash
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat x64
cmake -S . -B build -G Ninja -DCH10_EX03_SUPERBUILD=ON
cmake --build ./build
```


0 comments on commit f9da6db

Please sign in to comment.