@@ -35,55 +35,55 @@ The package can be used locally or from CI services like GitHub Actions. Stay tu
35
35
36
36
# From Terminal
37
37
38
- You should download the exe file or the js file (if have Nodejs installed), and run it with the available options.
38
+ You should download the executable file or the js file (if Nodejs installed), and run it with the available options.
39
39
40
- Tip: You can automate downloading using ` wget ` , ` curl ` or other similar tools.
40
+ Tip: You can automate downloading using ` wget ` , ` curl ` , or other similar tools.
41
41
42
42
### Executable
43
43
44
- Download the executable for your platform from [ here] ( https://github.com/aminya/setup-cpp/releases/tag/v0.2.2 ) , and run it with the available options.
44
+ Download the executable for your platform from [ here] ( https://github.com/aminya/setup-cpp/releases/tag/v0.3.0 ) , and run it with the available options.
45
45
46
46
An example that installs llvm, cmake, ninja, ccache, and vcpkg:
47
47
48
48
``` ps1
49
49
# windows example (open shell as admin)
50
- curl -O "https://github.com/aminya/setup-cpp/releases/download/v0.2.2 /setup_cpp_windows.exe"
50
+ curl -O "https://github.com/aminya/setup-cpp/releases/download/v0.3.0 /setup_cpp_windows.exe"
51
51
./setup_cpp_windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
52
52
```
53
53
54
54
``` ps1
55
55
# linux example
56
- wget "https://github.com/aminya/setup-cpp/releases/download/v0.2.2 /setup_cpp_linux"
56
+ wget "https://github.com/aminya/setup-cpp/releases/download/v0.3.0 /setup_cpp_linux"
57
57
chmod +x setup_cpp_linux
58
58
sudo ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
59
59
```
60
60
61
61
``` ps1
62
62
# mac example
63
- wget "https://github.com/aminya/setup-cpp/releases/download/v0.2.2 /setup_cpp_mac"
63
+ wget "https://github.com/aminya/setup-cpp/releases/download/v0.3.0 /setup_cpp_mac"
64
64
chmod +x setup_cpp_mac
65
65
sudo ./setup_cpp_mac --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
66
66
```
67
67
68
68
NOTE: In the ` compiler ` entry, you can specify the version after ` - ` like ` llvm-11 ` .
69
- For the tools, instead of ` true ` , which chooses the default version, you can pass a specific version.
69
+ For the tools, instead of ` true ` that chooses the default version, you can pass a specific version.
70
70
71
71
### With Nodejs
72
72
73
- Download the ` setup_cpp.js ` file form [ here] ( https://github.com/aminya/setup-cpp/releases/download/v0.2.2 /setup_cpp.js ) , and run it with the available options.
73
+ Download the ` setup_cpp.js ` file form [ here] ( https://github.com/aminya/setup-cpp/releases/download/v0.3.0 /setup_cpp.js ) , and run it with the available options.
74
74
75
75
On Windows
76
76
77
77
``` ps1
78
78
# open shell as admin
79
- curl "https://github.com/aminya/setup-cpp/releases/download/v0.2.2 /setup_cpp.js"
79
+ curl "https://github.com/aminya/setup-cpp/releases/download/v0.3.0 /setup_cpp.js"
80
80
node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
81
81
```
82
82
83
83
On Linux or Mac:
84
84
85
85
``` ps1
86
- wget "https://github.com/aminya/setup-cpp/releases/download/v0.2.2 /setup_cpp.js"
86
+ wget "https://github.com/aminya/setup-cpp/releases/download/v0.3.0 /setup_cpp.js"
87
87
sudo node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
88
88
```
89
89
@@ -131,7 +131,7 @@ jobs:
131
131
132
132
# Inside Docker
133
133
134
- Here is an example for using setup_cpp to make a builder image that has the cpp tools you need.
134
+ Here is an example for using setup_cpp to make a builder image that has the Cpp tools you need.
135
135
136
136
``` dockerfile
137
137
# debian
@@ -142,7 +142,7 @@ WORKDIR "/"
142
142
RUN apt-get update -qq
143
143
RUN apt-get install -y --no-install-recommends apt-utils
144
144
RUN apt-get install -y --no-install-recommends ca-certificates wget unzip
145
- RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.2.2 /setup_cpp_linux"
145
+ RUN wget --no-verbose "https://github.com/aminya/setup-cpp/releases/download/v0.3.0 /setup_cpp_linux"
146
146
RUN chmod +x ./setup_cpp_linux
147
147
148
148
# install llvm, cmake, ninja, ccache, and vcpkg
@@ -159,7 +159,7 @@ If you want to build the ones included, then run:
159
159
docker build -f ./building/docker/debian.dockerfile -t setup_cpp .
160
160
```
161
161
162
- Where you should use the path to the the docker after ` -f ` .
162
+ Where you should use the path to the docker after ` -f ` .
163
163
164
164
After build, run the following to start an interactive shell in your container
165
165
@@ -169,4 +169,4 @@ docker run -it setup_cpp
169
169
170
170
### Incomplete
171
171
172
- - msvc. It is implemented, but has bugs. See [ this issue] ( https://github.com/aminya/setup-cpp/issues/1 )
172
+ - ` msvc ` . It is implemented, but it has bugs. See [ this issue] ( https://github.com/aminya/setup-cpp/issues/1 )
0 commit comments