Skip to content

Instantly share code, notes, and snippets.

@janseeger
Last active December 6, 2022 07:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janseeger/199bd796b7e3dff8155b5fa0006f85d2 to your computer and use it in GitHub Desktop.
Save janseeger/199bd796b7e3dff8155b5fa0006f85d2 to your computer and use it in GitHub Desktop.
cppfront
# put this file into the root of a checkout of https://github.com/hsutter/cppfront
# and build with `docker build . -t cppfront`
FROM gcc:latest
ADD . /source
RUN g++-10 -std=c++20 -o cppfront /source/source/cppfront.cpp
RUN mv cppfront /usr/bin/cppfront
RUN mv /source/include/* /usr/include/
RUN rm -rf /source
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment