summaryrefslogtreecommitdiff
path: root/projects/generate
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-02-10 16:24:05 +0000
committerrubidium <rubidium@openttd.org>2010-02-10 16:24:05 +0000
commit21bd2722cd89995370523385c213da32c8d47100 (patch)
treee7f3bb43657b1f8a59f89899dfc582d480bedad0 /projects/generate
parent78ce2858fc2704a5aafbc0b76cdb636338122f63 (diff)
downloadopenttd-21bd2722cd89995370523385c213da32c8d47100.tar.xz
(svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel
Diffstat (limited to 'projects/generate')
-rwxr-xr-xprojects/generate2
1 files changed, 2 insertions, 0 deletions
diff --git a/projects/generate b/projects/generate
index 9ef2e0a32..0a3055863 100755
--- a/projects/generate
+++ b/projects/generate
@@ -40,6 +40,7 @@ sdl_config="1"
png_config="1"
os="MSVC"
enable_dedicated="0"
+enable_ai="1"
with_cocoa="0"
enable_directmusic="1"
with_threads="1"
@@ -94,6 +95,7 @@ load_main_data() {
if ($0 == "PSP" && "'$os'" != "PSP") { next; }
if ($0 == "DOS" && "'$os'" != "DOS") { next; }
if ($0 == "DEDICATED" && "'$enable_dedicated'" != "1") { next; }
+ if ($0 == "AI" && "'$enable_ai'" == "0") { next; }
if ($0 == "COCOA" && "'$with_cocoa'" == "0") { next; }
if ($0 == "BEOS" && "'$os'" != "BEOS") { next; }
if ($0 == "WIN32" && "'$os'" != "MINGW" &&