# # Sample.slnrules : General rules that apply to all samples # Properties { SolutionItems += '%RS_CODEBRANCH%\projgen\cpp.props' SolutionItems += '%RS_CODEBRANCH%\projgen\projgen.props' SolutionItems += '%RS_CODEBRANCH%\Directory.Build.props' SolutionItems += '%RS_TOOLSSCRIPT%\coding\autoexp\rage.natvis' } Project_Config_Rules { # # Regex(proj_id:sln cfg:sln platform) = project cfg|project platform # [^:]*:([^:]*):([^:]*) = '(1)|(2)' # Default All projects map to a default eg. *[Debug|Win32] = Debug|Win32 [^:]*:([^:]*):Win32 DX11 = '(1) DX11|Win32' # Projects in Win32 DX11 solution config, map to the project config DX11|Win32 ^[^:]*_psc:[^:]*:[^:]*$ = 'Release|x64' } # ------------------------------- # --- Solution Exporter Rules --- # ------------------------------- Project_Config_Rules { # # Regex(proj_id:sln cfg:sln platform:exporter) = project cfg|project platform # # [^:]*:[^:]*:Durango:VS2010.* = '' # Exporter rule : No Durango in VS2010 # [^:]*:[^:]*:ORBIS:VS2010.* = '' # Exporter rule : No Orbis in VS2010 # [^:]*:[^:]*:[^:]*:VS2012.* = '' # Start with a clean slate for VS2012 # [^:]*:([^:]*):(Durango):VS2012.* = '(1)|(2)' # Exporter rule : Durango in VS2012 # [^:]*:([^:]*):(ORBIS):VS2012.* = '(1)|(2)' # Exporter rule : Orbis in VS2012 # PS3_[^:]*:[^:]*:[^:]*:VS2012.* = '' # Exporter rule : No PS3_* libs in VS2012 } Build_Rules { # Projects to build. [^:]*:([^:]*):([^:]*) = 'true' # Default; ALL projects build by default. } Deploy_Rules { # Projects to Deploy. [^:]*:([^:]*):([^:]*) = 'false' # Default; ALL projects do not deploy by default. game:[^:]*:Xbox 360 = 'true' # The game will deploy on Xbox 360 # game:[^:]*:Durango = 'true' # The game will deploy on Durango }