Commit Graph

30 Commits

Author SHA1 Message Date
Martin Hořeňovský 898d111f72 Fix generateSingleHeader.py to properly copy utf-8 2018-08-29 12:52:29 +02:00
Martin Hořeňovský 44722f9ed3 Integrate CMake with `<catch2/catch.hpp>` include paths
This also goes for pkg-config installed by our CMake installation.

This includes

* Updating CMake version on Travis
* Adding a `Catch2` subfolder to the `single_include/` folder to
provide this include path both _inside_ the repository, and _outside_.
* Updated examples to build with the new paths
* Other general CMake cleanup
2018-06-24 12:32:22 +02:00
Marcus Näslund 9e7c281e6e Minor fixes to python scripts by pycodestyle 2018-04-27 18:57:18 +02:00
Martin Hořeňovský aa7b0c9104 Fix generating single header using Python3 2018-04-19 22:03:25 +02:00
Martin Hořeňovský 15ad95c8db Make generateSingleHeader compatible with Python 2.7 2018-01-18 16:28:19 +01:00
Martin Hořeňovský f0f40a0dbf Ensure that the single header is kept with LFs 2018-01-18 12:44:59 +01:00
Martin Hořeňovský 46e28791ff Stitch .cpp files into single header in deterministic order 2017-08-30 15:43:44 +02:00
Martin Hořeňovský dee61df274 Refactor release scripts, automatically update Wandbox on release 2017-08-24 22:50:25 +02:00
Martin Hořeňovský 185573e701 Do not include c++ stitch marking in final single header 2017-08-17 20:03:15 +02:00
Martin Hořeňovský cde987a92e Note start of .cpp files in single header 2017-08-01 22:20:14 +02:00
Martin Hořeňovský 918eca5ee9 Improve single header generator 2017-07-27 11:32:05 +02:00
Martin Hořeňovský 93f84b5b0d Modified generateSingleHeader script to work with .cpp files better
Also fixed the scripts to take into account renamed version file
2017-07-09 21:02:36 +02:00
Martin Hořeňovský b6d9976fbb Make generateSingleHeader.py Python 2.7 compatible 2017-06-06 16:32:45 +02:00
Martin Hořeňovský 0020747420 Generate single header even if output dir does not exist 2017-06-04 21:28:08 +02:00
Phil Nash 2e08bfe9cc Single include generator now handles spaces between # and include 2017-02-22 08:05:31 +00:00
Phil Nash 1f71d1f760 Some minor clean-up to Python script 2017-02-15 11:54:47 +00:00
Martin Hořeňovský 090fc74cca Scripts intended to be run should now have x bit set. 2017-02-01 21:34:45 +01:00
Martin Hořeňovský 81159838a5 Python scripts can now be run directly from bash 2017-01-20 12:28:40 +01:00
Phil Nash 21f7ef6fdc Committed to semantic versioning
as prompted by #365, #430, #447 and a thread on the google group.
- split version bumping out of generateSingleHeader script
- separate scripts for bumping each version component
- "build" number only incremented for "develop" builds
2015-06-29 18:06:15 +01:00
Phil Nash 785db43bb2 Fixed issue with single include generator
- well, partially. The problem is it is matching /* … */ comments by assuming the intervening lines begin with whitespace followed by a *. This avoids it having to maintain extra state, but makes it brittle.
It was matching *it = " " + *it; as a comment!
It now matches on a single space followed by a  * and this seems to work for now - but it probably needs to move to proper stateful comment handling.
2014-07-11 07:45:41 +01:00
Phil Nash b198856f79 Fixed single header generator for generating no-impl header 2014-06-02 07:47:24 +01:00
Martin Moene 77c9edfcdb Fix python scripts for python 3 (print now a function rather than a keyword) 2014-03-08 11:31:38 +01:00
Phil Nash 1f1ee3c63d New version of Clara
- Clara now built with new stitch script (based on generateSingleInclude)
- also fixed python scripts for python 3 (print now a function rather than a keyword)
2014-03-01 10:38:14 +00:00
Phil Nash d29cbecfa5 Updated single include generator to allow for embedded micro-libraries 2014-02-11 18:11:37 +00:00
Phil Nash de49ec4d7c Fixed broken single header following script change
- fixed the script (was missing #ifdefs)
- also fixed single include (Xcode) test project
- build 16
2013-12-04 20:25:14 +00:00
Phil Nash c4a089c12b Refactored a lot of code from headers into impl headers only compiled into one TU
- also added noimpl option to single header script - which only generates the non impl code
2013-12-03 18:52:41 +00:00
Phil Nash 7d5f2715ce Fixed script for new readme
- updated README with new version
- fixed casing error for -e opt description
2013-06-07 21:15:25 +01:00
Phil Nash 7293c9785a header builder script writes to file rather than stdout 2013-04-24 20:19:05 +01:00
Phil Nash 2278451cd2 Refactored scripts to start using a common file 2013-04-24 18:58:57 +01:00
Phil Nash f4254b8622 Moved scripts into their own folder 2013-03-21 20:54:47 +00:00