-
Notifications
You must be signed in to change notification settings - Fork 627
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a README.md file to show how non-bazel users how to build
- Loading branch information
1 parent
f89d95d
commit eb3d705
Showing
1 changed file
with
17 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT --> | ||
|
||
# Slint Bazel Build example | ||
|
||
This shows how to build a trivial slint application in the bazel build system. | ||
|
||
Requires you to have a bazel toolchain setup. | ||
|
||
This example currently does NOT use the copy of slint in this repo; it pulls it in from crates.io. | ||
|
||
It also pulls in a mostly hermetic rust toolchain, so expect the build to take considerably longer than the other examples the first time you build. | ||
|
||
To run the example, run the following command from any subdirectory of this directory (examples/bazel_build): | ||
|
||
```bash | ||
bazel run //src:slint_bazel_example | ||
``` |