On 20.07.10 16:18:26, kent williams wrote: > OK, so set_source_file_properties needs a property value that's a > single string. This wasn't clear from the documentation at all or not > clear to me at least. Thanks for your help!
It doesn't need to be explicit if you've understood cmake variables (yes thats not exactly and easy and straight-forward topic). The problem is that when you have multiple values in a varialy "xyz" and you pass it as ${xyz} to the function, it'll get expanded and as set_source_files_properties allows multiple properties to be set it takes the second (third, fourth etc.) element of the list you've passed in as next property name instead of value to the first property. Using the quotes you make sure that cmake understands that all individual elements from the list belong to the same "value" position in the call to the set-function. Andreas -- You are going to have a new love affair. _______________________________________________ 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