I’m using the externalproject_add command to build a non-cmake project.  To the 
build I am passing CXXFLAGS=value, but I cannot manage to get any spaces into 
the value no matter how I quote, use variables, use escapes, etc.  Searching 
turns up other people with the same problem and no particularly good solutions. 
 One example was to use cmake_command -E echo to create a wrapper script that 
contains the desired string, however this isn’t working for me either (its 
seems to behave as if the cmake_command variable is empty or undefined).  This 
seems WAY harder than it should be...

-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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

Reply via email to