Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 730 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 730 Bytes

Experiments with reflection

reflexpr

To compile the example, compile the "reflexpr" fork of Clang by following the instructions on Matúš's website. Then pass REFLEXPR_PATH to CMake for this project.

mkdir build
cd build
cmake .. -DREFLEXPR_PATH=<path to the reflexpr fork>/reflection -DCMAKE_CXX_COMPILER=<reflexpr clang executable>
make

cpp3k

Compile Andrew Sutton's clang-reflect fork and pass CPP3K_PATH to CMake for this project.

mkdir build
cd build
cmake .. -DCPP3K_PATH=<path to the cpp3k fork>/tools/libcpp3k/include -DCMAKE_CXX_COMPILER=<clang-reflect executable>
make