Fixed RAID_RELEASE macro not defined in release_debug and profile builds.

This commit is contained in:
Patrick 2025-03-13 23:43:31 +01:00
parent 8d1a7bc957
commit aef6eb03d2

View File

@ -3,7 +3,7 @@ Import('env')
public_dir = env.Dir('public') public_dir = env.Dir('public')
env.Append(CPPPATH = [public_dir]) env.Append(CPPPATH = [public_dir])
if env['BUILD_TYPE'] == 'release': if env['BUILD_TYPE'] in ('release', 'release_debug', 'profile'):
env.Append(CPPDEFINES = ['RAID_RELEASE']) env.Append(CPPDEFINES = ['RAID_RELEASE'])
env = env.Module('private/raid/SModule') env = env.Module('private/raid/SModule')