[CMake] CMAKE_RULE_LAUNCH_LINK separate link binary and archive
xavier lacoste
xl64100 at gmail.com
Thu Oct 5 08:16:49 EDT 2017
Hello,
I would like to use CMAKE_RULE_LAUNCH_LINK/CMAKE_RULE_LAUNCH_COMPILE for
using score-p.
scorep should be added in compile and link line before compiler (eg. scorep
gcc).
Thus I setted CMAKE_RULE_LAUNCH_COMPILE to scorep and same for
CMAKE_RULE_LAUNCH_LINK. (set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK
scorep))
(set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE scorep))
The issue is that scorep is also added for ARCHIVE creation with "ar" which
is not supported by score-p.
Do you have a solution to prefix link for an executable and not for an
archive ?
Regards,
XL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20171005/65a00f22/attachment-0001.html>
More information about the CMake
mailing list