Hi,
I'm working on a SLES10. I have an "add_custom_command" with in it's command: LDFLAGS="-L${PROJECT_SOURCE_DIR}/lib -ldl" ./configure ...etc... Now if I go and check the configure log, I see that the LDFLAGS are interpreted as "-L${PROJECT_SOURCE_DIR}/lib\ -ldl" (watch the escaping of the " " (space)). Is there any way I can turn this off? I also noticed a lot of cases with this add_custom_command that CMake is trying to be smart but aren't the programmers there to be smart? :p. Another example: ${BASH} -c "if [ -e \"test\"]; then echo ok; fi". This results in: /bin/bash -c if [ -e "test" ]; then echo ok; fi Clearly wrong as what I mentioned is what I wrote. Though that one I could solve by: ${BASH} -c "\"if [ -e \"test\"]; then echo ok; fi\"" But that's just counterintuitive imo. Anyway, how could I pass the "space"-escaping feature of CMake? Thanks _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake