Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstarkos <none@none>2008-12-15 18:00:35 +0300
committerstarkos <none@none>2008-12-15 18:00:35 +0300
commit980a7cc3f48933fd6fd06fd7c5fe116e56189170 (patch)
treeac34f2207f0e11b89165c702bba12a7d47901583 /samples/project/CsSharedLib
parent1c97171f69cd704db6e2aa0f93dec772d0e18792 (diff)
** Merged GMake C# support from branches/csharp (r630:648)
Diffstat (limited to 'samples/project/CsSharedLib')
-rw-r--r--samples/project/CsSharedLib/CsSharedLib.cs9
-rw-r--r--samples/project/CsSharedLib/premake4.lua11
2 files changed, 20 insertions, 0 deletions
diff --git a/samples/project/CsSharedLib/CsSharedLib.cs b/samples/project/CsSharedLib/CsSharedLib.cs
new file mode 100644
index 0000000..1c68e0f
--- /dev/null
+++ b/samples/project/CsSharedLib/CsSharedLib.cs
@@ -0,0 +1,9 @@
+using System;
+
+public class CsSharedLib
+{
+ public void DoIt()
+ {
+ Console.WriteLine("CsSharedLib");
+ }
+}
diff --git a/samples/project/CsSharedLib/premake4.lua b/samples/project/CsSharedLib/premake4.lua
new file mode 100644
index 0000000..e8df542
--- /dev/null
+++ b/samples/project/CsSharedLib/premake4.lua
@@ -0,0 +1,11 @@
+project "CsSharedLib"
+
+ kind "SharedLib"
+ language "C#"
+ files { "*.cs" }
+
+ configuration "Debug"
+ targetdir "lib/debug"
+
+ configuration "Release"
+ targetdir "lib/release"