projects/generate
changeset 7790 73f48009ce0c
parent 7433 8e410e7ec0d7
child 8390 2fa829d2fca1
equal deleted inserted replaced
7789:bda67a697f68 7790:73f48009ce0c
    34 png_config="1"
    34 png_config="1"
    35 os="MSVC"
    35 os="MSVC"
    36 enable_dedicated="0"
    36 enable_dedicated="0"
    37 with_cocoa="0"
    37 with_cocoa="0"
    38 enable_directmusic="1"
    38 enable_directmusic="1"
       
    39 with_threads="1"
    39 file_prefix="..\\\\src\\\\"
    40 file_prefix="..\\\\src\\\\"
    40 
    41 
    41 safety_check() {
    42 safety_check() {
    42 	li=""
    43 	li=""
    43 	for i in `cat $1 | grep -v "#\|ottdres.rc\|win32.cpp\|win32_v.cpp" | xargs -n 1 basename | sort`; do
    44 	for i in `cat $1 | grep -v "#\|ottdres.rc\|win32.cpp\|win32_v.cpp" | xargs -n 1 basename | sort`; do
    82 											"'$os'" != "CYGWIN" && "'$os'" != "MSVC" ) { next; }
    83 											"'$os'" != "CYGWIN" && "'$os'" != "MSVC" ) { next; }
    83 			if ($0 == "WINCE"       && "'$os'" != "WINCE")             { next; }
    84 			if ($0 == "WINCE"       && "'$os'" != "WINCE")             { next; }
    84 			if ($0 == "MSVC"        && "'$os'" != "MSVC")              { next; }
    85 			if ($0 == "MSVC"        && "'$os'" != "MSVC")              { next; }
    85 			if ($0 == "DIRECTMUSIC" && "'$enable_directmusic'" != "1") { next; }
    86 			if ($0 == "DIRECTMUSIC" && "'$enable_directmusic'" != "1") { next; }
    86 			if ($0 == "LIBTIMIDITY" && "'$libtimidity'" == "" )        { next; }
    87 			if ($0 == "LIBTIMIDITY" && "'$libtimidity'" == "" )        { next; }
       
    88 			if ($0 == "NO_THREADS"  && "'$with_threads'" == "0")       { next; }
    87 
    89 
    88 			skip += 1;
    90 			skip += 1;
    89 
    91 
    90 			next;
    92 			next;
    91 		}
    93 		}