Files
2025-09-29 00:52:08 +02:00

29 lines
1.4 KiB
Plaintext
Executable File

##########################################################################################################################
# RULES FILE
# Usage & Details : https://devstar.rockstargames.com/wiki/index.php/Dev:Project_builder3#game.rules
##########################################################################################################################
#
# *** IMPORTANT : THESE RULES ARE DESIGNED TO BE *ADDITIONAL* RULES TO THE GAMETOOLS.RULES, SOME SETTINGS ARE DEFINED ***
#
Rules {
Condition [ProjectType=='Exe'] {
Settings.Linker.AdditionalOptions[Platform!='PS3' && Platform!='Orbis'] += '/NODEFAULTLIB:LIBCMT'
}
}
ExporterRules[Exporter=~'VS201'] { # The family of VS201X exporters ( VCXPROJ )
#-------------------------------------------------------------------------------------------
# Platform Toolset
#-------------------------------------------------------------------------------------------
Settings.General.PlatformToolset[Exporter=~'VS2012'] = 'v110'
Settings.General.PlatformToolset[Exporter=~'VS2015'] = 'v140'
# For solutions with multiple executables, avoid linking errors with separate intermediate directories.
Settings.General.OutputDirectoryName = '$(ProjectName)_<Scratch.Arch>_<Config>_<Scratch.VS>/'
Settings.General.IntermediateDirectoryName = '$(ProjectName)_<Scratch.Arch>_<Config>_<Scratch.VS>_int/'
}