Skip to content

oToToT/CppBundler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CppBundler

A tool to bundle custom headers into one single .cpp file.

Dependencies

This tool is based on LLVM/Clang, so please install them first.

If you are using Ubuntu, you could install these 2 packages:

$ apt install llvm-dev libclang-dev

Build

$ mkdir build && cd build
$ cmake .. && cmake --build .
$ ./cpp-bundle FILE [OPTIONS]...

Options

Since this tool is based on LLVM/Clang preprocessor, you could use the same options to bundle your code.

Example Use Case

It is common to use a library in online competitive programming contests like Codeforces, AtCoder, etc. However, this kind of contest only allows you to submit a single C++ code. Therefore, if we modularize our library, we need to bundle them.

About

A LLVM/Clang based tool to bundle C++ codes into a single file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published