summaryrefslogtreecommitdiff
path: root/examples/usercmodule/cppexample/examplemodule.h
diff options
context:
space:
mode:
authorstijn <stijn@ignitron.net>2020-10-08 16:40:17 +0200
committerDamien George <damien@micropython.org>2020-10-29 15:27:30 +1100
commit8e94fa0d2eb94483f387b1ae2e081d1998575a7f (patch)
tree7ea3a13ffdd65378868396ffc6307d94cc9cc0e9 /examples/usercmodule/cppexample/examplemodule.h
parentf1666419a8aaee846f7175ccdb8799ab9deea376 (diff)
py/makeqstrdefs.py: Support preprocessing C++ files for QSTR generation.
When SCR_QSTR contains C++ files they should be preprocessed with the same compiler flags (CXXFLAGS) as they will be compiled with, to make sure code scanned for QSTR occurrences is effectively the code used in the rest of the build. The 'split SCR_QSTR in .c and .cpp files and process each with different flags' logic isn't trivial to express in a Makefile and the existing principle for deciding which files to preprocess was already rather complicated, so the actual preprocessing is moved into makeqstrdefs.py completely.
Diffstat (limited to 'examples/usercmodule/cppexample/examplemodule.h')
0 files changed, 0 insertions, 0 deletions