I am generating a Visual C/C++ solution from Simulink Coder with "grt.tlc". By default, Simulink Coder always generate a Visual C/C++ solution in Debug Mode. However, I would like the solution file to be generated for Release mode (<https://msdn.microsoft.com/en-us/library/wx0123s5.aspx>). At the moment, I have to manually convert from Debug to Release mode, which requires a lot of copy/paste inside the Visual Studio project file in order to provide the desired options for Release mode. Therefore, I have the following questions:
1. Is there any way to generate Visual Studio project in Release Mode?
2. Is it possible to customize the "RTW.MSVCBuild" so that I can adjust the code as per my needs, i.e. customizing Release Mode options, relative paths instead of absolute ones?
Best Answer