diff options
author | rubidium <rubidium@openttd.org> | 2010-02-10 16:24:05 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-02-10 16:24:05 +0000 |
commit | 21bd2722cd89995370523385c213da32c8d47100 (patch) | |
tree | e7f3bb43657b1f8a59f89899dfc582d480bedad0 /projects | |
parent | 78ce2858fc2704a5aafbc0b76cdb636338122f63 (diff) | |
download | openttd-21bd2722cd89995370523385c213da32c8d47100.tar.xz |
(svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel
Diffstat (limited to 'projects')
-rwxr-xr-x | projects/generate | 2 |
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" && |