Notes |
|
(0039565)
|
Jeeves
|
2015-10-11 16:22
(edited on: 2015-10-11 16:23) |
|
Added a diff for this feature. Also, fix a couple of minor spelling errors.
|
|
|
(0039566)
|
Jeeves
|
2015-10-11 16:43
|
|
Added a second version of the diff, since I noticed I forgot to update the runtime macro usage. Sigh. |
|
|
(0039574)
|
Brad King
|
2015-10-12 10:53
|
|
|
|
(0039623)
|
Jeeves
|
2015-10-17 12:38
|
|
Uploaded a new version of the diff with commits separated in to adding CMAKE_PARSE_ARGUMENTS and the functional change. Sorry it took so long, I was rather busy this week. |
|
|
(0039624)
|
Jeeves
|
2015-10-17 12:56
|
|
... and as soon as I upload it, I spot a problem with it. Uploaded a new version that's actually correct. |
|
|
(0039629)
|
Brad King
|
2015-10-19 09:58
|
|
Thanks. I just noticed that the change does not actually modify the flex command invoked. Is this just about getting the already-generated file to be listed as an output of the custom command? |
|
|
(0039634)
|
Jeeves
|
2015-10-19 11:27
(edited on: 2015-10-19 11:33) |
|
Yes. It assumes that either you've specified the header output file name in the flex source file with %option header-file or you're passing the --header-file command line option with COMPILE_FLAGS. I could modify it to add the --header-file option to the command line if you think that's best, which I guess would decrease redundancy at the cost of also reducing flexibility.
|
|
|
(0039636)
|
Brad King
|
2015-10-19 11:44
|
|
Re 0015781:0039634: The bison version passes an explicit --defines=... option using the DEFINES_FILE argument value. I see no equivalent to this change here. Shouldn't we add --header-file= ? |
|
|
(0039637)
|
Jeeves
|
2015-10-19 11:52
|
|
I guess thinking about it, probably. I'm mostly going by my own usage since I specify all the command line options in the source file, given that there are quite a few of them. The only thing is that options specified in the source actually override options specified on the command line, which is a little counter-intuitive. I'll fix it. |
|
|
(0039638)
|
Jeeves
|
2015-10-19 13:00
|
|
|
|
(0039639)
|
Brad King
|
2015-10-19 13:20
|
|
|
|
(0040624)
|
Robert Maynard
|
2016-03-07 09:12
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|