On 04.03.11 14:56:14, Orcun Gokbulut wrote:
> While I was investigating the problem I came across another problem; I can
> not read default values of a source property. In more generic terms value of
> a source file property (I don't known whether this applies to
> target/directory/global properties) is not defined unless it is defined by a
> set command. However, those properties has build in default values that are
> also overwritten by set functions. So there is no way of getting default
> values of these properties.

No they don't. Source files get the 'default' values from their target,
directory or global cmake flags. So thats the order in which you have to
check for existing values. The cmake manual has a list of all properties
and usually also cross-references between the 4 types.

Andreas

_______________________________________________
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

Reply via email to