[cmake-developers] Windows shader compile options

Gilles Khouzam Gilles.Khouzam at microsoft.com
Wed Sep 24 13:40:47 EDT 2014


Hi Christopher,

We added the support for shaders but have only added the basic support to include shaders. Let me check what can be done to add the other properties.


Gilles Khouzam
Senior Development Lead
Microsoft OSG

From: cmake-developers [mailto:cmake-developers-bounces at cmake.org] On Behalf Of Christopher Maughan
Sent: Wednesday, September 24, 2014 05:29
To: cmake-developers at cmake.org
Subject: [cmake-developers] Windows shader compile options

I've been playing with the Windows shader options.  I can see that it's now possible to set the following:

set_property(SOURCE ${PIXELSHADER_FILES} PROPERTY VS_SHADER_TYPE Pixel)
set_property(SOURCE ${VERTEXSHADER_FILES} PROPERTY VS_SHADER_TYPE Vertex)

Which is cool, but I can't see if there's a way to specify the other options to the shader compiler, such as output header file, shader model, etc.  Is there a way to do that, or is it a TODO?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140924/40945d11/attachment-0002.html>


More information about the cmake-developers mailing list