If the flag would be wrong, compilation would fail. -----Original Message----- From: Brad King [mailto:brad.k...@kitware.com] Sent: Tuesday, January 27, 2015 12:59 PM To: Robert Goulet Cc: cmake-developers@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 -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers