On Wednesday 09 December 2009, Marcel Loose wrote: > Hi all, > > In fact the subject title says it all. Is it safe to do, for example: > > add_custom_target(myTarget) > set_target_properties(myTarget PROPERTIES > LOCATION ${CMAKE_CURRENT_BINARY_DIR}) > > It seems to work fine, but I'm not sure this is the right way to do it.
What should this do ? It is safe to add your own custom properties, so you can query them later. If you want to force cmake to do something special by setting the LOCATION property, I'm sure either this doesn't work or this works accidentially but is not supported. Alex _______________________________________________ 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