From 21bd2722cd89995370523385c213da32c8d47100 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 10 Feb 2010 16:24:05 +0000 Subject: (svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel --- projects/generate | 2 ++ 1 file changed, 2 insertions(+) (limited to 'projects/generate') 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" && -- cgit v1.2.3-54-g00ecf