[CMake] ADD_DEFINITIONS and VC Generator question
Teodor Calin Hanchevici
calin.hanchevici at gmail.com
Thu Apr 12 09:47:18 EDT 2007
Hi all,
I am trying to add some defines which have string values
ADD_DEFINITIONS(-DPCIVERSIONNAME="\"V10.1.0\"")
This works fine when using nmake generator but it fails when using visual
studio generators, in the Preporcessor tab i get the value
"PCIVERSIONNAME=""V10.1.0"""
Is there a way to escape the quotes for VC generator?
Thank you,
calin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070412/0e3fde88/attachment.html
More information about the CMake
mailing list