I think this has something to do parsing path names correctly where there are spaces in path names. Some of the really early bugs in CMake may document this, it became apparent around the time VC7/7.1 was introduced. I am sure that the extra quotes were needed for some reason. On the other hand, maybe ConvertToWindowsPath() does it better now.
Andrew
--
---------- Forwarded message ----------
From: Brad King <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Fri, 25 Aug 2006 21:25:10 -0400
Subject: Re: [CMake] getting rid of additional quotes in generated vcproj PreprocessorDefines
[EMAIL PROTECTED] wrote:
> Is there a way to get rid of the additional "
> Given
> ADD_DEFINITIONS(-DSN_TARGET_PS3)
> Then cmake autogenerates:
> PreprocessorDefinitions=","SN_TARGET_PS3","
> I just want:
> PreprocessorDefinitions="SN_TARGET_PS3"
>
> Is there a template that I can edit to solve this, or does it require
> C/C++ modifications?
> It requires modification of C++ code in
> CMake/Source/cmLocalVisualStudio7Generator.cxx or a nearby file.
> However the quotes were probably added for a reason. Please submit a
> bug report here:
> http://www.cmake.org/Bug
> Also please include a use case where the quotes actually break something.
> Thanks,
> -Brad
___________________________________________
Andrew J. P. Maclean
Centre for Autonomous Systems
The Rose Street Building J04
The University of Sydney 2006 NSW
AUSTRALIA
Ph: +61 2 9351 3283
Fax: +61 2 9351 7474
URL: http://www.cas.edu.au/
___________________________________________
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
