<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Actually, how would I use this command? Would I attach this to the target, or should I run the .exe separately?
<div><br>
</div>
<div>I'm kind of confused by the documentation.<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF402531" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Imstk-developers [imstk-developers-bounces@imstk.org] on behalf of Milef, Nicholas Boris [milefn@rpi.edu]<br>
<b>Sent:</b> Wednesday, August 09, 2017 4:17 PM<br>
<b>To:</b> Dzenan Zukic<br>
<b>Cc:</b> imstk-developers@imstk.org<br>
<b>Subject:</b> Re: [Imstk-developers] How to compile shader code in CMake?<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Great! Thanks Dzenan!
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF484050" style="direction:ltr"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Dzenan Zukic [dzenan.zukic@kitware.com]<br>
<b>Sent:</b> Wednesday, August 09, 2017 4:13 PM<br>
<b>To:</b> Milef, Nicholas Boris<br>
<b>Cc:</b> imstk-developers@imstk.org<br>
<b>Subject:</b> Re: [Imstk-developers] How to compile shader code in CMake?<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">You can add custom command:
<div><a href="https://cmake.org/cmake/help/v3.0/command/add_custom_command.html" target="_blank">https://cmake.org/cmake/help/v3.0/command/add_custom_command.html</a><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">Dženan Zukić, PhD, Senior R&D Engineer,<span style="font-size:12.8000001907349px"> </span>Kitware (Carrboro, N.C.)</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Wed, Aug 9, 2017 at 4:09 PM, Milef, Nicholas Boris <span dir="ltr">
<<a href="mailto:milefn@rpi.edu" target="_blank">milefn@rpi.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">I need to compile the Vulkan shaders (from GLSL to SPIR-V) and I don't really want to add the SPIR-V shaders in the repo because they're binary (although they aren't very large).
<div><br>
</div>
<div>From command prompt, I run this (included with VulkanSDK):</div>
<div>glslangvalidator -V mesh_frag.frag -o mesh_frag.spv</div>
<div><br>
</div>
<div>Any ideas on how to do this?</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Imstk-developers mailing list<br>
<a href="mailto:Imstk-developers@imstk.org" target="_blank">Imstk-developers@imstk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/imstk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/imstk-<wbr>developers</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>