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

Brad King brad.king at kitware.com
Tue Jan 27 12:59:29 EST 2015


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