FindFLEX: Add new keyword OPTIONS

This adds a new keyword OPTIONS which is a semicolon-separated list of
command-line options added to flex command line. This enables adding
options more intuitively. It mainly adds options as quoted arguments
which among other things enables adding paths containing spaces and
similar.

Fixes:
- https://gitlab.kitware.com/cmake/cmake/-/issues/23301
This commit is contained in:
Peter Kokot
2025-01-02 01:43:42 +01:00
parent 90971c9188
commit d63ffb4116
2 changed files with 68 additions and 4 deletions
+6
View File
@@ -0,0 +1,6 @@
FindFLEX
--------
* The :module:`FindFLEX` module :command:`flex_target` command has a new
``OPTIONS`` option to add Flex command-line options as a
:ref:`semicolon-separated list <CMake Language Lists>`.