https://github.com/vittorioromeo/vrm_pp
Small C++ preprocessor library
https://github.com/vittorioromeo/vrm_pp
cpp cpp03 cpp98 library metaprogramming pp preprocessor romeo ssv vittorio vr vrm
Last synced: 23 days ago
JSON representation
Small C++ preprocessor library
- Host: GitHub
- URL: https://github.com/vittorioromeo/vrm_pp
- Owner: vittorioromeo
- License: other
- Created: 2015-09-26T19:26:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-06-16T08:48:44.000Z (almost 5 years ago)
- Last Synced: 2025-03-24T02:37:07.004Z (about 1 month ago)
- Topics: cpp, cpp03, cpp98, library, metaprogramming, pp, preprocessor, romeo, ssv, vittorio, vr, vrm
- Language: C++
- Homepage: http://vittorioromeo.info
- Size: 113 KB
- Stars: 13
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vrm_pp
> **Lightweight C++ preprocessor library.**
[![build][badge.build]][build]
[![stability][badge.stability]][stability]
[![license][badge.license]][license]
[![gratipay][badge.gratipay]][gratipay]

[![on-wandbox][badge.on-wandbox]][on-wandbox]
[![on-godbolt][badge.on-godbolt]][on-godbolt][badge.build]: https://img.shields.io/travis/SuperV1234/vrm_pp.svg?style=flat-square
[badge.stability]: https://img.shields.io/badge/stability-stable-green.svg?style=flat-square
[badge.license]: http://img.shields.io/badge/license-afl%203.0-blue.svg?style=flat-square
[badge.gratipay]: https://img.shields.io/gratipay/user/SuperV1234.svg?style=flat-square
[badge.on-wandbox]: https://img.shields.io/badge/on-wandbox-376666.svg?style=flat-square
[badge.on-godbolt]: https://img.shields.io/badge/on-godbolt-376666.svg?style=flat-square[build]: https://travis-ci.org/SuperV1234/vrm_pp
[stability]: http://github.com/badges/stability-badges
[license]: https://github.com/SuperV1234/vrm_pp/blob/master/LICENSE
[gratipay]: https://gratipay.com/~SuperV1234/
[on-wandbox]: https://wandbox.org/permlink/3oM6SqIb0WLGy0iY
[on-godbolt]: https://godbolt.org/g/tJi4Sk## Intended usage (quick start)
1. Add this repository and [SuperV1234/vrm_cmake](https://github.com/SuperV1234/vrm_cmake) as submodules of your project, as subfolders in `your_project/extlibs/`:
```bash
git submodule add https://github.com/SuperV1234/vrm_cmake.git your_project/extlibs/vrm_cmake
git submodule add https://github.com/SuperV1234/vrm_pp.git your_project/extlibs/vrm_pp
```2. Include `vrm_cmake` in your project's `CMakeLists.txt` and look for the `vrm_pp` extlib:
```cmake
# Include `vrm_cmake`:
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/extlibs/vrm_cmake/cmake/")
include(vrm_cmake)# Find `vrm_pp`:
vrm_cmake_find_extlib(vrm_pp)
```