title: How can I use cmake to compile .fx files
body: <p>According to <a href="http://blogs.msdn.com/b/chuckw/archive/2012/05/07/hlsl-fxc-and-d3dcompile.aspx" rel="nofollow">this MSDN blog entry</a> it is recommended to compile .fx effect files with fxc as part of your build process. Given a list of fx files, how do I tell cmake to add some to my project files (VS2010)? </p>