<div dir="ltr">Depends on your generator. It can be as simple as including the .manifest in your sources list.<div>Otherwise you may have to make an extra mt.exe invokation...</div><div><br></div><div><a href="https://github.com/d3x0r/SACK/blob/master/src/utils/service/CMakeLists.txt#L42-L53">https://github.com/d3x0r/SACK/blob/master/src/utils/service/CMakeLists.txt#L42-L53</a> <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 2, 2019 at 12:48 AM Fredrik Orderud <<a href="mailto:forderud@gmail.com">forderud@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
I'm working on a project where I need to configure non-default<br>
manifest settings when building on Windows. More specifically, I need<br>
to inject the following tags in the generated vcxproj project:<br>
<Manifest><br>
<ComponentFileName>$(TargetName)$(TargetExt)</ComponentFileName><br>
<RegistrarScriptFile>AdditionalRegEntries.rgs</RegistrarScriptFile><br>
</Manifest><br>
<br>
Any advise on how to achieve this from CMake?<br>
<br>
I've already thought about writing a custom script to modify the<br>
generated vcxproj file, but want to avoid that if possible.<br>
<br>
Thanks in advance,<br>
Fredrik Orderud<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>