The documentation for cmake-2.8 states:
In CMake 2.6 and above add_custom_command automatically recognizes a
target name in its COMMAND and DEPENDS options and computes the target
location. Therefore this property is not needed for creating custom
commands.
This doesn't seem to work for me with targets create with
add_library(..). Is that a bug? I'm working around it by using
get_target_property(... LOCATION).
Regards,
Thomas Sondergaard
_______________________________________________
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