Boost logo

Boost-Commit :

From: bdawes_at_[hidden]
Date: 2008-06-29 10:40:05


Author: bemandawes
Date: 2008-06-29 10:40:04 EDT (Sun, 29 Jun 2008)
New Revision: 46847
URL: http://svn.boost.org/trac/boost/changeset/46847

Log:
Add Visual Studio solution and project, other minor tweaks
Added:
   trunk/tools/inspect/build/msvc/
   trunk/tools/inspect/build/msvc/boost_inspect.sln (contents, props changed)
   trunk/tools/inspect/build/msvc/boost_inspect.vcproj (contents, props changed)
   trunk/tools/inspect/build/msvc/readme.txt (contents, props changed)
Text files modified:
   trunk/tools/inspect/build/Jamfile.v2 | 2 +-
   trunk/tools/inspect/index.html | 11 ++++++++---
   trunk/tools/inspect/inspect.cpp | 16 +++++++---------
   trunk/tools/inspect/path_name_check.cpp | 4 ++--
   trunk/tools/inspect/time_string.hpp | 2 ++
   5 files changed, 20 insertions(+), 15 deletions(-)

Modified: trunk/tools/inspect/build/Jamfile.v2
==============================================================================
--- trunk/tools/inspect/build/Jamfile.v2 (original)
+++ trunk/tools/inspect/build/Jamfile.v2 2008-06-29 10:40:04 EDT (Sun, 29 Jun 2008)
@@ -14,7 +14,7 @@
 
 exe inspect
     :
- inspect.cpp license_check.cpp link_check.cpp long_name_check.cpp tab_check.cpp crlf_check.cpp unnamed_namespace_check.cpp ascii_check.cpp
+ inspect.cpp license_check.cpp link_check.cpp path_name_check.cpp tab_check.cpp crlf_check.cpp unnamed_namespace_check.cpp ascii_check.cpp
     copyright_check.cpp minmax_check.cpp
     /boost//filesystem/<link>static
     /boost//regex/<link>static

Added: trunk/tools/inspect/build/msvc/boost_inspect.sln
==============================================================================
--- (empty file)
+++ trunk/tools/inspect/build/msvc/boost_inspect.sln 2008-06-29 10:40:04 EDT (Sun, 29 Jun 2008)
@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual C++ Express 2008
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "boost_inspect", "boost_inspect.vcproj", "{0EC8AC1C-6D1F-47FC-A06A-9CC3F924BD82}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {0EC8AC1C-6D1F-47FC-A06A-9CC3F924BD82}.Debug|Win32.ActiveCfg = Debug|Win32
+ {0EC8AC1C-6D1F-47FC-A06A-9CC3F924BD82}.Debug|Win32.Build.0 = Debug|Win32
+ {0EC8AC1C-6D1F-47FC-A06A-9CC3F924BD82}.Release|Win32.ActiveCfg = Release|Win32
+ {0EC8AC1C-6D1F-47FC-A06A-9CC3F924BD82}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal

Added: trunk/tools/inspect/build/msvc/boost_inspect.vcproj
==============================================================================
--- (empty file)
+++ trunk/tools/inspect/build/msvc/boost_inspect.vcproj 2008-06-29 10:40:04 EDT (Sun, 29 Jun 2008)
@@ -0,0 +1,255 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="boost_inspect"
+ ProjectGUID="{0EC8AC1C-6D1F-47FC-A06A-9CC3F924BD82}"
+ RootNamespace="boost_inspect"
+ Keyword="Win32Proj"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="..\..\..\.."
+ PreprocessorDefinitions="BOOST_SYSTEM_NO_LIB;BOOST_FILESYSTEM_NO_LIB;WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ ExceptionHandling="2"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="2"
+ AdditionalLibraryDirectories="..\..\..\..\stage\lib"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ AdditionalIncludeDirectories="..\..\..\.."
+ PreprocessorDefinitions="BOOST_SYSTEM_NO_LIB;BOOST_FILESYSTEM_NO_LIB;WIN32;NDEBUG;_CONSOLE"
+ ExceptionHandling="2"
+ RuntimeLibrary="2"
+ EnableFunctionLevelLinking="true"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="1"
+ AdditionalLibraryDirectories="..\..\..\..\stage\lib"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath="..\..\ascii_check.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\copyright_check.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\crlf_check.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\..\libs\system\src\error_code.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\inspect.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\license_check.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\link_check.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\minmax_check.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\..\libs\filesystem\src\operations.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\..\libs\filesystem\src\path.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\path_name_check.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\..\libs\filesystem\src\portability.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\tab_check.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\unnamed_namespace_check.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\..\libs\filesystem\src\utf8_codecvt_facet.cpp"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>

Added: trunk/tools/inspect/build/msvc/readme.txt
==============================================================================
--- (empty file)
+++ trunk/tools/inspect/build/msvc/readme.txt 2008-06-29 10:40:04 EDT (Sun, 29 Jun 2008)
@@ -0,0 +1,3 @@
+The provided Microsoft VC++ solution assumes the following has been run in the root directory"
+
+ bjam --toolset=msvc-9.0express --build-type=complete --with-regex stage
\ No newline at end of file

