my $os = $^O;
print "Current OS is $os\n";
if($os eq "MSWin32"){
if($_Debug == 1){
$build = "build_d.exe";
}else{
$build = "build.exe";
}
}
if($os eq "linux"){
if($_Debug == 1){
$build = "build_d";
}else{
$build = "build";
}
}
print "Current OS is $os\n";
if($os eq "MSWin32"){
if($_Debug == 1){
$build = "build_d.exe";
}else{
$build = "build.exe";
}
}
if($os eq "linux"){
if($_Debug == 1){
$build = "build_d";
}else{
$build = "build";
}
}