Skip to content

mghro/astroid-preprocessor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

astroid-preprocessor

Astroid's C++ preprocessor

Installing OCaml

This is written in OCaml. If you don't already have it on your system, you should be able to get it with a package manager.

Ubuntu Linux

sudo apt-get install -y ocaml-nox

Windows (via Chocolatey)

choco install ocpwin

Building

At the moment, in order to avoid complicating the dependencies for the C++ projects that rely on it, this project uses CMake as its build system.

mkdir build
cd build
cmake ..
cmake --build .

Note that since it's not actually invoking any C++ tools, the generator that you use really doesn't matter.