Modified: trunk/tools/inspect/index.html
==============================================================================
--- trunk/tools/inspect/index.html (original)
+++ trunk/tools/inspect/index.html 2008-06-29 10:40:04 EDT (Sun, 29 Jun 2008)
@@ -38,10 +38,15 @@
   <li>tab_check.hpp and <a href="tab_check.cpp">
   tab_check.cpp</a></li>
 </ul>
-<p>A Jamfile is provided to build the program.</p>
+<p>A Jamfile is provided to build the program
+using Boost.Build.</p>
+<p>A Microsoft Visual Studio <a href="build/msvc/boost_inspect.suo">solution
+file</a> is provided to aid maintenance. See
+readme.txt
+before using it.</p>
 <hr>
 <p>Revised
-<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->29 December, 2003<!--webbot bot="Timestamp" endspan i-checksum="38523" --></p>
+<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->29 June, 2008<!--webbot bot="Timestamp" endspan i-checksum="19976" --></p>
 
 <p>© Copyright Beman Dawes, 2003</p>
 <p> Distributed under the Boost Software
@@ -51,4 +56,4 @@
 
 </body>
 
-</html>
+</html>
\ No newline at end of file

Modified: trunk/tools/inspect/inspect.cpp
==============================================================================
--- trunk/tools/inspect/inspect.cpp (original)
+++ trunk/tools/inspect/inspect.cpp 2008-06-29 10:40:04 EDT (Sun, 29 Jun 2008)
@@ -34,7 +34,7 @@
 #include "crlf_check.hpp"
 #include "license_check.hpp"
 #include "link_check.hpp"
-#include "long_name_check.hpp"
+#include "path_name_check.hpp"
 #include "tab_check.hpp"
 #include "ascii_check.hpp"
 #include "minmax_check.hpp"
@@ -505,7 +505,7 @@
          " -copyright\n"
          " -crlf\n"
          " -link\n"
- " -long_name\n"
+ " -path_name\n"
          " -tab\n"
          " -ascii\n"
          " -minmax\n"
@@ -674,7 +674,7 @@
   bool copyright_ck = true;
   bool crlf_ck = true;
   bool link_ck = true;
- bool long_name_ck = true;
+ bool path_name_ck = true;
   bool tab_ck = true;
   bool ascii_ck = true;
   bool minmax_ck = true;
@@ -705,7 +705,7 @@
     copyright_ck = false;
     crlf_ck = false;
     link_ck = false;
- long_name_ck = false;
+ path_name_ck = false;
     tab_ck = false;
     ascii_ck = false;
     minmax_ck = false;
@@ -723,10 +723,8 @@
         crlf_ck = true;
     else if ( std::strcmp( argv[1], "-link" ) == 0 )
       link_ck = true;
- else if ( std::strcmp( argv[1], "-long_name" ) == 0 )
- long_name_ck = true;
- else if ( std::strcmp( argv[1], "-long-name" ) == 0 )
- long_name_ck = true;
+ else if ( std::strcmp( argv[1], "-path_name" ) == 0 )
+ path_name_ck = true;
     else if ( std::strcmp( argv[1], "-tab" ) == 0 )
       tab_ck = true;
     else if ( std::strcmp( argv[1], "-ascii" ) == 0 )
@@ -766,7 +764,7 @@
     inspectors.push_back( inspector_element( new boost::inspect::crlf_check ) );
   if ( link_ck )
     inspectors.push_back( inspector_element( new boost::inspect::link_check ) );
- if ( long_name_ck )
+ if ( path_name_ck )
     inspectors.push_back( inspector_element( new boost::inspect::file_name_check ) );
   if ( tab_ck )
       inspectors.push_back( inspector_element( new boost::inspect::tab_check ) );

Modified: trunk/tools/inspect/path_name_check.cpp
==============================================================================
--- trunk/tools/inspect/path_name_check.cpp (original)
+++ trunk/tools/inspect/path_name_check.cpp 2008-06-29 10:40:04 EDT (Sun, 29 Jun 2008)
@@ -1,4 +1,4 @@
-// long_name_check implementation ------------------------------------------//
+// path_name_check implementation ------------------------------------------//
 
 // Copyright Beman Dawes 2002.
 // Copyright Gennaro Prota 2006.
@@ -7,7 +7,7 @@
 // (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt)
 
-#include "long_name_check.hpp"
+#include "path_name_check.hpp"
 
 #include "boost/filesystem/operations.hpp"
 #include "boost/lexical_cast.hpp"

Modified: trunk/tools/inspect/time_string.hpp
==============================================================================
--- trunk/tools/inspect/time_string.hpp (original)
+++ trunk/tools/inspect/time_string.hpp 2008-06-29 10:40:04 EDT (Sun, 29 Jun 2008)
@@ -16,6 +16,8 @@
 #include <string>
 #include <ctime>
 
+#include <boost/config/warning_disable.hpp>
+
 namespace boost {
 
 // Many of the boost tools just need a quick way to obtain


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk