Improve build instructions to deal with symlinks under Windows
This commit is contained in:
parent
aabd4215ad
commit
dfbf6e7ce9
12
README.md
12
README.md
|
@ -290,11 +290,15 @@ Building the testsuite requires CppUnit and Qt 5.8 or higher.
|
|||
1. Get the sources. For the latest version from Git clone the following repositories:
|
||||
```
|
||||
cd $SOURCES
|
||||
git clone https://github.com/Martchus/cpp-utilities.git c++utilities
|
||||
git clone https://github.com/Martchus/qtutilities.git
|
||||
git clone https://github.com/Martchus/syncthingtray.git
|
||||
git clone https://github.com/Martchus/subdirs.git
|
||||
git clone -c core.symlinks=true https://github.com/Martchus/cpp-utilities.git c++utilities
|
||||
git clone -c core.symlinks=true https://github.com/Martchus/qtutilities.git
|
||||
git clone -c core.symlinks=true https://github.com/Martchus/syncthingtray.git
|
||||
git clone -c core.symlinks=true https://github.com/Martchus/subdirs.git
|
||||
```
|
||||
Note that `-c core.symlinks=true` is only required under Windows to handle symlinks correctly.
|
||||
This requires a recent Git version and a filesystem which supports symlinks (NTFS works).
|
||||
If you run into "not found" errors on symlink creation use `git reset --hard` within the repository to
|
||||
fix this.
|
||||
2. Configure the build
|
||||
```
|
||||
cd $BUILD_DIR
|
||||
|
|
Loading…
Reference in New Issue