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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2016-05-31 19:56:57 +0300
committerMiguel de Icaza <miguel@gnome.org>2016-05-31 22:36:59 +0300
commitb078895e893c2896b1dbdff3fac055aa2f7f2b1f (patch)
tree4ab46b7c7de77edb812f365a7fe2ea85e46b4132 /msvc/scripts/genproj.cs
parentd15602739b6e3dd2edce7c34a01b0d656236a5f9 (diff)
[genproj] Getting closer to a full build
* Add TODO list * Use -useSourcePath when building resources, so we do not need to add the explicit extra path * More updates, now battling resource generation across the board * Use newlines in the Unix commands to avoid generating things like cs-parser.cs^M
Diffstat (limited to 'msvc/scripts/genproj.cs')
-rw-r--r--msvc/scripts/genproj.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/msvc/scripts/genproj.cs b/msvc/scripts/genproj.cs
index 7c775bb70c9..5205c6ed6ad 100644
--- a/msvc/scripts/genproj.cs
+++ b/msvc/scripts/genproj.cs
@@ -921,7 +921,7 @@ class MsbuildGenerator {
int q = library.IndexOf ("-");
if (q != -1)
target = target + Load (library.Substring (0, q) + suffix);
-
+
if (target.IndexOf ("@MONO@") != -1){
target_unix = target.Replace ("@MONO@", "mono").Replace ("@CAT@", "cat");
target_windows = target.Replace ("@MONO@", "").Replace ("@CAT@", "type");
@@ -929,6 +929,10 @@ class MsbuildGenerator {
target_unix = target.Replace ("jay.exe", "jay");
target_windows = target;
}
+ target_unix = target_unix.Replace ("@COPY@", "cp");
+ target_windows = target_unix.Replace ("@COPY@", "copy");
+
+ target_unix = target_unix.Replace ("\r", "");
const string condition_unix = "Condition=\" '$(OS)' != 'Windows_NT' \"";
const string condition_windows = "Condition=\" '$(OS)' == 'Windows_NT' \"";
var result =