Boost logo

Boost-Commit :

From: stipe_at_[hidden]
Date: 2007-11-15 23:58:34


Author: srajko
Date: 2007-11-15 23:58:33 EST (Thu, 15 Nov 2007)
New Revision: 41136
URL: http://svn.boost.org/trac/boost/changeset/41136

Log:
fix fignore bug not ignoring .py files, sandbox vc8 projects now all constructed from list of generated files
Added:
   sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/vc8ide/doc.vcproj.py (contents, props changed)
   sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/vc8ide/example.vcproj.py (contents, props changed)
   sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/vc8ide/test.vcproj.py (contents, props changed)
Removed:
   sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/vc8ide/doc.vcproj
   sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/vc8ide/example.vcproj
   sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/vc8ide/test.vcproj
Text files modified:
   sandbox/template_under_construction/file_template.py | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/template_under_construction/file_template.py
==============================================================================
--- sandbox/template_under_construction/file_template.py (original)
+++ sandbox/template_under_construction/file_template.py 2007-11-15 23:58:33 EST (Thu, 15 Nov 2007)
@@ -282,7 +282,7 @@
                     continue
                 fignored=False
                 for item in fignore_list:
- if name.endswith(item):
+ if name.endswith(item) or name.endswith(item+'.py'):
                         fignored=True
                         break
                 if fignored:

Deleted: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/vc8ide/doc.vcproj
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/vc8ide/doc.vcproj 2007-11-15 23:58:33 EST (Thu, 15 Nov 2007)
+++ (empty file)
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="doc"
- ProjectGUID="{$template_msvc_doc_uuid$}"
- RootNamespace="doc"
- Keyword="MakeFileProj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="release|Win32"
- OutputDirectory="..\..\..\..\bin.v2\libs\$(SolutionName)\$(ProjectName)\msvc-8.0\$(ConfigurationName)\threading-multi"
- IntermediateDirectory="$(OutDir)"
- ConfigurationType="0"
- >
- <Tool
- Name="VCNMakeTool"
-$template_msvc_doc_build_command$
- Output=""
- PreprocessorDefinitions="WIN32;NDEBUG"
- IncludeSearchPath=""
- ForcedIncludes=""
- AssemblySearchPath=""
- ForcedUsingAssemblies=""
- CompileAsManaged=""
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- >
- <File
- RelativePath="..\..\doc\dox\$template_library$.hpp"
- >
- </File>
- <File
- RelativePath="..\..\doc\$template_library$.qbk"
- >
- </File>
- </Filter>
- <File
- RelativePath="..\..\doc\Jamfile.v2"
- >
- </File>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>

Added: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/vc8ide/doc.vcproj.py
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/vc8ide/doc.vcproj.py 2007-11-15 23:58:33 EST (Thu, 15 Nov 2007)
@@ -0,0 +1,52 @@
+# template file
+
+# Copyright 2007 Stjepan Rajko.
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+template.append_content(
+r"""<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="doc"
+ ProjectGUID="{$template_msvc_doc_uuid$}"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="release|Win32"
+ OutputDirectory="..\..\..\..\bin.v2\libs\$(SolutionName)\$(ProjectName)\msvc-8.0\$(ConfigurationName)\threading-multi"
+ IntermediateDirectory="$(OutDir)"
+ ConfigurationType="0"
+ >
+ <Tool
+ Name="VCNMakeTool"
+$template_msvc_doc_build_command$
+ Output=""
+ PreprocessorDefinitions=""
+ IncludeSearchPath=""
+ ForcedIncludes=""
+ AssemblySearchPath=""
+ ForcedUsingAssemblies=""
+ CompileAsManaged=""
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>""")
+vc_list_files(2, r'..\..', os.path.join(template.replace_name('$template_library$'),os.path.join('libs',template.replace_name('$template_library$'))), 'doc')
+template.append_content(r"""
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
+""")

Deleted: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/vc8ide/example.vcproj
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/vc8ide/example.vcproj 2007-11-15 23:58:33 EST (Thu, 15 Nov 2007)
+++ (empty file)
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="example"
- ProjectGUID="{$template_msvc_example_uuid$}"
- RootNamespace="example"
- Keyword="MakeFileProj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="debug|Win32"
- OutputDirectory="..\..\..\..\bin.v2\libs\$(SolutionName)\$(ProjectName)\msvc-8.0\$(ConfigurationName)\threading-multi"
- IntermediateDirectory="$(OutDir)"
- ConfigurationType="0"
- >
- <Tool
- Name="VCNMakeTool"
-$template_msvc_build_command$
- Output="$(OutDir)\example.exe"
- PreprocessorDefinitions=""
- IncludeSearchPath="..\../example"
- ForcedIncludes=""
- AssemblySearchPath=""
- ForcedUsingAssemblies=""
- CompileAsManaged=""
- />
- </Configuration>
- <Configuration
- Name="release|Win32"
- OutputDirectory="..\..\..\..\bin.v2\libs\$(SolutionName)\$(ProjectName)\msvc-8.0\$(ConfigurationName)\threading-multi"
- IntermediateDirectory="$(OutDir)"
- ConfigurationType="0"
- >
- <Tool
- Name="VCNMakeTool"
-$template_msvc_build_command$
- Output="$(OutDir)\example.exe"
- PreprocessorDefinitions=""
- IncludeSearchPath=""
- ForcedIncludes=""
- AssemblySearchPath=""
- ForcedUsingAssemblies=""
- CompileAsManaged=""
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- >
- <File
- RelativePath="..\..\example\example.cpp"
- >
- </File>
- </Filter>
- <File
- RelativePath="..\..\example\Jamfile.v2"
- >
- </File>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>

