Skip to content

Commit

Permalink
building.md: mention the use of symlinks for Windows user
Browse files Browse the repository at this point in the history
And how to get them working.
  • Loading branch information
ogoffart authored Nov 10, 2022
1 parent aec8af5 commit 99b17b2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,18 @@ To use Slint from Node.js, the following extra dependencies are needed.
- **[Node.js](https://nodejs.org/en/)** (including npm) At this time you will need to use the LTS version.
- **[Python](https://www.python.org)**

### Symlinks in the repository (Windows)

The Slint repository makes use of symbolic links to avoid duplication.
On Windows, this require to set a git config before cloning, and have Windows
switched in developer mode or do the git clone as Administrator

```sh
git clone -c core.symlinks=true https://github.com/slint-ui/slint
```

More info: <https://github.com/git-for-windows/git/wiki/Symbolic-Links>

## Building and Testing

Most of the project is written in Rust, and compiling and running the test can
Expand Down

0 comments on commit 99b17b2

Please sign in to comment.