I am using cmake 2.8 version.

My cmake contains following statements.

cmake_policy(SET CMP0005 NEW)
add_definitions(
  -DSTORE="\"XYZ\""
)

I am using VS 8 (2005). cmake writes the build file(vcproj) successfully
without any warning

When I see, vcproj. It contains

\"\&qout;XYZ\"\&qout;

So basically, my C file expects macro as "XYZ", but its receiving  ""XYZ""

I want cmake to write

"\&qout;XYZ\"&qout;

in my vcproj file.

I tried different combinations of "" but no luck.

any help?
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to