Added: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/vc8ide/example.vcproj.py
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/vc8ide/example.vcproj.py 2007-11-15 23:58:33 EST (Thu, 15 Nov 2007)
@@ -0,0 +1,70 @@
+# template file
+
+# Copyright 2007 Stjepan Rajko.
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+template.append_content(
+r"""<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="example"
+ ProjectGUID="{$template_msvc_example_uuid$}"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="debug|Win32"
+ OutputDirectory="..\..\..\..\bin.v2\libs\$(SolutionName)\$(ProjectName)\msvc-8.0\$(ConfigurationName)\threading-multi"
+ IntermediateDirectory="$(OutDir)"
+ ConfigurationType="0"
+ >
+ <Tool
+ Name="VCNMakeTool"
+$template_msvc_build_command$
+ Output=""
+ PreprocessorDefinitions=""
+ IncludeSearchPath=""
+ ForcedIncludes=""
+ AssemblySearchPath=""
+ ForcedUsingAssemblies=""
+ CompileAsManaged=""
+ />
+ </Configuration>
+ <Configuration
+ Name="release|Win32"
+ OutputDirectory="..\..\..\..\bin.v2\libs\$(SolutionName)\$(ProjectName)\msvc-8.0\$(ConfigurationName)\threading-multi"
+ IntermediateDirectory="$(OutDir)"
+ ConfigurationType="0"
+ >
+ <Tool
+ Name="VCNMakeTool"
+$template_msvc_build_command$
+ Output=""
+ PreprocessorDefinitions=""
+ IncludeSearchPath=""
+ ForcedIncludes=""
+ AssemblySearchPath=""
+ ForcedUsingAssemblies=""
+ CompileAsManaged=""
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>""")
+vc_list_files(2, r'..\..', os.path.join(template.replace_name('$template_library$'),os.path.join('libs',template.replace_name('$template_library$'))), 'example')
+template.append_content(r"""
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
+""")

Deleted: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/vc8ide/test.vcproj
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/vc8ide/test.vcproj 2007-11-15 23:58:33 EST (Thu, 15 Nov 2007)
+++ (empty file)
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="test"
- ProjectGUID="{$template_msvc_test_uuid$}"
- RootNamespace="test"
- Keyword="MakeFileProj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="debug|Win32"
- OutputDirectory="..\..\..\..\bin.v2\libs\$(SolutionName)\$(ProjectName)\msvc-8.0\$(ConfigurationName)\threading-multi"
- IntermediateDirectory="$(OutDir)"
- ConfigurationType="0"
- >
- <Tool
- Name="VCNMakeTool"
-$template_msvc_build_command$
- Output=""
- PreprocessorDefinitions=""
- IncludeSearchPath=""
- ForcedIncludes=""
- AssemblySearchPath=""
- ForcedUsingAssemblies=""
- CompileAsManaged=""
- />
- </Configuration>
- <Configuration
- Name="release|Win32"
- OutputDirectory="..\..\..\..\bin.v2\libs\$(SolutionName)\$(ProjectName)\msvc-8.0\$(ConfigurationName)\threading-multi"
- IntermediateDirectory="$(OutDir)"
- ConfigurationType="0"
- >
- <Tool
- Name="VCNMakeTool"
-$template_msvc_build_command$
- Output=""
- PreprocessorDefinitions=""
- IncludeSearchPath=""
- ForcedIncludes=""
- AssemblySearchPath=""
- ForcedUsingAssemblies=""
- CompileAsManaged=""
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- >
- <File
- RelativePath="..\..\test\test.cpp"
- >
- </File>
- </Filter>
- <File
- RelativePath="..\..\test\Jamfile.v2"
- >
- </File>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>

Added: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/vc8ide/test.vcproj.py
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/vc8ide/test.vcproj.py 2007-11-15 23:58:33 EST (Thu, 15 Nov 2007)
@@ -0,0 +1,70 @@
+# template file
+
+# Copyright 2007 Stjepan Rajko.
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+template.append_content(
+r"""<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="test"
+ ProjectGUID="{$template_msvc_test_uuid$}"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="debug|Win32"
+ OutputDirectory="..\..\..\..\bin.v2\libs\$(SolutionName)\$(ProjectName)\msvc-8.0\$(ConfigurationName)\threading-multi"
+ IntermediateDirectory="$(OutDir)"
+ ConfigurationType="0"
+ >
+ <Tool
+ Name="VCNMakeTool"
+$template_msvc_build_command$
+ Output=""
+ PreprocessorDefinitions=""
+ IncludeSearchPath=""
+ ForcedIncludes=""
+ AssemblySearchPath=""
+ ForcedUsingAssemblies=""
+ CompileAsManaged=""
+ />
+ </Configuration>
+ <Configuration
+ Name="release|Win32"
+ OutputDirectory="..\..\..\..\bin.v2\libs\$(SolutionName)\$(ProjectName)\msvc-8.0\$(ConfigurationName)\threading-multi"
+ IntermediateDirectory="$(OutDir)"
+ ConfigurationType="0"
+ >
+ <Tool
+ Name="VCNMakeTool"
+$template_msvc_build_command$
+ Output=""
+ PreprocessorDefinitions=""
+ IncludeSearchPath=""
+ ForcedIncludes=""
+ AssemblySearchPath=""
+ ForcedUsingAssemblies=""
+ CompileAsManaged=""
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>""")
+vc_list_files(2, r'..\..', os.path.join(template.replace_name('$template_library$'),os.path.join('libs',template.replace_name('$template_library$'))), 'test')
+template.append_content(r"""
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
+""")


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