8000 GitHub - wimgoeman/codingame-cpp-merge: Automatic merger for C/C++ in the CodinGame IDE
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

wimgoeman/codingame-cpp-merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatic merger for C/C++ in the CodinGame IDE

Install

Prerequisites

  • Node.js
  • npm (part of node)

Installation from npm

npm i -g codingame-cpp-merge

Installation from source

  • Clone this repo
  • issue npm link
git clone https://github.com/wimgoeman/codingame-cpp-merge.git
cd codingame-cpp-merge
npm link

Usage

This tool will scan the working dir for cpp files recursively and append them all to a single file. While doing this, includes are processed similar to what the preprocessor would do.

See built-in help for possible options:

codingame-merge -h
  • Create a directory tree with cpp and hpp files
  • Do not use other extensions than hpp and cpp (more extension support may be added later)
  • Use #include <> for libraries
  • Use #include "" for local files
  • Set up include guards in your hpp files, or use '#pragma once'
  • Prefer pragma once over include guards to limit output size

About

Automatic merger for C/C++ in the CodinGame IDE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0