Martchus
7482c64931
Support --binary-visibility in CMake function
2020-01-11 14:54:14 +01:00
Martchus
72a11c22b1
Apply cmake-format 0.6.5
2019-12-27 01:43:41 +01:00
Martchus
1192c2d74a
Apply cmake-format 0.6.2
2019-12-06 16:51:47 +01:00
Martchus
3374e4ea6c
Fix passing C++ version in CMake macro
2019-11-03 22:37:55 +01:00
Martchus
2194000938
Apply cmake-format 0.5.1
2019-06-01 12:16:27 +02:00
Martchus
1f6fade6c2
Apply cmake-format
2019-02-09 21:25:11 +01:00
Martchus
933d14ef1d
Check whether include dirs for generator exist at configure time
2018-08-04 15:22:32 +02:00
Martchus
29cd810507
Use C++ standard from target in CMake macro
2018-07-27 17:40:15 +02:00
Martchus
9e11d805c1
Prevent running Qt's generator on files from this generator
2018-02-05 21:21:56 +01:00
Martchus
54d4a15d4f
Set Clang's resource dir and platform triple correctly
...
* The option `-resource-dir` must be specified to
point to Clang's resource directory containing built-in
header files. Then the massive warnings are gone.
* Setting the platform triple seems to be the right way
for cross-compilation. Note that the stdlib.h still needs
to be worked around.
2018-02-03 15:44:10 +01:00
Martchus
cb1741de89
Add PATHS to find_program(REFLECTION_GENERATOR_EXECUTABLE
2018-01-20 21:15:14 +01:00
Martchus
c36279665d
Fix cross-compilation with mingw-w64
2018-01-20 18:10:58 +01:00
Martchus
227d3f3942
Allow passing target config to generator invocation
...
So the code generator 'sees' the source code in the same
way as the compiler does.
2017-11-17 21:42:49 +01:00
Martchus
ee0ca561c0
Allow exporting generated functions and don't inline by default
2017-11-11 22:53:40 +01:00
Martchus
eac2d20638
Allow specifying Clang options and JSON classes in CMake macro
2017-11-06 20:10:06 +01:00
Martchus
8b61fcc29a
Make location of code generator customizable
2017-11-03 22:41:51 +01:00
Martchus
b725f59e78
Rename moc -> generator
2017-10-25 17:41:19 +02:00
Martchus
3889031247
Handle multiple input files correctly
...
by invoking the generator multiple times
2017-10-25 17:32:03 +02:00
Martchus
8679263f09
Add CMake macro and actually test the generated code
2017-10-24 01:00:40 +02:00