Author: sebor Date: Fri Dec 23 15:16:15 2005 New Revision: 358881 URL: http://svn.apache.org/viewcvs?rev=358881&view=rev Log: 2005-12-22 Anton Pevtsov * config.js (Linker): Added library directories collection. * configure.wsf: Corrected helper xml comments, updated error hadling - the script tells the user where to look for the log file. Added option for the icc-9.0 Defines to avoid problems with '*' symbol in 19 package version of the Intel 9.0 C++ compiler, function tests updated correspondingly. * data.js: The solution names were moved to this file to be used in all other script files. * fun_present_check.cpp (FUN_PARAMS): New helper define to avoid problem with Compilation for Intel 9.0 C++ 19 package '*' problem workaround. * generate.js: Added icc-specific functions for the solution generation. (checkEnvironment): New function for all configurations (it checks that all utilities required for the solution generation are available). (generateSolution): Implemented for icc (msvc implementation updated), added helper functions for the source files filters. * generate.wsf: corrected helper xml comments, updated builddir variable to use config in the directory name. (checkEnvironment): New step to the solution generation workflow, modified the final output. (generateBuildBatch): Updated to be config-independent and accept the config as first parameter. (generateUpdateBatch): Same. * makelog.wsf: Corrected helper xml comments, updated the log file name generation mechanism to use the configrutation in the file name. (CONFIG): Added script parameter. * runall.wsf: Fixed typo. * summary.js: Added mechanism to read compilation output from BuildLog.html in non-table data form, updated the BuildLog.html reading workflow, changed the log file name generation function to use the configuration in the log file name. * update.wsf: Corrected helper xml comments. (checkEnvironment): Added step to the solution update workflow. Added several icc-90 specific steps (i.e converting from icc projects structure to msvc and vice versa). * utilities.js (converSolutionImpl): New function for the solution conversion from Intel projects structure, added special processing for the solutions which has cpecific configurations for the configure project (icc). * msvc-config.js: Added the icc-9.0 solution creation as a copy of msvc-7.1 solution. It is here to be sure that icc solution will be created after msvc-7.1 creation and configuration. All configure tools functions made configuration independent (they receive all necessary information via parameters). (configureToolsVC71): Changed correspondingly. * msvc-config_classes.js: Added processing for the additional libraries in linker. * icc-config.js: New. Contains "classes" for the icc-9.0 compiler, linker, librarian, etc. * icc-config_classes.js: New. Contains the icc9.0_config solution tools configuration. This special solution is used for configure project compilation instead of icc-9.0. Should be included in configure.wsf script only. Added: incubator/stdcxx/trunk/etc/config/windows/icc-config.js (with props) incubator/stdcxx/trunk/etc/config/windows/icc-config_classes.js (with props) Modified: incubator/stdcxx/trunk/etc/config/windows/config.js incubator/stdcxx/trunk/etc/config/windows/configure.wsf incubator/stdcxx/trunk/etc/config/windows/data.js incubator/stdcxx/trunk/etc/config/windows/fun_present_check.cpp incubator/stdcxx/trunk/etc/config/windows/generate.js incubator/stdcxx/trunk/etc/config/windows/generate.wsf incubator/stdcxx/trunk/etc/config/windows/makelog.wsf incubator/stdcxx/trunk/etc/config/windows/msvc-config.js incubator/stdcxx/trunk/etc/config/windows/msvc-config_classes.js incubator/stdcxx/trunk/etc/config/windows/runall.wsf incubator/stdcxx/trunk/etc/config/windows/summary.js incubator/stdcxx/trunk/etc/config/windows/update.wsf incubator/stdcxx/trunk/etc/config/windows/utilities.js Modified: incubator/stdcxx/trunk/etc/config/windows/config.js URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/etc/config/windows/config.js?rev=358881&r1=358880&r2=358881&view=diff ============================================================================== --- incubator/stdcxx/trunk/etc/config/windows/config.js (original) +++ incubator/stdcxx/trunk/etc/config/windows/config.js Fri Dec 23 15:16:15 2005 @@ -300,6 +300,7 @@ this.base = Tool; this.base(linkerToolName); this.libraries = new Collection(); + this.libdirs = new Collection(); } // Linker class methods Modified: incubator/stdcxx/trunk/etc/config/windows/configure.wsf URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/etc/config/windows/configure.wsf?rev=358881&r1=358880&r2=358881&view=diff ============================================================================== --- incubator/stdcxx/trunk/etc/config/windows/configure.wsf (original) +++ incubator/stdcxx/trunk/etc/config/windows/configure.wsf Fri Dec 23 15:16:15 2005 @@ -21,7 +21,7 @@ required="false" type="string"/> - cscript configure.wsf /SolutionName:VC71 + cscript configure.wsf /SolutionName:msvc-7.1 /ConfigurationName:"Release Static" @@ -29,7 +29,7 @@ /ConfigurationName:@Configuration [/OutDir:@OutDir] [/OutFile:@OutFile] [/SrcDir:@SrcDir] [/LogFile:@LogFile], where -@Solution is VC71, +@Solution is msvc-7.1 or icc-9.0, @Configuration = 11s Debug Static | 11d Debug Dll , etc @OutDir - output directory (default: script_directory\tests), @OutFile - output file name (default: config.h), @@ -41,8 +41,10 @@