mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Added basic instructions for using guard2once and once2guard
This commit is contained in:
parent
43385fea63
commit
5fc7e33228
10
guard2once.txt
Normal file
10
guard2once.txt
Normal file
@ -0,0 +1,10 @@
|
||||
Install
|
||||
python -m pip install guardonce
|
||||
|
||||
Navigate to etl/include/etl
|
||||
|
||||
Change from #include guard to #pragma once
|
||||
guard2once -r "."
|
||||
|
||||
Change from #pragma once to #include guard
|
||||
once2guard -r -p "path | snake | prepend ETL | upper" .
|
||||
Loading…
x
Reference in New Issue
Block a user