stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r478112 - in /incubator/stdcxx/trunk/etc/config/windows: projectdef.js projects.js
Date Wed, 22 Nov 2006 10:23:04 GMT
Author: faridz
Date: Wed Nov 22 02:23:03 2006
New Revision: 478112

URL: http://svn.apache.org/viewvc?view=rev&rev=478112
Log:
2006-11-22 Farid Zaripov <faridz@kyiv.vdiweb.com>

	* projectdef.js (projectCreateTestLocaleDefs,
	projectCreateTestLocaleDefs): Code, independent from
	locale name moved from here ...
	* projects.js (CreateProjectsDefs): ... to here.
	Command line for custom build step assigned to file
	run_locale_utils.wsf (to deal with MSVC 8)

Modified:
    incubator/stdcxx/trunk/etc/config/windows/projectdef.js
    incubator/stdcxx/trunk/etc/config/windows/projects.js

Modified: incubator/stdcxx/trunk/etc/config/windows/projectdef.js
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/windows/projectdef.js?view=diff&rev=478112&r1=478111&r2=478112
==============================================================================
--- incubator/stdcxx/trunk/etc/config/windows/projectdef.js (original)
+++ incubator/stdcxx/trunk/etc/config/windows/projectdef.js Wed Nov 22 02:23:03 2006
@@ -722,9 +722,6 @@
         projectDef.FilterDefs.push(
             new FilterDef("Src", null, "", eFileTypeText, false).
             addFiles(null, new Array(srcFile.Path)));
-        projectDef.FilterDefs.push(
-            new FilterDef("Script Files", null, "js;wsf", eFileTypeScript, false).
-            addFiles("%SRCDIR%\\etc\\config\\windows", new Array("run_locale_utils.wsf")));
         projectDef.CustomBuildCmd =
             "\"$(SolutionDir)%CONFIG%\\bin\\localedef.exe\" -w -c" +
             " -f \"" + cmFileName + "\"" + " -i \"" + srcFileName + "\"" +
@@ -757,9 +754,6 @@
     // create test_locale_sanity project
     var sanityDef = this.clone();
     sanityDef.Name = "test_locale_sanity";
-    sanityDef.FilterDefs.push(
-        new FilterDef("Script Files", null, "js;wsf", eFileTypeScript, false).
-        addFiles(srcdir, new Array("run_locale_utils.wsf")));
     if (null == sanityDef.PreBuildCmd)
         sanityDef.PreBuildCmd = "";
     else
@@ -812,9 +806,6 @@
         projectDef.FilterDefs.push(
             new FilterDef("Src", null, "", eFileTypeText, false).
             addFiles(null, new Array(srcFile.Path)));
-        projectDef.FilterDefs.push(
-            new FilterDef("Script Files", null, "js;wsf", eFileTypeScript, false).
-            addFiles(srcdir, new Array("run_locale_utils.wsf")));
         if (null == projectDef.PreBuildCmd)
             projectDef.PreBuildCmd = "";
         else

Modified: incubator/stdcxx/trunk/etc/config/windows/projects.js
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/windows/projects.js?view=diff&rev=478112&r1=478111&r2=478112
==============================================================================
--- incubator/stdcxx/trunk/etc/config/windows/projects.js (original)
+++ incubator/stdcxx/trunk/etc/config/windows/projects.js Wed Nov 22 02:23:03 2006
@@ -297,8 +297,13 @@
     {
         var localeTplDef = new ProjectDef(null, typeGeneric);
         localeTplDef.VCProjDir = ProjectsDir + "\\locales";
+        localeTplDef.FilterDefs.push(
+            new FilterDef("Script Files", null, "js;wsf", eFileTypeScript, false).
+                addFiles("%SRCDIR%\\etc\\config\\windows",
+                         new Array("run_locale_utils.wsf")));
         localeTplDef.OutDir = "$(SolutionDir)nls";
         localeTplDef.IntDir = localeTplDef.OutDir + "\\Build\\$(ProjectName)";
+        localeTplDef.CustomBuildFile = "run_locale_utils.wsf";
         localeTplDef.CustomBuildDeps = "%FILES%";
         localeTplDef.PrjDeps.push(localedefDef);
         if (!copyDll)
@@ -332,8 +337,13 @@
     {
         var testlocaleTplDef = new ProjectDef(null, typeGeneric);
         testlocaleTplDef.VCProjDir = ProjectsDir + "\\locales";
+        testlocaleTplDef.FilterDefs.push(
+            new FilterDef("Script Files", null, "js;wsf", eFileTypeScript, false).
+                addFiles("%SRCDIR%\\etc\\config\\windows",
+                         new Array("run_locale_utils.wsf")));
         testlocaleTplDef.OutDir = "$(SolutionDir)%CONFIG%\\bin";
         testlocaleTplDef.IntDir = testlocaleTplDef.OutDir + "\\$(ProjectName)";
+        testlocaleTplDef.CustomBuildFile = "run_locale_utils.wsf";
         testlocaleTplDef.CustomBuildDeps = "%FILES%";
         testlocaleTplDef.PrjDeps.push(execDef);
         testlocaleTplDef.PrjDeps.push(localeDef);



Mime
View raw message