-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bzlmod works with Qt 6.4.0 on Linux and Windows, but not macOS
- Loading branch information
1 parent
6479e64
commit eed03bd
Showing
13 changed files
with
90 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,38 @@ | ||
# GCC | ||
build:gccd --cxxopt=-std=c++20 | ||
build:gccd --cxxopt=-Wall | ||
build:gccd --cxxopt=-Werror | ||
build:gccd --compilation_mode=dbg | ||
build --incompatible_disallow_empty_glob=false | ||
|
||
# GCC | ||
build:gcc --cxxopt=-std=c++20 | ||
build:gcc --cxxopt=-Wall | ||
build:gcc --cxxopt=-Werror | ||
build:gcc --compilation_mode=opt | ||
# Setup compiler flags - required for Qt6 is at least C++17 | ||
build:gcc9 --cxxopt=-std=c++2a | ||
build:gcc9 --cxxopt=-Wall | ||
build:gcc9 --cxxopt=-Werror | ||
|
||
# GCC 11.2 | ||
#build:gcc11 --cxxopt=-std=c++23 # blocked by emsdk | ||
build:gcc11 --cxxopt=-std=c++20 | ||
build:gcc11 --cxxopt=-Wall | ||
#build:gcc11 --cxxopt=-Werror | ||
#build:gcc11 --cxxopt=-Wno-error=volatile # blocked by emsdk | ||
##build:gcc11 --cxxopt=-Wextra | ||
|
||
# Visual Studio 2019 | ||
build:vs2019 --cxxopt=/std:c++20 | ||
build:vs2019 --cxxopt=/Zc:__cplusplus # Untested | ||
build:vs2019 --enable_runfiles # https://github.com/bazelbuild/bazel/issues/8843 | ||
build:vs2019 --define compiler=vs2019 | ||
build:vs2019 --copt=-DWIN32_LEAN_AND_MEAN | ||
build:vs2019 --copt=-DNOGDI | ||
build:vs2019 --host_copt=-DWIN32_LEAN_AND_MEAN | ||
build:vs2019 --host_copt=-DNOGDI | ||
|
||
# Visual Studio 2022 | ||
build:vs --cxxopt=/std:c++20 | ||
build:vs --cxxopt=/Zc:__cplusplus | ||
build:vs --enable_runfiles # https://github.com/bazelbuild/bazel/issues/8843 | ||
build:vs --define compiler=vs2022 | ||
build:vs --copt=-DWIN32_LEAN_AND_MEAN | ||
build:vs --copt=-DNOGDI | ||
build:vs --host_copt=-DWIN32_LEAN_AND_MEAN | ||
build:vs --host_copt=-DNOGDI | ||
build:vs2022 --cxxopt=/std:c++20 | ||
build:vs2022 --cxxopt=/Zc:__cplusplus | ||
build:vs2022 --enable_runfiles # https://github.com/bazelbuild/bazel/issues/8843 | ||
build:vs2022 --define compiler=vs2022 | ||
build:vs2022 --copt=-DWIN32_LEAN_AND_MEAN | ||
build:vs2022 --copt=-DNOGDI | ||
build:vs2022 --host_copt=-DWIN32_LEAN_AND_MEAN | ||
build:vs2022 --host_copt=-DNOGDI | ||
|
||
# macOS (e.g. Clang 12.0.0) | ||
build:macos --cxxopt=-std=c++20 | ||
build:macos --cxxopt=-std=c++2a | ||
build:macos --cxxopt=-Wall | ||
build:macos --repo_env=CC=clang |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
8.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# How to run? | ||
|
||
## Visual Studio 2022 | ||
|
||
```shell | ||
bazel run --config=vs2022 //hello_world:hello_world | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# How to run? | ||
|
||
## Visual Studio 2022 | ||
|
||
```shell | ||
bazel run --config=vs2022 //horch:main | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# How to run? | ||
|
||
## Visual Studio 2022 | ||
|
||
```shell | ||
bazel run --config=vs2022 //qml_demo:qt_demo | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# How to run? | ||
|
||
## Visual Studio 2022 | ||
|
||
```shell | ||
bazel run --config=vs2022 //uic_demo:main | ||
``` |