<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I think OUTPUT_NAME is not set by default. I am getting var-NOTFOUND</div><div>Same for RUNTIME_OUTPUT_NAME, LIBRARY_OUTPUT_NAME, PREFIX and SUFFIX</div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 5, 2018 at 9:26 AM Robert Maynard <<a href="mailto:robert.maynard@kitware.com" target="_blank">robert.maynard@kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At configure time you query OUTPUT_NAME target property<br>
(<a href="https://cmake.org/cmake/help/v3.11/prop_tgt/OUTPUT_NAME.html" rel="noreferrer" target="_blank">https://cmake.org/cmake/help/v3.11/prop_tgt/OUTPUT_NAME.html</a>) and if<br>
not set you use NAME (<br>
<a href="https://cmake.org/cmake/help/v3.11/prop_tgt/NAME.html" rel="noreferrer" target="_blank">https://cmake.org/cmake/help/v3.11/prop_tgt/NAME.html</a> )<br>
On Mon, Nov 5, 2018 at 11:48 AM Hendrik Greving<br>
<<a href="mailto:hendrik.greving.smi@gmail.com" target="_blank">hendrik.greving.smi@gmail.com</a>> wrote:<br>
><br>
> Hi, is there a way to get the default library or executable name at configure time (except obsolete LOCATION property)? i.e. lib${target_name}.so in Linux, where target_name is NAME target property? Thanks in advance.<br>
> --<br>
><br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
><br>
> Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
><br>
> CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
> CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
> CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="https://cmake.org/mailman/listinfo/cmake" rel="noreferrer" target="_blank">https://cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div>