added linux support

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40398
This commit is contained in:
David Anderson 2007-01-27 03:40:05 +00:00
parent 8434c25bd8
commit 7d33bf0098
4 changed files with 12 additions and 17 deletions

View File

@ -57,7 +57,7 @@ namespace builder
/* Now build it */ /* Now build it */
info.WorkingDirectory = path; info.WorkingDirectory = path;
info.FileName = cfg.BuilderPath; info.FileName = cfg.BuilderPath;
info.Arguments = "Release"; info.Arguments = "";
info.UseShellExecute = false; info.UseShellExecute = false;
p = Process.Start(info); p = Process.Start(info);
p.WaitForExit(); p.WaitForExit();
@ -68,22 +68,6 @@ namespace builder
return false; return false;
} }
/* Now verify the binary */
info.WorkingDirectory = "/bin"; /* :TODO: Fix this */
info.FileName = "dlsym";
info.Arguments = binpath;
info.UseShellExecute = false;
info.RedirectStandardOutput = true;
p = Process.Start(info);
string output = p.StandardOutput.ReadToEnd();
p.WaitForExit();
p.Close();
if (output.IndexOf("Handle:") == -1)
{
return false;
}
_binName = binName; _binName = binName;
_binPath = binpath; _binPath = binpath;

View File

@ -94,3 +94,4 @@ namespace builder
} }
} }
} }

View File

@ -0,0 +1,5 @@
OutputBase = /home/users/dvander/done
SourceBase = /home/users/dvander/sourcemod/trunk
BuilderPath = /usr/bin/make
SVNVersion = /usr/bin/svnversion
ProductVersion = 1.0.0

View File

@ -0,0 +1,5 @@
OutputBase = c:\real\done\sourcemod
SourceBase = r:\sourcemod\trunk
BuilderPath = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.com
SVNVersion = C:\Program Files\Subversion\bin\svnversion.exe
ProductVersion = 1.0.0