Skip to content

Commit 46c9a3d

Browse files
committed
[FIX] Fix Errors in README
1 parent 8836139 commit 46c9a3d

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.templates/gen_project.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
"CMakeLists.txt",
2828
".clangd",
2929
".clang-format",
30-
".github/workflows/ci-auto-format-and-commit.yml"
31-
".github/workflows/ci-build-and-test.yml",
3230
"vcpkg.json",
3331
]
3432

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export LLVM_VERSION=20
1212

1313
apt-get install -y \
1414
git apt-utils lsb-release software-properties-common gnupg \
15-
ninja-build pkg-config build-essential gdb
15+
ninja-build pkg-config build-essential gdb curl wget
1616

1717
cd /usr/local && git clone https://github.com/microsoft/vcpkg.git && \
1818
cd vcpkg && ./bootstrap-vcpkg.sh && \
@@ -23,6 +23,10 @@ cd /usr/local && git clone https://github.com/microsoft/vcpkg.git && \
2323
wget -O /tmp/llvm.sh https://apt.llvm.org/llvm.sh && \
2424
chmod +x /tmp/llvm.sh && /tmp/llvm.sh ${LLVM_VERSION} && \
2525
apt-get install -y libomp-${LLVM_VERSION}-dev
26+
27+
# Add VCPKG_ROOT to environment variables
28+
echo "export VCPKG_ROOT=/usr/local/vcpkg" >> ~/.bashrc
29+
source ~/.bashrc
2630
```
2731

2832
### 1.2. Windows with MSVC
@@ -34,8 +38,10 @@ After that, open Powershell, install [scoop](https://scoop.sh/) and the followin
3438
```pwsh
3539
# Allow script execution
3640
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
41+
3742
# Install scoop
3843
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
44+
3945
# Install softwares
4046
scoop install cmake ninja git vcpkg
4147
```
@@ -47,8 +53,10 @@ You can skip the Visual Studio installation but install MinGW with scoop directl
4753
```pwsh
4854
# Allow script execution
4955
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
56+
5057
# Install scoop
5158
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
59+
5260
# Install softwares
5361
scoop install cmake ninja git mingw vcpkg
5462
```
@@ -108,5 +116,5 @@ python ./.templates/gen_project.py -n <project-name> -t <project-type>
108116
After generating your project, you can remove the ".template" directory by deleting it directly, or use the following command:
109117

110118
```bash
111-
python ./.template/gen_project.py --remove-templates
119+
python ./.templates/gen_project.py --remove-templates
112120
```

0 commit comments

Comments
 (0)