Standalone C++ inliner (unofficial)
Pre-release
Pre-release
slycelote
released this
19 Feb 17:04
·
553 commits
to master
since this release
Unofficial version of standalone C++ code inliner.
- In Windows with Visual Studio installed:
cppcleaner.exe -target i386-pc-windows-msvc -- optimize main.cpp >output.cpp
- In 64bit Linux:
cppcleaner -target x86_64-linux -- optimize main.cpp >output.cpp
. - In 32bit Linux:
cppcleaner -target i686-linux -- optimize main.cpp >output.cpp
.
You may need to add paths to system include directories like this: -isystem /full/path
(before the --
separator).
On Linux you can see which directories are required with g++ -v -x c++ -E /dev/null