summaryrefslogtreecommitdiffstats
path: root/build/internal
diff options
context:
space:
mode:
Diffstat (limited to 'build/internal')
-rw-r--r--build/internal/release_impl_official.scons3
-rw-r--r--build/internal/release_impl_official.vsprops1
2 files changed, 4 insertions, 0 deletions
diff --git a/build/internal/release_impl_official.scons b/build/internal/release_impl_official.scons
index b64ab91..94e9670 100644
--- a/build/internal/release_impl_official.scons
+++ b/build/internal/release_impl_official.scons
@@ -28,6 +28,9 @@ if env.Bit('windows'):
'/GT', # VCCLCompilerTool.EnableFiberSafeOptimizations="true"
'/GL', # VCCLCompilerTool.WholeProgramOptimization="true"
],
+ CPPDEFINES = [
+ 'OFFICIAL_BUILD',
+ ],
LINKFLAGS = [
'/LTCG', # VCLinkerTool.LinkTimeCodeGeneration="1"
],
diff --git a/build/internal/release_impl_official.vsprops b/build/internal/release_impl_official.vsprops
index c9a4401..12899c7 100644
--- a/build/internal/release_impl_official.vsprops
+++ b/build/internal/release_impl_official.vsprops
@@ -7,6 +7,7 @@
>
<Tool
Name="VCCLCompilerTool"
+ PreprocessorDefinitions="OFFICIAL_BUILD"
Optimization="3"
InlineFunctionExpansion="2"
EnableIntrinsicFunctions="true"