########################################################################################################################## # RULES FILE # Usage & Details : https://devstar.rockstargames.com/wiki/index.php/Dev:Project_builder3#game.rules ########################################################################################################################## # Rules : independent of exporter. Rules { #------------------------------------------------------------------------------------------- # Setup Scratch ( make your own vars here and reuse with syntax. ) #------------------------------------------------------------------------------------------- #------------------------------------------------------------------------------------------- # General #------------------------------------------------------------------------------------------- # Security - disable RTTI in Final builds #Always false now, left for reference Settings.General.Rtti[Config=='Final'] = 'false' Settings.General.Rtti[Config=='LeanClientFinal'] = 'false' #------------------------------------------------------------------------------------------- # Compiler #------------------------------------------------------------------------------------------- Action Settings.Compiler.PreprocessorDefinitions { [Config=='LeanClientFinal'] += 'RSG_LEAN_CLIENT=1' } Action Settings.Compiler.ForceIncludes { [Config=='LeanClientFinal'] ='$(RAGE_DIR)\base\src\forceinclude\win64_final.h' } #------------------------------------------------------------------------------------------- # Librarian #------------------------------------------------------------------------------------------- #------------------------------------------------------------------------------------------- # Exe Settings : Linker, Image & Deploy #------------------------------------------------------------------------------------------- } # end rules