[cmake-developers] Setting additional compile flags to .hlsl files?

Robert Goulet Robert.Goulet at autodesk.com
Tue Jan 27 13:22:09 EST 2015


If the flag would be wrong, compilation would fail.

-----Original Message-----
From: Brad King [mailto:brad.king at kitware.com] 
Sent: Tuesday, January 27, 2015 12:59 PM
To: Robert Goulet
Cc: cmake-developers at cmake.org
Subject: Re: [cmake-developers] Setting additional compile flags to .hlsl files?

On 01/27/2015 12:47 PM, Robert Goulet wrote:
> There you go. Let me know if it's good now.

Thanks.  I've committed the patch and merged for testing:

 VS: Add source file property to set extra hlsl shader flags
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6b9bd827

In the test I see:

 VS_SHADER_FLAGS "/Fh $(OutDir)%(Filename).h"

which can be manually verified but I do not see how the test automatically verifies that the flag is correctly used.

Thanks,
-Brad



More information about the cmake-developers mailing list