[CMake] CMake not parsing quotes properly for VS compiler flags.

2012-05-03 Thread Luke Snape
Hello, I am adding some custom compiler options to a VS2008 project containing paths with spaces. As such, I require double quotes around the argument name to ensure the spaces in the path are not interpreted as individual compiler flags. e.g: set (CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_REL

[CMake] double quotes being removed Windows removing compiler flags

2012-04-30 Thread Luke Snape
Hello, I am adding some custom compiler options to a VS2008 project containing paths with spaces. As such, I require double quotes around the argument name to ensure the spaces in the path are not interpreted as individual compiler flags. e.g: set (CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_REL