kou commented on PR #40763:
URL: https://github.com/apache/arrow/pull/40763#issuecomment-2024553364

   Your use case is `cmake -DCMAKE_CXX_FLAGS='-D__DATE__=\\"redacted\\"' ...`, 
right?
   
   I think that you don't need to specify `\`: `cmake 
-DCMAKE_CXX_FLAGS='-D__DATE__="redacted"' ...`
   Why do you need to escape `"`?
   
   We're using `ESCAPE_QUOTE` to generate `config.h` from `config.h.cmake`. It 
escapes quotes for string literal: 
https://cmake.org/cmake/help/latest/command/configure_file.html
   I'm worried that using both `ESCAPE_QUOTE` and `R"(...)"` escape too much.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to