mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-11-27 12:05: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:
|
||||
### turn on
|
||||
```
|
||||
(...other steps that in compile guide...)
|
||||
#(...other steps that in compile guide...)
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DUSE_CCACHE=ON ..
|
||||
make -j
|
||||
(...other steps that in compile guide...)
|
||||
#(...other steps that in compile guide...)
|
||||
```
|
||||
### turn off
|
||||
```
|
||||
(...other steps that in compile guide...)
|
||||
#(...other steps that in compile guide...)
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DUSE_CCACHE=OFF ..
|
||||
make -j
|
||||
(...other steps that in compile guide...)
|
||||
#(...other steps that in compile guide...)
|
||||
```
|
||||
### default behavior (off)
|
||||
```
|
||||
(...other steps that in compile guide...)
|
||||
#(...other steps that in compile guide...)
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make -j
|
||||
(...other steps that in compile guide...)
|
||||
#(...other steps that in compile guide...)
|
||||
```
|
||||
|
||||
## for ninja:
|
||||
### turn on
|
||||
```
|
||||
(...other steps that in compile guide...)
|
||||
#(...other steps that in compile guide...)
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -G Ninja -DUSE_CCACHE=ON ..
|
||||
ninja
|
||||
(...other steps that in compile guide...)
|
||||
#(...other steps that in compile guide...)
|
||||
```
|
||||
### turn off
|
||||
```
|
||||
(...other steps that in compile guide...)
|
||||
#(...other steps that in compile guide...)
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -G Ninja -DUSE_CCACHE=OFF ..
|
||||
ninja
|
||||
(...other steps that in compile guide...)
|
||||
#(...other steps that in compile guide...)
|
||||
```
|
||||
### default behavior (off)
|
||||
```
|
||||
(...other steps that in compile guide...)
|
||||
#(...other steps that in compile guide...)
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -G Ninja ..
|
||||
ninja
|
||||
(...other steps that in compile guide...)
|
||||
#(...other steps that in compile guide...)
|
||||
```
|
Loading…
Reference in New Issue
Block a user