diff options
Diffstat (limited to 'main/SCsub')
-rw-r--r-- | main/SCsub | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/SCsub b/main/SCsub index 27b746a937..f3807167a2 100644 --- a/main/SCsub +++ b/main/SCsub @@ -10,6 +10,9 @@ env_main = env.Clone() env_main.add_source_files(env.main_sources, "*.cpp") +if env["steamapi"] and env.editor_build: + env_main.Append(CPPDEFINES=["STEAMAPI_ENABLED"]) + if env["tests"]: env_main.Append(CPPDEFINES=["TESTS_ENABLED"]) |