Hi Calin, We you this for both VC60 and solaris ADD_DEFINITIONS( -DTRACE_COMPONENT=\\"BWComm\\" ) Hope this helps, Iain.
_____ From: Teodor Calin Hanchevici [mailto:[EMAIL PROTECTED] Sent: 12 April 2007 14:47 To: [EMAIL PROTECTED] Subject: [CMake] ADD_DEFINITIONS and VC Generator question 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 CR2
_______________________________________________ CMake mailing list [EMAIL PROTECTED] http://www.cmake.org/mailman/listinfo/cmake