Commit Graph

5 Commits

Author SHA1 Message Date
Duncan Bellamy
bc9bc87c85
[Minor] FindRagel.cmake - remove cmake min version
As now causes warning and main CMakeLists.txt min version is greater
2021-05-31 17:30:28 +01:00
Vsevolod Stakhov
7fb1198d95 [Minor] Another ragel fix 2021-01-22 15:58:05 +00:00
Vsevolod Stakhov
19ec44180c [Minor] Improve ragel support in cmake 2021-01-22 15:58:05 +00:00
Peter Wu
3af38b8006 [Minor] Make ragel-generated files independent of the parent directory
* Use relative paths for `#line` directives to allow reproducible builds
  independent of the absolute build directory. For /b/rspamd/src/x.rl
  and build dir /b/build, it could result in `../../build/src/x.rl`.
* The `-L` option for `Inhibit writing #line directives` is useless, it
  just comments out the line with `/* ... */`, but that means that the
  source file is still different.
* Note that ragel only accepts one input file, despite plural `INPUTS`.
2020-01-21 03:16:57 +00:00
Vsevolod Stakhov
c15ca59b25 [Rework] Move cmake modules to a dedicated path 2019-11-15 11:58:43 +00:00