projects/generate
branchnoai
changeset 9621 7654501cf02d
parent 6503 92d748cdefbe
child 9628 b5c2449616b5
equal deleted inserted replaced
9620:31e38d28a0af 9621:7654501cf02d
    33 sdl_config="1"
    33 sdl_config="1"
    34 os="MSVC"
    34 os="MSVC"
    35 enable_dedicated="0"
    35 enable_dedicated="0"
    36 with_cocoa="0"
    36 with_cocoa="0"
    37 enable_directmusic="1"
    37 enable_directmusic="1"
       
    38 with_threads="1"
    38 file_prefix="..\\\\src\\\\"
    39 file_prefix="..\\\\src\\\\"
    39 
    40 
    40 load_main_data() {
    41 load_main_data() {
    41 	# Read the source.list and process it
    42 	# Read the source.list and process it
    42 	RES="`cat $1 | tr '\r' '\n' | awk '
    43 	RES="`cat $1 | tr '\r' '\n' | awk '
    62 											"'$os'" != "CYGWIN" && "'$os'" != "MSVC" ) { next; }
    63 											"'$os'" != "CYGWIN" && "'$os'" != "MSVC" ) { next; }
    63 			if ($0 == "WINCE"       && "'$os'" != "WINCE")             { next; }
    64 			if ($0 == "WINCE"       && "'$os'" != "WINCE")             { next; }
    64 			if ($0 == "MSVC"        && "'$os'" != "MSVC")              { next; }
    65 			if ($0 == "MSVC"        && "'$os'" != "MSVC")              { next; }
    65 			if ($0 == "DIRECTMUSIC" && "'$enable_directmusic'" != "1") { next; }
    66 			if ($0 == "DIRECTMUSIC" && "'$enable_directmusic'" != "1") { next; }
    66 			if ($0 == "LIBTIMIDITY" && "'$libtimidity'" == "" )        { next; }
    67 			if ($0 == "LIBTIMIDITY" && "'$libtimidity'" == "" )        { next; }
       
    68 			if ($0 == "NO_THREADS"  && "'$with_threads'" == "0")       { next; }
    67 
    69 
    68 			skip += 1;
    70 			skip += 1;
    69 
    71 
    70 			next;
    72 			next;
    71 		}
    73 		}