mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-11-23 18:15:34 +00:00
Updated Notes About ccache (markdown)
parent
a9e7881cef
commit
7ebb351650
@ -13,57 +13,57 @@ If you are aware of these issue and you are sure you are able to realized them,
|
|||||||
## for make:
|
## for make:
|
||||||
### turn on
|
### turn on
|
||||||
```
|
```
|
||||||
(...other steps that in compile guide...)
|
#(...other steps that in compile guide...)
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -DUSE_CCACHE=ON ..
|
cmake -DUSE_CCACHE=ON ..
|
||||||
make -j
|
make -j
|
||||||
(...other steps that in compile guide...)
|
#(...other steps that in compile guide...)
|
||||||
```
|
```
|
||||||
### turn off
|
### turn off
|
||||||
```
|
```
|
||||||
(...other steps that in compile guide...)
|
#(...other steps that in compile guide...)
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -DUSE_CCACHE=OFF ..
|
cmake -DUSE_CCACHE=OFF ..
|
||||||
make -j
|
make -j
|
||||||
(...other steps that in compile guide...)
|
#(...other steps that in compile guide...)
|
||||||
```
|
```
|
||||||
### default behavior (off)
|
### default behavior (off)
|
||||||
```
|
```
|
||||||
(...other steps that in compile guide...)
|
#(...other steps that in compile guide...)
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
make -j
|
make -j
|
||||||
(...other steps that in compile guide...)
|
#(...other steps that in compile guide...)
|
||||||
```
|
```
|
||||||
|
|
||||||
## for ninja:
|
## for ninja:
|
||||||
### turn on
|
### turn on
|
||||||
```
|
```
|
||||||
(...other steps that in compile guide...)
|
#(...other steps that in compile guide...)
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -G Ninja -DUSE_CCACHE=ON ..
|
cmake -G Ninja -DUSE_CCACHE=ON ..
|
||||||
ninja
|
ninja
|
||||||
(...other steps that in compile guide...)
|
#(...other steps that in compile guide...)
|
||||||
```
|
```
|
||||||
### turn off
|
### turn off
|
||||||
```
|
```
|
||||||
(...other steps that in compile guide...)
|
#(...other steps that in compile guide...)
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -G Ninja -DUSE_CCACHE=OFF ..
|
cmake -G Ninja -DUSE_CCACHE=OFF ..
|
||||||
ninja
|
ninja
|
||||||
(...other steps that in compile guide...)
|
#(...other steps that in compile guide...)
|
||||||
```
|
```
|
||||||
### default behavior (off)
|
### default behavior (off)
|
||||||
```
|
```
|
||||||
(...other steps that in compile guide...)
|
#(...other steps that in compile guide...)
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -G Ninja ..
|
cmake -G Ninja ..
|
||||||
ninja
|
ninja
|
||||||
(...other steps that in compile guide...)
|
#(...other steps that in compile guide...)
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user