WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
83574
[CMake] Add WEBKIT_CREATE_FORWARDING_HEADERS macro
https://bugs.webkit.org/show_bug.cgi?id=83574
Summary
[CMake] Add WEBKIT_CREATE_FORWARDING_HEADERS macro
Patrick R. Gansterer
Reported
2012-04-10 06:35:55 PDT
[CMake] Add WEBKIT_CREATE_FORWARDING_HEADERS macro
Attachments
Patch
(2.79 KB, patch)
2012-04-10 06:40 PDT
,
Patrick R. Gansterer
dbates
: review+
dbates
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Patrick R. Gansterer
Comment 1
2012-04-10 06:40:42 PDT
Created
attachment 136445
[details]
Patch
Patrick R. Gansterer
Comment 2
2012-04-10 07:33:45 PDT
Comment on
attachment 136445
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=136445&action=review
> ChangeLog:9 > + It accepts a list of files and/or a list of directories as input.
See CMake based build system for WinApple at
https://bugs.webkit.org/show_bug.cgi?id=72816
for usage.
Daniel Bates
Comment 3
2012-04-10 10:48:57 PDT
Comment on
attachment 136445
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=136445&action=review
> Source/cmake/WebKitMacros.cmake:192 > + SET(_doing_directories 0) > + SET(_doing_files 0)
These names are OK as-as. Maybe the prefix "_processing_" would be somewhat more descriptive than the prefix "_doing_". That being said, both "processing" and "doing" are somewhat vague terms.
> Source/cmake/WebKitMacros.cmake:198 > + STRING(REGEX MATCH "^#include \"(.*)\"" _matched ${_content})
Can we make this regular expression stronger? In particular, would substituting [^"] instead of (.*) help strengthen this? Can we also match the newline/end-of-line character '$'?
Daniel Bates
Comment 4
2012-04-10 10:51:58 PDT
(In reply to
comment #3
)
> > Source/cmake/WebKitMacros.cmake:198 > > + STRING(REGEX MATCH "^#include \"(.*)\"" _matched ${_content}) > > Can we make this regular expression stronger? In particular, would substituting [^"] instead of (.*) help strengthen this? Can we also match the newline/end-of-line character '$'?
I meant ([^"]) instead of (.*).
Patrick R. Gansterer
Comment 5
2012-04-11 02:40:18 PDT
Comment on
attachment 136445
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=136445&action=review
>> Source/cmake/WebKitMacros.cmake:198 >> + STRING(REGEX MATCH "^#include \"(.*)\"" _matched ${_content}) > > Can we make this regular expression stronger? In particular, would substituting [^"] instead of (.*) help strengthen this? Can we also match the newline/end-of-line character '$'?
i added the [^"], but newline matching isn't possible (at least on windows)
Patrick R. Gansterer
Comment 6
2012-04-11 02:46:22 PDT
Committed
r113844
: <
http://trac.webkit.org/changeset/113844
>
Thiago Marcos P. Santos
Comment 7
2012-07-30 06:06:11 PDT
I'm trying to understand: why using a CMake macro is better than using the existing script used by all platforms?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug