add_definitions( -DSTORE="XYZ" )
should do what you want.
If you have a cmake_minimum_required of at least version 2.6, then the
cmake_policy call is unnecessary -- it is simply implied by the minimum
required version of CMake for 2.6 and later.
What version of CMake are you using?
What OS and c
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 basi