|
Boost-Commit : |
From: srajko_at_[hidden]
Date: 2007-06-25 13:41:49
Author: srajko
Date: 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
New Revision: 7142
URL: http://svn.boost.org/trac/boost/changeset/7142
Log:
change make_template to file_template, author to authors, and other proposed changes, start Xcode IDE generation support
Added:
sandbox/template_under_construction/README (contents, props changed)
sandbox/template_under_construction/file_template.py
- copied, changed from r7055, /sandbox/template_under_construction/make_template.py
sandbox/template_under_construction/file_template/libs/file_template/build/xcodeide/
sandbox/template_under_construction/file_template/libs/file_template/build/xcodeide/file_template.xcodeproj/
sandbox/template_under_construction/file_template/libs/file_template/build/xcodeide/file_template.xcodeproj/project.pbxproj (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/Jamfile (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/LICENSE_1_0.txt (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/boost/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/boost-build.jam (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/boost/my_library/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/boost/my_library.hpp (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/boost/my_library/my_library.hpp (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/build/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/Jamfile (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/boostbook.css (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/blank.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/caution.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/draft.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/home.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/important.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/next.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/note.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/prev.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/tip.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/toc-blank.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/toc-minus.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/toc-plus.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/up.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/warning.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/reference.css (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/my_library.qbk (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/example/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/example/Jamfile (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/example/example.cpp (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/src/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/test/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/test/Jamfile (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/test/test_nothing.cpp (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/test/test_nothing_n.cpp (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/project-root.jam (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/Jamfile (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/LICENSE_1_0.txt (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/boost/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/boost-build.jam (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/boost/my_library/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/boost/my_library.hpp (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/boost/my_library/my_library.hpp (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/build/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/doc/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/doc/Jamfile (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/doc/html/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/doc/html/boostbook.css (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/doc/html/reference.css (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/doc/my_library.qbk (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/example/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/example/Jamfile (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/example/example.cpp (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/src/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/test/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/test/Jamfile (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/test/test_nothing.cpp (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/test/test_nothing_n.cpp (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/project-root.jam (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/Jamfile (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/LICENSE_1_0.txt (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/boost/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/boost-build.jam (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/boost/my_library/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/boost/my_library.hpp (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/boost/my_library/my_library.hpp (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/vc8ide/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/vc8ide/build.vcproj (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/vc8ide/doc.vcproj (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/vc8ide/example.vcproj (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/vc8ide/my_library.sln (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/vc8ide/test.vcproj (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/xcodeide/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/xcodeide/my_library.xcodeproj/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/xcodeide/my_library.xcodeproj/project.pbxproj (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/Jamfile (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/boostbook.css (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/blank.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/caution.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/draft.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/home.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/important.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/next.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/note.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/prev.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/tip.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/toc-blank.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/toc-minus.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/toc-plus.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/up.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/warning.png (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/reference.css (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/my_library.qbk (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/example/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/example/Jamfile (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/example/example.cpp (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/src/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/test/
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/test/Jamfile (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/test/test_nothing.cpp (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/test/test_nothing_n.cpp (contents, props changed)
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/project-root.jam (contents, props changed)
sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/xcodeide/$template_library$.xcodeproj/
sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/xcodeide/$template_library$.xcodeproj/project.pbxproj.py (contents, props changed)
sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/xcodeide/$template_library$.xcodeproj/xcode_elements.py (contents, props changed)
Removed:
sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_test/
sandbox/template_under_construction/make_template.py
Text files modified:
sandbox/template_under_construction/file_template.py | 9
sandbox/template_under_construction/file_template/libs/file_template/doc/file_template.qbk | 123 +--
sandbox/template_under_construction/file_template/libs/file_template/doc/sandbox.qbk | 277 ++++++++-
sandbox/template_under_construction/file_template/libs/file_template/doc/templates.qbk | 217 +------
sandbox/template_under_construction/file_template/libs/file_template/test/simple_template/simple_template.py | 2
sandbox/template_under_construction/sandbox/$template_library$/Jamfile | 2
sandbox/template_under_construction/sandbox/$template_library$/boost-build.jam | 2
sandbox/template_under_construction/sandbox/$template_library$/boost/$template_library$.hpp | 2
sandbox/template_under_construction/sandbox/$template_library$/boost/$template_library$/$template_library$.hpp | 2
sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/xcodeide.py | 2
sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/$template_library$.qbk.py | 4
sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/Jamfile.py | 15
sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/dox/$template_library$.hpp | 2
sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/html/boostbook.css | 1076 ++++++++++++++++++++--------------------
sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/html/reference.css | 10
sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/options.py | 4
sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/example/Jamfile | 2
sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/example/example.cpp | 2
sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/test/Jamfile.py | 2
sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/test/test_nothing.cpp | 2
sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/test/test_nothing_n.cpp | 2
sandbox/template_under_construction/sandbox/$template_library$/project-root.jam | 2
sandbox/template_under_construction/sandbox/sandbox.py | 32
23 files changed, 929 insertions(+), 864 deletions(-)
Added: sandbox/template_under_construction/README
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/README 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,12 @@
+# 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)
+
+To make a new sandbox project from the template, try running:
+
+python make_template.py sandbox
+
+in this directory.
+
+For more information, visit http://dancinghacker.com/code/template/
Copied: sandbox/template_under_construction/file_template.py (from r7055, /sandbox/template_under_construction/make_template.py)
==============================================================================
--- /sandbox/template_under_construction/make_template.py (original)
+++ sandbox/template_under_construction/file_template.py 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -214,6 +214,7 @@
self.__content__ = ''
global template
template = self
+ self.executing = file_name
execfile(file_name + '.py')
content = self.__content__
else:
@@ -237,7 +238,7 @@
def name_replacement(self, key, value):
self.name_replacements.append(Replacement(key, value))
- def all_content_replacement(self, key, value):
+ def general_content_replacement(self, key, value):
self.content_replacements.general_replacements.append(Replacement(key, value))
def content_replacement(self, extensions, key, value):
@@ -250,6 +251,8 @@
def replace_content(self, name, content):
return self.content_replacements.replace(name, content)
+ def ignore(self, name):
+ self.options.options['ignore'].append(os.path.normpath(name))
def examine(self):
self.directory = self.options.get('template')
@@ -275,7 +278,7 @@
self.__files_clear__ = list()
for name in files:
- if name.startswith('.'):
+ if name.startswith('.') or ignore_list.count(os.path.normpath(os.path.join(root, name)))>0:
continue
fignored=False
for item in fignore_list:
@@ -491,7 +494,7 @@
if global_options.count(option)>0:
options.options[option] = val
elif option == 'ignore':
- templates[index].options.options[option].append(os.path.normpath(val))
+ templates[index].ignore(val)
elif option == 'fignore':
templates[index].options.options[option].append(val)
else:
Added: sandbox/template_under_construction/file_template/libs/file_template/build/xcodeide/file_template.xcodeproj/project.pbxproj
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/build/xcodeide/file_template.xcodeproj/project.pbxproj 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,515 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 42;
+ objects = {
+
+/* Begin PBXAggregateTarget section */
+ 083935070C23D71B00716EE7 /* doc */ = {
+ isa = PBXAggregateTarget;
+ buildConfigurationList = 083935080C23D72900716EE7 /* Build configuration list for PBXAggregateTarget "doc" */;
+ buildPhases = (
+ 083935060C23D71B00716EE7 /* ShellScript */,
+ );
+ dependencies = (
+ );
+ name = doc;
+ productName = doc;
+ };
+ 0839350B0C23D72900716EE7 /* doc clean */ = {
+ isa = PBXAggregateTarget;
+ buildConfigurationList = 0839350D0C23D72900716EE7 /* Build configuration list for PBXAggregateTarget "doc clean" */;
+ buildPhases = (
+ 0839350C0C23D72900716EE7 /* ShellScript */,
+ );
+ dependencies = (
+ );
+ name = "doc clean";
+ productName = doc;
+ };
+ 08EE8A6B0C278E07006DC0CE /* test */ = {
+ isa = PBXAggregateTarget;
+ buildConfigurationList = 08EE8A6D0C278E3D006DC0CE /* Build configuration list for PBXAggregateTarget "test" */;
+ buildPhases = (
+ 08EE8A6A0C278E07006DC0CE /* ShellScript */,
+ );
+ dependencies = (
+ );
+ name = test;
+ productName = test;
+ };
+/* End PBXAggregateTarget section */
+
+/* Begin PBXFileReference section */
+ 0818EB850C26439C00DB816F /* test.py */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.python; name = test.py; path = ../../test/test.py; sourceTree = SOURCE_ROOT; };
+ 0839351D0C23D9D700716EE7 /* file_template.qbk */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = file_template.qbk; path = ../../doc/file_template.qbk; sourceTree = SOURCE_ROOT; };
+ 0839351E0C23D9D700716EE7 /* Jamfile.v2 */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = Jamfile.v2; path = ../../doc/Jamfile.v2; sourceTree = SOURCE_ROOT; };
+ 0839351F0C23D9D700716EE7 /* sandbox.qbk */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = sandbox.qbk; path = ../../doc/sandbox.qbk; sourceTree = SOURCE_ROOT; };
+ 083935200C23D9D700716EE7 /* templates.qbk */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = templates.qbk; path = ../../doc/templates.qbk; sourceTree = SOURCE_ROOT; };
+ 08B512560C2CDC9C00E85405 /* file.doc */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = file.doc; sourceTree = "<group>"; };
+ 08B512570C2CDC9C00E85405 /* file.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = file.txt; sourceTree = "<group>"; };
+ 08B512580C2CDC9C00E85405 /* simple_template.py */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.python; path = simple_template.py; sourceTree = "<group>"; };
+ 08B5125A0C2CDC9C00E85405 /* file.xyz */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = file.xyz; sourceTree = "<group>"; };
+ 08DE94EA0C2C87B700E3D69A /* xcode_elements.py */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.python; name = xcode_elements.py; path = $template_library$.xcodeproj/xcode_elements.py; sourceTree = "<group>"; };
+ 08F005DD0C2B888F00093576 /* $template_library$.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = $template_library$.hpp; sourceTree = "<group>"; };
+ 08F005DE0C2B888F00093576 /* $template_library$.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = $template_library$.hpp; sourceTree = "<group>"; };
+ 08F005DF0C2B888F00093576 /* boost-build.jam */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.jam; path = "boost-build.jam"; sourceTree = "<group>"; };
+ 08F005E00C2B888F00093576 /* Jamfile */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.jam; path = Jamfile; sourceTree = "<group>"; };
+ 08F005E50C2B888F00093576 /* $template_library$.sln */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = $template_library$.sln; sourceTree = "<group>"; };
+ 08F005E60C2B888F00093576 /* build.vcproj.py */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.python; path = build.vcproj.py; sourceTree = "<group>"; };
+ 08F005E70C2B888F00093576 /* doc.vcproj */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.xml; path = doc.vcproj; sourceTree = "<group>"; };
+ 08F005E80C2B888F00093576 /* example.vcproj */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.xml; path = example.vcproj; sourceTree = "<group>"; };
+ 08F005E90C2B888F00093576 /* test.vcproj */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.xml; path = test.vcproj; sourceTree = "<group>"; };
+ 08F005EA0C2B888F00093576 /* vc8ide.py */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.python; path = vc8ide.py; sourceTree = "<group>"; };
+ 08F005EF0C2B888F00093576 /* xcodeide.py */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.python; path = xcodeide.py; sourceTree = "<group>"; };
+ 08F005F10C2B888F00093576 /* $template_library$.qbk.py */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.python; path = $template_library$.qbk.py; sourceTree = "<group>"; };
+ 08F005F30C2B888F00093576 /* $template_library$.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = $template_library$.hpp; sourceTree = "<group>"; };
+ 08F005F50C2B888F00093576 /* boostbook.css */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = boostbook.css; sourceTree = "<group>"; };
+ 08F005F60C2B888F00093576 /* boostbook_doxygen.css */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = boostbook_doxygen.css; sourceTree = "<group>"; };
+ 08F005F80C2B888F00093576 /* blank.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = blank.png; sourceTree = "<group>"; };
+ 08F005F90C2B888F00093576 /* caution.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = caution.png; sourceTree = "<group>"; };
+ 08F005FA0C2B888F00093576 /* draft.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = draft.png; sourceTree = "<group>"; };
+ 08F005FB0C2B888F00093576 /* home.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = home.png; sourceTree = "<group>"; };
+ 08F005FC0C2B888F00093576 /* important.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = important.png; sourceTree = "<group>"; };
+ 08F005FD0C2B888F00093576 /* next.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = next.png; sourceTree = "<group>"; };
+ 08F005FE0C2B888F00093576 /* note.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = note.png; sourceTree = "<group>"; };
+ 08F005FF0C2B888F00093576 /* prev.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = prev.png; sourceTree = "<group>"; };
+ 08F006000C2B888F00093576 /* tip.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = tip.png; sourceTree = "<group>"; };
+ 08F006010C2B888F00093576 /* toc-blank.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "toc-blank.png"; sourceTree = "<group>"; };
+ 08F006020C2B888F00093576 /* toc-minus.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "toc-minus.png"; sourceTree = "<group>"; };
+ 08F006030C2B888F00093576 /* toc-plus.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "toc-plus.png"; sourceTree = "<group>"; };
+ 08F006040C2B888F00093576 /* up.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = up.png; sourceTree = "<group>"; };
+ 08F006050C2B888F00093576 /* warning.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = warning.png; sourceTree = "<group>"; };
+ 08F006060C2B888F00093576 /* options.py */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.python; path = options.py; sourceTree = "<group>"; };
+ 08F006070C2B888F00093576 /* reference.css */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = reference.css; sourceTree = "<group>"; };
+ 08F006080C2B888F00093576 /* Jamfile.py */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.python; path = Jamfile.py; sourceTree = "<group>"; };
+ 08F006090C2B888F00093576 /* options.py */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.python; path = options.py; sourceTree = "<group>"; };
+ 08F0060B0C2B888F00093576 /* example.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = example.cpp; sourceTree = "<group>"; };
+ 08F0060C0C2B888F00093576 /* Jamfile */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.jam; path = Jamfile; sourceTree = "<group>"; };
+ 08F0060F0C2B888F00093576 /* Jamfile.py */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.python; path = Jamfile.py; sourceTree = "<group>"; };
+ 08F006100C2B888F00093576 /* test_nothing.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = test_nothing.cpp; sourceTree = "<group>"; };
+ 08F006110C2B888F00093576 /* test_nothing_n.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = test_nothing_n.cpp; sourceTree = "<group>"; };
+ 08F006120C2B888F00093576 /* LICENSE_1_0.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = LICENSE_1_0.txt; sourceTree = "<group>"; };
+ 08F006130C2B888F00093576 /* options.py */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.python; path = options.py; sourceTree = "<group>"; };
+ 08F006140C2B888F00093576 /* project-root.jam */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.jam; path = "project-root.jam"; sourceTree = "<group>"; };
+ 08F006150C2B888F00093576 /* sandbox.py */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.python; path = sandbox.py; sourceTree = "<group>"; };
+ 08F006160C2B890E00093576 /* project.pbxproj.py */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.python; name = project.pbxproj.py; path = $template_library$.xcodeproj/project.pbxproj.py; sourceTree = "<group>"; };
+ 08F062730C283EA9005301DA /* file_template.py */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.python; name = file_template.py; path = ../../../../../file_template.py; sourceTree = SOURCE_ROOT; };
+/* End PBXFileReference section */
+
+/* Begin PBXGroup section */
+ 0818EB840C26438D00DB816F /* test */ = {
+ isa = PBXGroup;
+ children = (
+ 0818EB850C26439C00DB816F /* test.py */,
+ );
+ name = test;
+ sourceTree = "<group>";
+ };
+ 083934EF0C23D6E300716EE7 = {
+ isa = PBXGroup;
+ children = (
+ 08F062730C283EA9005301DA /* file_template.py */,
+ 0818EB840C26438D00DB816F /* test */,
+ 0839351C0C23D9C700716EE7 /* doc */,
+ 08F005D90C2B888F00093576 /* sandbox */,
+ 08B512540C2CDC9C00E85405 /* simple_template */,
+ );
+ sourceTree = "<group>";
+ };
+ 0839351C0C23D9C700716EE7 /* doc */ = {
+ isa = PBXGroup;
+ children = (
+ 0839351D0C23D9D700716EE7 /* file_template.qbk */,
+ 0839351E0C23D9D700716EE7 /* Jamfile.v2 */,
+ 0839351F0C23D9D700716EE7 /* sandbox.qbk */,
+ 083935200C23D9D700716EE7 /* templates.qbk */,
+ );
+ name = doc;
+ sourceTree = "<group>";
+ };
+ 08B512540C2CDC9C00E85405 /* simple_template */ = {
+ isa = PBXGroup;
+ children = (
+ 08B512550C2CDC9C00E85405 /* $template_text$ */,
+ 08B512580C2CDC9C00E85405 /* simple_template.py */,
+ 08B512590C2CDC9C00E85405 /* xyz */,
+ );
+ name = simple_template;
+ path = ../../test/simple_template;
+ sourceTree = SOURCE_ROOT;
+ };
+ 08B512550C2CDC9C00E85405 /* $template_text$ */ = {
+ isa = PBXGroup;
+ children = (
+ 08B512560C2CDC9C00E85405 /* file.doc */,
+ 08B512570C2CDC9C00E85405 /* file.txt */,
+ );
+ path = $template_text$;
+ sourceTree = "<group>";
+ };
+ 08B512590C2CDC9C00E85405 /* xyz */ = {
+ isa = PBXGroup;
+ children = (
+ 08B5125A0C2CDC9C00E85405 /* file.xyz */,
+ );
+ path = xyz;
+ sourceTree = "<group>";
+ };
+ 08F005D90C2B888F00093576 /* sandbox */ = {
+ isa = PBXGroup;
+ children = (
+ 08F005DA0C2B888F00093576 /* $template_library$ */,
+ 08F006150C2B888F00093576 /* sandbox.py */,
+ );
+ name = sandbox;
+ path = ../../../../../sandbox;
+ sourceTree = SOURCE_ROOT;
+ };
+ 08F005DA0C2B888F00093576 /* $template_library$ */ = {
+ isa = PBXGroup;
+ children = (
+ 08F005DB0C2B888F00093576 /* boost */,
+ 08F005DF0C2B888F00093576 /* boost-build.jam */,
+ 08F005E00C2B888F00093576 /* Jamfile */,
+ 08F005E10C2B888F00093576 /* libs */,
+ 08F006120C2B888F00093576 /* LICENSE_1_0.txt */,
+ 08F006130C2B888F00093576 /* options.py */,
+ 08F006140C2B888F00093576 /* project-root.jam */,
+ );
+ path = $template_library$;
+ sourceTree = "<group>";
+ };
+ 08F005DB0C2B888F00093576 /* boost */ = {
+ isa = PBXGroup;
+ children = (
+ 08F005DC0C2B888F00093576 /* $template_library$ */,
+ 08F005DE0C2B888F00093576 /* $template_library$.hpp */,
+ );
+ path = boost;
+ sourceTree = "<group>";
+ };
+ 08F005DC0C2B888F00093576 /* $template_library$ */ = {
+ isa = PBXGroup;
+ children = (
+ 08F005DD0C2B888F00093576 /* $template_library$.hpp */,
+ );
+ path = $template_library$;
+ sourceTree = "<group>";
+ };
+ 08F005E10C2B888F00093576 /* libs */ = {
+ isa = PBXGroup;
+ children = (
+ 08F005E20C2B888F00093576 /* $template_library$ */,
+ );
+ path = libs;
+ sourceTree = "<group>";
+ };
+ 08F005E20C2B888F00093576 /* $template_library$ */ = {
+ isa = PBXGroup;
+ children = (
+ 08F005E30C2B888F00093576 /* build */,
+ 08F005F00C2B888F00093576 /* doc */,
+ 08F0060A0C2B888F00093576 /* example */,
+ 08F0060D0C2B888F00093576 /* src */,
+ 08F0060E0C2B888F00093576 /* test */,
+ );
+ path = $template_library$;
+ sourceTree = "<group>";
+ };
+ 08F005E30C2B888F00093576 /* build */ = {
+ isa = PBXGroup;
+ children = (
+ 08F005E40C2B888F00093576 /* vc8ide */,
+ 08F005EA0C2B888F00093576 /* vc8ide.py */,
+ 08F005EB0C2B888F00093576 /* xcodeide */,
+ 08F005EF0C2B888F00093576 /* xcodeide.py */,
+ );
+ path = build;
+ sourceTree = "<group>";
+ };
+ 08F005E40C2B888F00093576 /* vc8ide */ = {
+ isa = PBXGroup;
+ children = (
+ 08F005E50C2B888F00093576 /* $template_library$.sln */,
+ 08F005E60C2B888F00093576 /* build.vcproj.py */,
+ 08F005E70C2B888F00093576 /* doc.vcproj */,
+ 08F005E80C2B888F00093576 /* example.vcproj */,
+ 08F005E90C2B888F00093576 /* test.vcproj */,
+ );
+ path = vc8ide;
+ sourceTree = "<group>";
+ };
+ 08F005EB0C2B888F00093576 /* xcodeide */ = {
+ isa = PBXGroup;
+ children = (
+ 08DE94EA0C2C87B700E3D69A /* xcode_elements.py */,
+ 08F006160C2B890E00093576 /* project.pbxproj.py */,
+ );
+ path = xcodeide;
+ sourceTree = "<group>";
+ };
+ 08F005F00C2B888F00093576 /* doc */ = {
+ isa = PBXGroup;
+ children = (
+ 08F005F10C2B888F00093576 /* $template_library$.qbk.py */,
+ 08F005F20C2B888F00093576 /* dox */,
+ 08F005F40C2B888F00093576 /* html */,
+ 08F006080C2B888F00093576 /* Jamfile.py */,
+ 08F006090C2B888F00093576 /* options.py */,
+ );
+ path = doc;
+ sourceTree = "<group>";
+ };
+ 08F005F20C2B888F00093576 /* dox */ = {
+ isa = PBXGroup;
+ children = (
+ 08F005F30C2B888F00093576 /* $template_library$.hpp */,
+ );
+ path = dox;
+ sourceTree = "<group>";
+ };
+ 08F005F40C2B888F00093576 /* html */ = {
+ isa = PBXGroup;
+ children = (
+ 08F005F50C2B888F00093576 /* boostbook.css */,
+ 08F005F60C2B888F00093576 /* boostbook_doxygen.css */,
+ 08F005F70C2B888F00093576 /* images */,
+ 08F006060C2B888F00093576 /* options.py */,
+ 08F006070C2B888F00093576 /* reference.css */,
+ );
+ path = html;
+ sourceTree = "<group>";
+ };
+ 08F005F70C2B888F00093576 /* images */ = {
+ isa = PBXGroup;
+ children = (
+ 08F005F80C2B888F00093576 /* blank.png */,
+ 08F005F90C2B888F00093576 /* caution.png */,
+ 08F005FA0C2B888F00093576 /* draft.png */,
+ 08F005FB0C2B888F00093576 /* home.png */,
+ 08F005FC0C2B888F00093576 /* important.png */,
+ 08F005FD0C2B888F00093576 /* next.png */,
+ 08F005FE0C2B888F00093576 /* note.png */,
+ 08F005FF0C2B888F00093576 /* prev.png */,
+ 08F006000C2B888F00093576 /* tip.png */,
+ 08F006010C2B888F00093576 /* toc-blank.png */,
+ 08F006020C2B888F00093576 /* toc-minus.png */,
+ 08F006030C2B888F00093576 /* toc-plus.png */,
+ 08F006040C2B888F00093576 /* up.png */,
+ 08F006050C2B888F00093576 /* warning.png */,
+ );
+ path = images;
+ sourceTree = "<group>";
+ };
+ 08F0060A0C2B888F00093576 /* example */ = {
+ isa = PBXGroup;
+ children = (
+ 08F0060B0C2B888F00093576 /* example.cpp */,
+ 08F0060C0C2B888F00093576 /* Jamfile */,
+ );
+ path = example;
+ sourceTree = "<group>";
+ };
+ 08F0060D0C2B888F00093576 /* src */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ path = src;
+ sourceTree = "<group>";
+ };
+ 08F0060E0C2B888F00093576 /* test */ = {
+ isa = PBXGroup;
+ children = (
+ 08F0060F0C2B888F00093576 /* Jamfile.py */,
+ 08F006100C2B888F00093576 /* test_nothing.cpp */,
+ 08F006110C2B888F00093576 /* test_nothing_n.cpp */,
+ );
+ path = test;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXProject section */
+ 083934F10C23D6E300716EE7 /* Project object */ = {
+ isa = PBXProject;
+ buildConfigurationList = 083934F20C23D6E300716EE7 /* Build configuration list for PBXProject "file_template" */;
+ hasScannedForEncodings = 0;
+ mainGroup = 083934EF0C23D6E300716EE7;
+ projectDirPath = "";
+ targets = (
+ 083935070C23D71B00716EE7 /* doc */,
+ 0839350B0C23D72900716EE7 /* doc clean */,
+ 08EE8A6B0C278E07006DC0CE /* test */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 083935060C23D71B00716EE7 /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "cd ../../doc\nbjam --v2 --toolset=darwin release";
+ };
+ 0839350C0C23D72900716EE7 /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "cd ../../doc\nbjam --v2 --clean --toolset=darwin release";
+ };
+ 08EE8A6A0C278E07006DC0CE /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "cd ../../test\npython2.3 test.py";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ 083934F30C23D6E300716EE7 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ };
+ name = Debug;
+ };
+ 083934F40C23D6E300716EE7 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ };
+ name = Release;
+ };
+ 083935090C23D72900716EE7 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ PRODUCT_NAME = doc;
+ };
+ name = Debug;
+ };
+ 0839350A0C23D72900716EE7 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ GCC_ENABLE_FIX_AND_CONTINUE = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+ PRODUCT_NAME = doc;
+ ZERO_LINK = NO;
+ };
+ name = Release;
+ };
+ 0839350E0C23D72900716EE7 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ PRODUCT_NAME = doc;
+ };
+ name = Debug;
+ };
+ 0839350F0C23D72900716EE7 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ GCC_ENABLE_FIX_AND_CONTINUE = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+ PRODUCT_NAME = doc;
+ ZERO_LINK = NO;
+ };
+ name = Release;
+ };
+ 08EE8A6E0C278E3D006DC0CE /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ PRODUCT_NAME = test;
+ };
+ name = Debug;
+ };
+ 08EE8A6F0C278E3D006DC0CE /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ GCC_ENABLE_FIX_AND_CONTINUE = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+ PRODUCT_NAME = test;
+ ZERO_LINK = NO;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 083934F20C23D6E300716EE7 /* Build configuration list for PBXProject "file_template" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 083934F30C23D6E300716EE7 /* Debug */,
+ 083934F40C23D6E300716EE7 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 083935080C23D72900716EE7 /* Build configuration list for PBXAggregateTarget "doc" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 083935090C23D72900716EE7 /* Debug */,
+ 0839350A0C23D72900716EE7 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 0839350D0C23D72900716EE7 /* Build configuration list for PBXAggregateTarget "doc clean" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 0839350E0C23D72900716EE7 /* Debug */,
+ 0839350F0C23D72900716EE7 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 08EE8A6D0C278E3D006DC0CE /* Build configuration list for PBXAggregateTarget "test" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 08EE8A6E0C278E3D006DC0CE /* Debug */,
+ 08EE8A6F0C278E3D006DC0CE /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 083934F10C23D6E300716EE7 /* Project object */;
+}
Modified: sandbox/template_under_construction/file_template/libs/file_template/doc/file_template.qbk
==============================================================================
--- sandbox/template_under_construction/file_template/libs/file_template/doc/file_template.qbk (original)
+++ sandbox/template_under_construction/file_template/libs/file_template/doc/file_template.qbk 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -1,6 +1,6 @@
[library FileTemplate
[quickbook 1.4]
- [version 0.91]
+ [version 0.93]
[authors [Rajko, Stjepan]]
[copyright 2007 Stjepan Rajko]
[purpose generates file and directory trees from templates]
@@ -11,25 +11,37 @@
]
]
-[def template_object_ref [link filetemplate.templates.reference.template template object]]
-[def results_object_ref [link filetemplate.templates.reference.results results object]]
-[def python_file_ref [link filetemplate.templates.phases.processing.python_files
+[def __python__ [@http://python.org python]]
+[def __uuid_module__ [@http://cheeseshop.python.org/pypi/uuid UUID module]]
+
+[def __sandbox_template__ [link filetemplate.sandbox sandbox template]]
+[def __sandbox_use__ [link filetemplate.sandbox.use sandbox use cases]]
+[def __sandbox_option__ [link filetemplate.sandbox.reference.options sandbox option]]
+[def __sandbox_options__ [link filetemplate.sandbox.reference.options sandbox options]]
+[def __sandbox_substitutions__ [link filetemplate.sandbox.reference.substitutions sandbox substitution templates]]
+[def __sandbox_tools__ [link filetemplate.sandbox.tools configuring and download]]
+
+[def __templates__ [link filetemplate.templates templates]]
+[def __template_object__ [link filetemplate.templates.reference.template template object]]
+[def __results_object__ [link filetemplate.templates.reference.results results object]]
+[def __python_file__ [link filetemplate.templates.phases.processing.python_files
python generated file]]
-[def python_files_ref [link filetemplate.templates.phases.processing.python_files
+[def __python_files__ [link filetemplate.templates.phases.processing.python_files
python generated files]]
-[def python_script_ref [link filetemplate.templates.phases.examination.template_script template script]]
-[def python_scripts_ref [link filetemplate.templates.phases.examination.template_script template scripts]]
-[def sandbox_template_ref [link filetemplate.sandbox sandbox template]]
-[def template_option_ref [link filetemplate.templates.options FileTemplate option]]
-[def template_options_ref [link filetemplate.templates.options FileTemplate options]]
-[def sandbox_option_ref [link filetemplate.sandbox.options sandbox option]]
-[def sandbox_options_ref [link filetemplate.sandbox.options sandbox options]]
-[def substitution_template_ref [link filetemplate.templates.substitutions substitution template]]
-[def substitution_templates_ref [link filetemplate.templates.substitutions substitution templates]]
-[def invocation_phase_ref [link filetemplate.templates.phases.invocation invocation phase]]
-[def template_merge_ref [link filetemplate.templates.merges template merge]]
-[def template_merges_ref [link filetemplate.templates.merges template merges]]
-[def command_line_ref [link filetemplate.templates.phases.invocation.command_line command line]]
+[def __python_script__ [link filetemplate.templates.phases.examination.template_script template script]]
+[def __python_scripts__ [link filetemplate.templates.phases.examination.template_script template scripts]]
+[def __global_option__ [link filetemplate.templates.reference.options global option]]
+[def __global_options__ [link filetemplate.templates.reference.options global options]]
+[def __FileTemplate_option__ [link filetemplate.templates.reference.options FileTemplate option]]
+[def __FileTemplate_options__ [link filetemplate.templates.reference.options FileTemplate options]]
+[def __template_option__ [link filetemplate.templates.reference.options template option]]
+[def __template_options__ [link filetemplate.templates.reference.options template options]]
+[def __substitution_template__ [link filetemplate.templates.reference.substitutions substitution template]]
+[def __substitution_templates__ [link filetemplate.templates.reference.substitutions substitution templates]]
+[def __invocation_phase__ [link filetemplate.templates.phases.invocation invocation phase]]
+[def __template_merge__ [link filetemplate.templates.merges template merge]]
+[def __template_merges__ [link filetemplate.templates.merges template merges]]
+[def __command_line__ [link filetemplate.templates.phases.invocation.command_line command line]]
[python]
FileTemplate is a template processor for files and directories. This could be useful in the
@@ -37,10 +49,21 @@
* There is a generic starting point for a certain type of project. The user can specify
information to fine-tune their particular starting point.
-* The user would like to integrate their existing files, and integrate them into a starting
-point for a new project. The user can perform a template_merge_ref between the template
-for the new project, and the existing files (acting as a second template).
+* The user would like to integrate their existing files into a new project for which there is a template.
+The user can perform a __template_merge__ between the template
+for the new project, and the existing files (acting as a second template). If the template is implemented
+appropriately, it will integrate the user's existing files.
+
+FileTemplate is being developed to help constructing new projects for the Boost Sandbox.
+The __sandbox_template__, which is used for this purpose,
+is currently the only template developed using FileTemplate.
+
+[* See the __sandbox_use__ documentation
+for some examples of how to use the __sandbox_template__.]
+[note FileTemplate is not an official part or tool of the Boost libraries.]
+
+If you are interested in creating a template for a setting other than the Boost sandbox,
FileTemplate provides a basic
framework which makes producing templated file/directory trees relatively easy.
The philosophy behind the development of the framework is that simple things should be simple,
@@ -48,61 +71,7 @@
Python, and allowing template-specific python scripts to be placed in a template, FileTemplate
provides a reasonable degree of flexibility.
-FileTemplate is being developed for construction of seed projects for the Boost Sandbox.
-The sandbox_template_ref, which is used for this purpose,
-is currently the only template developed using FileTemplate.
-
-[note FileTemplate is in no way an official part or tool of the Boost libraries.]
-
-Here are some examples of what you can do with FileTemplate, and how you would
-go about doing it:
-
-[table Examples of things you can do with the sandbox template
- [[To accomplish this:][You can do this:]]
- [
- [Use the =sandbox= template to start a new Boost sandbox library (you will be prompted for whatever the
- template processor needs to know)]
- [Run: [^python make_template.py sandbox]
-
- =sandbox= specifies the root directory of the template.]
- ][
- [Use the =sandbox= template and specify everything from the command line]
- [Run: [^python make_template.py destination\=/boost_sandbox sandbox library\=my_new_library "author\=John Doe"]
-
- =destination= is a global template_option_ref, and specifies where the result is constructed.
- =library= and =author= are sandbox_options_ref.]
- ][
- [Tell the =sandbox= template to also construct MSVC 8.0 IDE projects (which
- provide access to files and =bjam= builds)]
- [Run: [^ python make_template.py sandbox vc8ide\=y]]
- ][
- [Combine the =sandbox= template with your existing code (the created documentation build files and MSVC IDE projects will include your existing files)]
- [Run: [^ python make_template.py sandbox library\=boostified_library vc8ide=y /old_library/include/old_library into\=boostified_library/boost/boostified_library]
-
- Here, the template processor is performing a template_merge_ref.
- The existing source tree =/old_library/include/old_library= is used as an additional template.
- It is given the option =into\=boostified_library/boost/boostified_library=, which specifies where the content
- should go in the built result.]
- ]
-]
-
-[table Examples of things you can do if you're designing your own template
- [[To accomplish this:][You can do this:]]
- [
- [Design a template =simple= which is meant to be copied verbatim]
- [Create a directory called =simple=, and place the desired files and directories inside.]
- ][
- [Design a template in which =$template_whatever$= inside template files is substituted into a user-specified value]
- [Place inside the template directory a python_script_ref which uses the template_object_ref to get the user-specified value and set up the substitution.]
- ][
- [Create a template for file =random.txt= whose content requires more than simple substitutions]
- [In place of =random.txt= create a python_file_ref =random.txt.py= which constructs the content and submits it to the template_object_ref.]
- ]
-]
-
-* [link filetemplate.sandbox Learn more about using the sandbox template].
-* [link filetemplate.templates
- Learn more about the FileTemplate system, using and and developing templates].
+[* See the __templates__ documentation for more information about creating and customizing templates.]
[section:sandbox Boost sandbox template]
@@ -118,7 +87,7 @@
[section:acknowledgements Acknowledgements]
-Thanks for Rene Rivera for his suggestions on the development of FileTemplate.
+Thanks for Rene Rivera and Stefan Seefeld for their suggestions on the development of FileTemplate.
[endsect]
Modified: sandbox/template_under_construction/file_template/libs/file_template/doc/sandbox.qbk
==============================================================================
--- sandbox/template_under_construction/file_template/libs/file_template/doc/sandbox.qbk (original)
+++ sandbox/template_under_construction/file_template/libs/file_template/doc/sandbox.qbk 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -3,32 +3,32 @@
* a directory tree for the library
* commonly used source, documentation and build files
-* optionally, projects for several IDEs (currently MSVC, with Xcode in the works)
+* optionally, projects for several IDEs (currently, Xcode and MSVC)
The content in the generated project contains a fill-in-the-blanks documentation,
and an implementation of a small class.
-If you'd like some more information,
-please read the [link filetemplate.sandbox.start Getting Started],
-[link filetemplate.sandbox.options Options], and
-[link filetemplate.sandbox.substitutions Substitution templates] sections.
+If you need to download the tools required to build everything in the created sandbox project,
+and/or you need to download the Boost sandbox, see the __sandbox_tools__ section.
+
+If you'd like some more information using the __sandbox_template__, please read the documentation
+on __sandbox_use__.
If you'd just like to try the sandbox template, go to the Boost subversion and type
=sandbox/template-under-construction= directory and execute:
[pre
- >python make_template.py sandbox
+ python file_template.py sandbox
]
-The script will ask you some questions and create a seed project with the
+The script will ask you some questions and create a project with the
information you specified.
-
[caution The sandbox template is in very early stages of development. At this point, it is likely
[*not] a good starting point for a boost sandbox project. It has not been verified that
the projects it generates adhere to Boost guidelines.]
-[section:start Getting Started]
+[section:tools Configuring the tools and checking out the Boost sandbox]
[important Some parts of the generated projects might not work with versions of Boost older
than CVS HEAD.]
@@ -47,19 +47,230 @@
[@http://www.boost-consulting.com/boost/tools/quickbook/doc/html/quickbook/install.html
Quickbook documentation].
The projects generated by file_template rely on xsltproc,
-DocBook XSL and DTD distributions, and Doxygen. The sandbox template does not currently use
+DocBook XSL and DTD distributions, and (optionally) Doxygen. The sandbox template does not currently use
Apache FOP.
[caution Make sure you download docbook-xsl and not docbook5-xsl.]
-Finally, you will need access to the sandbox in the
+Also, you will need access to the sandbox in the
[@http://svn.boost.org/trac/boost/wiki/BoostSubversion Boost subversion]. Follow
the directions in the [@http://svn.boost.org/trac/boost/wiki/BoostSubversion Boost subversion wiki].
-Once you have all this in place, go to the template-under-construction folder of the sandbox.
-Run the make_template.py script, and follow the instructions.
+Finally, you will need a __python__ interpreter. if you don't have one already. FileTemplate
+is compatibile with __python__ version 2.3, but the __sandbox_template__ Xcode and MSVC IDE project generators
+require the __uuid_module__ which started shipping only with version 2.5 (although it works with 2.3).
+
+Once you have all this in place, you can go to the template-under-construction folder of the sandbox,
+and try the FileTemplate script. The __sandbox_use__ section provides some common examples.
+
+[endsect]
+
+[section:use Use Cases]
+
+The following examples illustrate a few tasks you can achieve using the sandbox template by executing
+the `file_template.py` script from the `template-under-construction` directory of the
+[link filetemplate.sandbox.tools Boost Sandbox].
+
+[*To start a new sandbox project (the script will ask you for any required information):]
+
+ python file_template.py sandbox
+
+=sandbox= specifies the root directory of the template.
+
+[*To start a new sandbox project and provide the required information in the __command_line__:]
+
+[pre
+ python file_template.py sandbox library=my_library "authors=John J. Doe"
+]
+
+=library= and =authors= are __sandbox_options__.
+
+[tip To include an author with multiple last names, use the =_= character instead of spaces (e.g.,
+"authors=Jan De_Man")]
+
+[*To place the result in a particular destination directory:]
+
+[pre
+ python file_template.py destination=/boost_sandbox sandbox
+]
+
+=destination= is a __global_option__, and specifies where the result is constructed.
+
+[warning The following use cases are works in progress, and will produce half-baked results. In,
+particular, generated Xcode IDE projects should contain the correct Targets to invoke bjam on
+docs, tests, and examples, but they will not reference any of the source files in the project.
+Also, any existing code integrated into the template (last listed use case) will be intelligently
+recognized by only some parts of the __sandbox_template__.]
+
+[*To start a new sandbox project with the optional Xcode and MSVC IDE projects and a non-default documentation
+format:]
+
+[pre
+ python file_template.py sandbox library=file_template "authors=Stjepan Rajko" docs=qb xcodeide=y vc8ide=y
+]
+
+=docs=, =xcodeide= and =vc8ide= are __sandbox_options__.
-You can also use the command_line_ref line to specify the options.
+[*To integrate existing code into a new sandbox project:]
+
+[pre
+ python file_template.py sandbox library=my_library "authors\=John Doe,Jane Dough" fignore\=.hpp fignore\=.cpp
+ (...) /path/to/existing/my_library into\=my_library
+]
+
+=fignore= is a __template_option__ which will cause the processor to ignore any files in the __sandbox_template__ with the specified suffix.
+=into= specifies that the existing my_library code should go into the my_library directory of the destination tree.
+
+This assumes that any content under =/path/to/existing/my_library has a structure compatibile with the __sandbox_template__, i.e. something like:
+
+[pre
+ /boost
+ /my_library
+ /libs
+ /my_library
+ /doc
+ /test
+ ...
+]
+
+If =my_library= was the only thing inside =/path/to/existing=, we chould just use =/path/to/existing= as the template, and omit the =into=
+__template_option__.
+
+[heading For more information...]
+
+* __sandbox_options__ reference
+* __sandbox_substitutions__ reference
+* [link filetemplate.sandbox.outside_docs links to helpful outside documentation]
+
+[heading Output of a sample session]
+
+[pre
+
+python.exe file_template.py [* sandbox]
+/-------------------------------------------
+| Processing template sandbox with options:
++---
+|| {'ignore': set(\[\]), 'template': 'sandbox'}
+|\/-------------------------------------------
+|| Examining the template project tree...
+|+---
+|||
+||\/-------------------------------------------
+||| Welcome to the Boost Sandbox template.
+||+---
+||\/-------------------------------------------
+||| [* Enter value for option library:]
+||+---
+||| [* (all lowercase, use underscores to separate words, e.g. "my_library"): my_library]
+||\/-------------------------------------------
+||| [* Enter value for option authors:
+||+---
+||| (comma separated, no spaces outside names, e.g., "My Name,Notmy R. Name": Stjepan Rajko]
+||| $template_library$
+||| $template_library$\/boost
+||| $template_library$\/boost\/$template_library$
+||| $template_library$\/libs
+||| $template_library$\/libs\/$template_library$
+||| $template_library$\/libs\/$template_library$\/build
+||| $template_library$\/libs\/$template_library$\/test
+||| $template_library$\/libs\/$template_library$\/doc
+||| $template_library$\/libs\/$template_library$\/doc\html
+||| $template_library$\/libs\/$template_library$\/doc\/html\/images
+||| $template_library$\/libs\/$template_library$\/src
+||| $template_library$\/libs\/$template_library$\/example
+\/-------------------------------------------
+| Preparing destination tree...
++---
+|\/-------------------------------------------
+|| Directories:
+|+---
+|| my_library
+|| my_library\/boost
+|| my_library\/libs
+|| my_library\/boost\/my_library
+|| my_library\/libs\/my_library
+|| my_library\/libs\/my_library\/build
+|| my_library\/libs\/my_library\/test
+|| my_library\/libs\/my_library\/doc
+|| my_library\/libs\/my_library\/src
+|| my_library\/libs\/my_library\/example
+|| my_library\/libs\/my_library\/doc\/html
+|| my_library\/libs\/my_library\/doc\/html\/images
+|\/-------------------------------------------
+|| Files:
+|+---
+|| my_library\/LICENSE_1_0.txt
+|| my_library\/boost-build.jam
+|| my_library\/Jamfile.v2
+|| my_library\/project-root.jam
+|| my_library\/boost\/my_library.hpp
+|| my_library\/boost\/my_library\/my_library.hpp
+|| my_library\/libs\/my_library\/test\/test.cpp
+|| my_library\/libs\/my_library\/test\/Jamfile.v2
+|| my_library\/libs\/my_library\/doc\/html\/reference.css
+|| my_library\/libs\/my_library\/doc\/html\/boostbook.css
+|| my_library\/libs\/my_library\/doc\/html\/images\/prev.png
+|| my_library\/libs\/my_library\/doc\/html\/images\/tip.png
+|| my_library\/libs\/my_library\/doc\/html\/images\/important.png
+|| my_library\/libs\/my_library\/doc\/html\/images\/next.png
+|| my_library\/libs\/my_library\/doc\/html\/images\/toc-minus.png
+|| my_library\/libs\/my_library\/doc\/html\/images\/draft.png
+|| my_library\/libs\/my_library\/doc\/html\/images\/caution.png
+|| my_library\/libs\/my_library\/doc\/html\/images\/Thumbs.db
+|| my_library\/libs\/my_library\/doc\/html\/images\/up.png
+|| my_library\/libs\/my_library\/doc\/html\/images\/note.png
+|| my_library\/libs\/my_library\/doc\/html\/images\/warning.png
+|| my_library\/libs\/my_library\/doc\/html\/images\/toc-plus.png
+|| my_library\/libs\/my_library\/doc\/html\/images\/blank.png
+|| my_library\/libs\/my_library\/doc\/html\/images\/home.png
+|| my_library\/libs\/my_library\/doc\/html\/images\/toc-blank.png
+|| my_library\/libs\/my_library\/example\/example.cpp
+|| my_library\/libs\/my_library\/example\/Jamfile.v2
+|| my_library\/libs\/my_library\/doc\/my_library.qbk
+|| my_library\/libs\/my_library\/doc\/Jamfile.v2
+\/-------------------------------------------
+| Creating file tree from template...
++---
+|/-------------------------------------------
+|| Python files...
+|+---
+||| .\/my_library\/libs\/my_library\/doc\/my_library.qbk
+||| .\/my_library\/libs\/my_library\/doc\/Jamfile.v2
+|\/-------------------------------------------
+|| Files...
+|+---
+||| .\/my_library\/LICENSE_1_0.txt
+||| .\/my_library\/boost-build.jam
+||| .\/my_library\/Jamfile.v2
+||| .\/my_library\/project-root.jam
+||| .\/my_library\/boost\/my_library.hpp
+||| .\/my_library\/boost\/my_library\/my_library.hpp
+||| .\/my_library\/libs\/my_library\/test\/test.cpp
+||| .\/my_library\/libs\/my_library\/test\/Jamfile.v2
+||| .\/my_library\/libs\/my_library\/doc\/html\/reference.css
+||| .\/my_library\/libs\/my_library\/doc\/html\/boostbook.css
+||| .\/my_library\/libs\/my_library\/doc\/html\/images\/prev.png
+||| .\/my_library\/libs\/my_library\/doc\/html\/images\/tip.png
+||| .\/my_library\/libs\/my_library\/doc\/html\/images\/important.png
+||| .\/my_library\/libs\/my_library\/doc\/html\/images\/next.png
+||| .\/my_library\/libs\/my_library\/doc\/html\/images\/toc-minus.png
+||| .\/my_library\/libs\/my_library\/doc\/html\/images\/draft.png
+||| .\/my_library\/libs\/my_library\/doc\/html\/images\/caution.png
+||| .\/my_library\/libs\/my_library\/doc\/html\/images\/Thumbs.db
+||| .\/my_library\/libs\/my_library\/doc\/html\/images\/up.png
+||| .\/my_library\/libs\/my_library\/doc\/html\/images\/note.png
+||| .\/my_library\/libs\/my_library\/doc\/html\/images\/warning.png
+||| .\/my_library\/libs\/my_library\/doc\/html\/images\/toc-plus.png
+||| .\/my_library\/libs\/my_library\/doc\/html\/images\/blank.png
+||| .\/my_library\/libs\/my_library\/doc\/html\/images\/home.png
+||| .\/my_library\/libs\/my_library\/doc\/html\/images\/toc-blank.png
+||| .\/my_library\/libs\/my_library\/example\/example.cpp
+||| .\/my_library\/libs\/my_library\/example\/Jamfile.v2
+]
+
+[endsect]
+
+[section:outside_docs Links to helpful outside documentation]
Some other information that might come in handy as you start working on your project:
@@ -69,11 +280,13 @@
- if you'd like to use Doxygen.
* [@http://www.boost-consulting.com/boost/tools/quickbook/doc/html/index.html Quickbook reference]
- syntax usable in quickbok =.qbk= documentation files.
-* [@http://docbook.sourceforge.net/release/xsl/current/doc/ Docbook XSL reference] - among other things, this specifies
- parameters used in Jamfiles to customize the documentation generated through Quickbook/Docbook.
+* [@http://docbook.sourceforge.net/release/xsl/current/doc/ Docbook XSL reference] - among other things, this explains
+ some of the parameters used in Jamfiles to customize the documentation generated through Quickbook/Docbook.
[endsect]
+[section:reference Reference]
+
[section:options Options]
The sandbox template allows the following options to be specified:
@@ -81,19 +294,14 @@
[table Options used by the sandbox template
[[option][desctiption][default value]]
[[library][Name of the library]]
- [[author][Comma separated list of authors]]
- [[docs][[link filetemplate.sandbox.documentation Documentation format] - one of qb, qb+doxyref, qb+doxy][qb+doxyref]]
+ [[authors][Comma separated list of authors]]
+ [[docs][[link filetemplate.sandbox.reference.documentation Documentation format] - one of qb, qb+doxyref, qb+doxy][qb+doxyref]]
+ [[xcodeide][Specifies whether the IDE projects for Xcode should be generated][n]]
[[vc8ide][Specifies whether the IDE projects for MSVC 8.0 should be generated][n]]
]
-For example, this project could have been started using the following command line:
-
-[pre
- python make_template.py sandbox library=file_template "author=Stjepan Rajko" docs=qb vc8ide=y
-]
-
For more information about template options, and for other options provided
-by FileTemplate, see the template_options_ref documentation.
+by FileTemplate, see the __template_options__ documentation.
[endsect]
@@ -112,11 +320,11 @@
[[$template_LibraryConcat$][Concatenated, capitalized LibraryName][general]]
[[$template\_LIBRARY$][Uppercase LIBRARY_NAME][general]]
[[$template\_Boost\_Library$][The full Boost.Library Name name of the library][general]]
- [[$template\_python\_copyright$][Python-style commented copyright block][.jam,.v2]]
- [[$template\_cpp\_copyright$][C++-style commented copyright block][.hpp, .cpp]]
+ [[$template\_copyright$][Python-style commented copyright block][Jamfile,.jam,.v2,.qbk,.py]]
+ [[$template\_copyright$][C++-style commented copyright block][.hpp, .cpp]]
[[$template\_qbk\_copyright$][Copyright block with quickbook-style link][.qbk]]
- [[$template\_author\_reversed$][Bracketed list of authors, last name first][general]]
- [[$template\_author$][list of authors, as specified by the user][general]]
+ [[$template\_authors\_reversed$][Bracketed list of authors, last name first][general]]
+ [[$template\_authors$][list of authors, as specified by the user][general]]
[[$template\_year$][Current year][general]]
]
@@ -126,7 +334,7 @@
The sandbox template supports multiple documentation formats, specified
through the =docs= option. You can use:
-* =qb=: Quickbook / docbook documentation only
+* =qb=: Quickbook / docbook documentation only.
* =qb+doxyref=: Quickbook / docbook documentation with a
reference section generated by Doxygen (default).
* =qb+doxy=: Quickbook / docbook documentation with a link to the
@@ -139,22 +347,17 @@
access to all documentation generated by Doxygen (main and
related pages, todo and bug lists, modules...), and not just a subset of the reference. At this
moment, using this option generates two bodies of documentation which are not well connected
-visually and navigationally. You should probably *not* use it]
+visually and navigationally. You should probably *not* use it.]
[endsect]
+[endsect][/reference]
[section:changes Proposed Changes]
-* the =author= option and template substitutions should be changed to =authors= to match the
-quickbook syntax
-
* In the MSVC projects, the Rebuild action is mapped to a =bjam -a= invocation. This causes
all projects required to be rebuilt, and might not be the most common use case (i.e., if
you want to rebuild the documentation, you most likely don't want to rebuild quickbook).
It might be better to perform a clean followed by a build. However, this has the downside
of not being to be able to access =bjam -a= from the IDE.
-* Since the template processor now supports file-specific substitution templates,
- most of the copyright templates should just be called $template\_copyright$.
-
[endsect]
Modified: sandbox/template_under_construction/file_template/libs/file_template/doc/templates.qbk
==============================================================================
--- sandbox/template_under_construction/file_template/libs/file_template/doc/templates.qbk (original)
+++ sandbox/template_under_construction/file_template/libs/file_template/doc/templates.qbk 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -8,8 +8,8 @@
[link filetemplate.templates.phases processing phases] documentation.
To learn about creating new templates or extending existing templates,
-you should also read about template_options_ref and
-substitution_templates_ref.
+you should also read about __template_options__ and
+__substitution_templates__.
[section:phases Processing phases]
@@ -17,44 +17,45 @@
[section:command_line Command line]
-The template processor begins by processing the command line for template_options_ref.
+The template processor begins by processing the command line for __template_options__.
The options are specified via [~option=value] arguments. In simple cases, such
as when using only one template, the ordering of the command line arguments should not
affect the output. However, when multiple templates are used symoultaneously for a
-template_merge_ref, the order matters. The order is as follows.
+__template_merge__, the order matters. The order is as follows.
-# Global template_options_ref can be specified at any point, but are recommended to be
+# __global_options__ can be specified at any point, but are recommended to be
placed at the beginning for consistency.
-# template_options_ref that should be applied to all templates are specified before any
+# __template_options__ that should be applied to all templates are specified before any
template is listed.
-# template_options_ref that should be applied to an individual template only should be
+# __template_options__ that should be applied to an individual template only should be
specified after listing the template (and before the next template is listed).
[tip The template can be specified without explicitly using =template\==. E.g., you can run
-[^ python make_template.py sandbox] instead of [^ python make_template.py template=sandbox]]
+[^ python file_template.py sandbox] instead of [^ python file_template.py template=sandbox]]
The following examples illustrates this structure:
[table Command line structure examples:
[[invocation][global options][options for all templates][first template][second template]]
- [[=python make_template.py=][][][sandbox][]]
+ [[=python file_template.py=][][][sandbox][]]
- [[=python make_template.py=][[^ destination=/boost_sandbox]]
+ [[=python file_template.py=][[^ destination=/boost_sandbox]]
[]
[[^ sandbox library=boostified_library vc8ide\=y ignore\=$template_library$/boost]]
[ /old_library/include/old_library into\=boostified_library/boost/boostified_library]]
]
-Some options, such as =ignore=, can be specified multiple times.
+Some __template_options__, such as =ignore= and =fignore=, can be specified multiple times
+for the same template.
[endsect]
After processing the command line, or prompting the user if necessary, the template
processor will initialize
-each template_object_ref (which processes the template and can be used by any in-template
-python_script_ref to customize the behavior of the template)
-and the global template_options_ref.
+each __template_object__ (which processes the template and can be used by any in-template
+__python_script__ to customize the behavior of the template)
+and the global __template_options__.
The template processor will then
[link filetemplate.templates.phases.examination examine the template tree].
@@ -71,7 +72,7 @@
[section:template_script Template scripts]
To customize what information is to be copied, and to specify additional
-customization possibilites (e.g., via substitution_templates_ref),
+customization possibilites (e.g., via __substitution_templates__),
template scripts may be inserted in the template tree.
Template scripts are python files which begin with the following text on their first line:
@@ -79,7 +80,7 @@
# template script
Every script found during the transversal will be executed. The script can
-interact with the template processor through the template_object_ref.
+interact with the template processor through the __template_object__.
[endsect]
@@ -93,8 +94,8 @@
A file for which no specific substitution templates are specified will be copied verbatim.
[h4 Processed file content]
-A file for which at least one specific substitution_template_ref is specified will be processed
-for global substitution_templates_ref and specific substitution_templates_ref.
+A file for which at least one specific __substitution_template__ is specified will be processed
+for both global __substitution_templates__ and specific __substitution_templates__.
[section:python_file Python generated files]
A file of the name /filename/=.py= can be used to generate the file /filename/. To do so,
@@ -103,7 +104,8 @@
# template file
When the script generates the content, it supplies it to the template processor via the
-`template.submit_content(content)` command (see the template_object_ref reference).
+`template.submit_content(content)` or `template.append_content(content)` commands
+(see the __template_object__ reference).
[endsect]
@@ -111,6 +113,18 @@
[endsect]
+[section:merges Template merges]
+
+FileTemplate can be used to merge results created by several templates. If a template uses
+the __results_object__ to customize its output based on files created by all processed templates,
+this can be used to seamlessly integrate additional files in the template results.
+
+The __sandbox_template__ uses this to allow additional files (e.g., existing source code) to be
+integrated in the newly created Boost sandbox library project.
+
+[endsect]
+
+[section:reference Reference]
[section:options Options]
Options are used to fine-tune the behavior of the FileTemplate template processor as well
@@ -129,7 +143,7 @@
[h4 Template options]
/Template options/ can be used to specify how a particular template is processed.
-Templates may use additional, template-specific options, as is the case with sandbox_options_ref.
+Templates may use additional, template-specific options, as is the case with __sandbox_options__.
[table Template options
[[option][desctiption][valid values][default value]]
@@ -138,142 +152,20 @@
[[into][Determines where the output of the template will be placed inside the resulting tree]
[valid directoy in resulting tree][root of the resulting tree]]
- [[ignore][Ignores a directory of the source template tree][directory in source template tree]
+ [[ignore][Ignores a file or directory of the source template tree][file or directory in source template tree]
[]]
+ [[fignore][Ignores all files in the source template tree that have the specified suffix][file suffix]
+ []]
+
[/ [[erase][Determines whether the template processor should erase the destination
- directory tree if it already exists][y/n]]]
+ directory tree if it already exists][y/n]]]
]
-Options can be specified using the command line. See the invocation_phase_ref reference
+Options can be specified using the command line. See the __invocation_phase__ reference
for more information. If an option
is not specified in the command line, and it has no default value, the user will be prompted for the value.
-This is the output of a sample session:
-
-[pre
-
-python.exe make_template.py [* sandbox]
-/-------------------------------------------
-| Processing template sandbox with options:
-+---
-|| {'ignore': set(\[\]), 'template': 'sandbox'}
-|\/-------------------------------------------
-|| Examining the template project tree...
-|+---
-|||
-||\/-------------------------------------------
-||| Welcome to the Boost Sandbox template.
-||+---
-||\/-------------------------------------------
-||| [* Enter value for option library:]
-||+---
-||| [* (all lowercase, use underscores to separate words, e.g. "my_library"): my_library]
-||\/-------------------------------------------
-||| [* Enter value for option author:
-||+---
-||| (comma separated, no spaces outside names, e.g., "My Name,Notmy R. Name": Stjepan Rajko]
-||| $template_library$
-||| $template_library$\/boost
-||| $template_library$\/boost\/$template_library$
-||| $template_library$\/libs
-||| $template_library$\/libs\/$template_library$
-||| $template_library$\/libs\/$template_library$\/build
-||| $template_library$\/libs\/$template_library$\/test
-||| $template_library$\/libs\/$template_library$\/doc
-||| $template_library$\/libs\/$template_library$\/doc\html
-||| $template_library$\/libs\/$template_library$\/doc\/html\/images
-||| $template_library$\/libs\/$template_library$\/src
-||| $template_library$\/libs\/$template_library$\/example
-\/-------------------------------------------
-| Preparing destination tree...
-+---
-|\/-------------------------------------------
-|| Directories:
-|+---
-|| my_library
-|| my_library\/boost
-|| my_library\/libs
-|| my_library\/boost\/my_library
-|| my_library\/libs\/my_library
-|| my_library\/libs\/my_library\/build
-|| my_library\/libs\/my_library\/test
-|| my_library\/libs\/my_library\/doc
-|| my_library\/libs\/my_library\/src
-|| my_library\/libs\/my_library\/example
-|| my_library\/libs\/my_library\/doc\/html
-|| my_library\/libs\/my_library\/doc\/html\/images
-|\/-------------------------------------------
-|| Files:
-|+---
-|| my_library\/LICENSE_1_0.txt
-|| my_library\/boost-build.jam
-|| my_library\/Jamfile.v2
-|| my_library\/project-root.jam
-|| my_library\/boost\/my_library.hpp
-|| my_library\/boost\/my_library\/my_library.hpp
-|| my_library\/libs\/my_library\/test\/test.cpp
-|| my_library\/libs\/my_library\/test\/Jamfile.v2
-|| my_library\/libs\/my_library\/doc\/html\/reference.css
-|| my_library\/libs\/my_library\/doc\/html\/boostbook.css
-|| my_library\/libs\/my_library\/doc\/html\/images\/prev.png
-|| my_library\/libs\/my_library\/doc\/html\/images\/tip.png
-|| my_library\/libs\/my_library\/doc\/html\/images\/important.png
-|| my_library\/libs\/my_library\/doc\/html\/images\/next.png
-|| my_library\/libs\/my_library\/doc\/html\/images\/toc-minus.png
-|| my_library\/libs\/my_library\/doc\/html\/images\/draft.png
-|| my_library\/libs\/my_library\/doc\/html\/images\/caution.png
-|| my_library\/libs\/my_library\/doc\/html\/images\/Thumbs.db
-|| my_library\/libs\/my_library\/doc\/html\/images\/up.png
-|| my_library\/libs\/my_library\/doc\/html\/images\/note.png
-|| my_library\/libs\/my_library\/doc\/html\/images\/warning.png
-|| my_library\/libs\/my_library\/doc\/html\/images\/toc-plus.png
-|| my_library\/libs\/my_library\/doc\/html\/images\/blank.png
-|| my_library\/libs\/my_library\/doc\/html\/images\/home.png
-|| my_library\/libs\/my_library\/doc\/html\/images\/toc-blank.png
-|| my_library\/libs\/my_library\/example\/example.cpp
-|| my_library\/libs\/my_library\/example\/Jamfile.v2
-|| my_library\/libs\/my_library\/doc\/my_library.qbk
-|| my_library\/libs\/my_library\/doc\/Jamfile.v2
-\/-------------------------------------------
-| Creating file tree from template...
-+---
-|/-------------------------------------------
-|| Python files...
-|+---
-||| .\/my_library\/libs\/my_library\/doc\/my_library.qbk
-||| .\/my_library\/libs\/my_library\/doc\/Jamfile.v2
-|\/-------------------------------------------
-|| Files...
-|+---
-||| .\/my_library\/LICENSE_1_0.txt
-||| .\/my_library\/boost-build.jam
-||| .\/my_library\/Jamfile.v2
-||| .\/my_library\/project-root.jam
-||| .\/my_library\/boost\/my_library.hpp
-||| .\/my_library\/boost\/my_library\/my_library.hpp
-||| .\/my_library\/libs\/my_library\/test\/test.cpp
-||| .\/my_library\/libs\/my_library\/test\/Jamfile.v2
-||| .\/my_library\/libs\/my_library\/doc\/html\/reference.css
-||| .\/my_library\/libs\/my_library\/doc\/html\/boostbook.css
-||| .\/my_library\/libs\/my_library\/doc\/html\/images\/prev.png
-||| .\/my_library\/libs\/my_library\/doc\/html\/images\/tip.png
-||| .\/my_library\/libs\/my_library\/doc\/html\/images\/important.png
-||| .\/my_library\/libs\/my_library\/doc\/html\/images\/next.png
-||| .\/my_library\/libs\/my_library\/doc\/html\/images\/toc-minus.png
-||| .\/my_library\/libs\/my_library\/doc\/html\/images\/draft.png
-||| .\/my_library\/libs\/my_library\/doc\/html\/images\/caution.png
-||| .\/my_library\/libs\/my_library\/doc\/html\/images\/Thumbs.db
-||| .\/my_library\/libs\/my_library\/doc\/html\/images\/up.png
-||| .\/my_library\/libs\/my_library\/doc\/html\/images\/note.png
-||| .\/my_library\/libs\/my_library\/doc\/html\/images\/warning.png
-||| .\/my_library\/libs\/my_library\/doc\/html\/images\/toc-plus.png
-||| .\/my_library\/libs\/my_library\/doc\/html\/images\/blank.png
-||| .\/my_library\/libs\/my_library\/doc\/html\/images\/home.png
-||| .\/my_library\/libs\/my_library\/doc\/html\/images\/toc-blank.png
-||| .\/my_library\/libs\/my_library\/example\/example.cpp
-||| .\/my_library\/libs\/my_library\/example\/Jamfile.v2
-]
[endsect]
[section:substitutions Substitution templates and special templates]
@@ -294,7 +186,7 @@
[tip Substitutions are applied in the order they are specified in the template scripts, so
substituted text for one substitution template can include substitution templates
specified after it. For example, in the sandbox template
-$template\_cpp\_copyright$ expands into text which includes $template\_author$.]
+$template\_copyright$ expands into text which includes $template\_authors$.]
[h4 Special templates]
@@ -310,18 +202,6 @@
[endsect]
-[section:merges Template merges]
-
-FileTemplate can be used to merge results created by several templates. If a template uses
-the results_object_ref to customize its output based on files created by all processed templates,
-this can be used to seamlessly integrate additional files in the template results.
-
-The sandbox_template_ref uses this to allow additional files (e.g., existing source code) to be
-integrated in the newly created Boost sandbox library project.
-
-[endsect]
-
-[section:reference Reference]
[section:template Template object]
The template object contains several functions which can be used from template
scripts to customize template behavior.
@@ -344,13 +224,13 @@
template.name_replacement('$template_library$', library_name)
-To set up a specific substitution_template_ref:
+To set up a specific __substitution_template__:
template.content_replacement(['.hpp', '.cpp'], '$template_created$', '// Created in $template_year$')
-To set up a general substitution_template_ref:
+To set up a general __substitution_template__:
- template.all_content_replacement('$template_year$', str(time.localtime().tm_year))
+ template.general_content_replacement('$template_year$', str(time.localtime().tm_year))
To ignore (not process) an entire subdirectory in the same directory as the script:
@@ -389,7 +269,7 @@
contents depend on the directory tree below a certain directory,
you can =walk= the results object and extract the directory tree.
The following example does so to include all non-detail include
-directories for the sandbox_template_ref:
+directories for the __sandbox_template__:
doxy_source_files = list()
for root, dirs, files in results.walk(
@@ -431,17 +311,10 @@
[section:changes Proposed changes]
-* template.all\_content\_replacement should become template.general\_content\_replacement
-
* a =no-scripts= option should be introduced to disallow processing of
in-template scripts (in case a template
should be copied verbatim with minor processing to make another template)
-* Add `template.ignore_directory` and `template.ignore_file` functions
-which can ignore a file/directory located
-in a directory other than the same directory as the script.
-This allows templates configured in a more centralized way.
-
[/
* The =erase= option should require the user to type =erase= for the value
instead of =y=, just to be safe.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/Jamfile
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/Jamfile 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,13 @@
+# Copyright 2007 John Doe.
+# 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)
+
+
+use-project boost
+ : $(BOOST_ROOT)
+ ;
+
+project boost/my_library
+ : build-dir bin.v2
+ ;
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/LICENSE_1_0.txt
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/LICENSE_1_0.txt 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,23 @@
+Boost Software License - Version 1.0 - August 17th, 2003
+
+Permission is hereby granted, free of charge, to any person or organization
+obtaining a copy of the software and accompanying documentation covered by
+this license (the "Software") to use, reproduce, display, distribute,
+execute, and transmit the Software, and to prepare derivative works of the
+Software, and to permit third-parties to whom the Software is furnished to
+do so, all subject to the following:
+
+The copyright notices in the Software and this entire statement, including
+the above license grant, this restriction and the following disclaimer,
+must be included in all copies of the Software, in whole or in part, and
+all derivative works of the Software, unless such copies or derivative
+works are solely in the form of machine-executable object code generated by
+a source language processor.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/boost-build.jam
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/boost-build.jam 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,10 @@
+# Copyright 2007 John Doe.
+# 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)
+
+
+# Set the BOOST_ROOT environment variable on your command-line or in the
+# environment to point at the root of your regular Boost installation.
+
+boost-build $(BOOST_ROOT)/tools/build/v2 ;
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/boost/my_library.hpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/boost/my_library.hpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,13 @@
+// Copyright 2007 John Doe.
+// 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)
+
+
+#ifndef BOOST_MY_LIBRARY_HPP
+#define BOOST_MY_LIBRARY_HPP
+
+#include <boost/my_library/my_library.hpp>
+
+#endif // BOOST_MY_LIBRARY_HPP
+
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/boost/my_library/my_library.hpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/boost/my_library/my_library.hpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,82 @@
+// Copyright 2007 John Doe.
+// 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)
+
+
+#ifndef BOOST_MY_LIBRARY_MY_LIBRARY_HPP
+#define BOOST_MY_LIBRARY_MY_LIBRARY_HPP
+
+namespace boost {
+namespace my_library {
+
+/// The my_library class does nothing.
+/** \ingroup group_nothing
+ \param T The type on which my_library does nothing.
+ \warning This class does nothing.
+ \todo Make this class do something.
+ \bug This class does do something.
+
+ Since my_library does nothing, it is not very useful.
+*/
+template<typename T
+#ifndef DOXYGEN_DOCS_ONLY
+ , typename Enable=void // maybe documentation doesn't need to know about this.
+#endif
+>
+class my_library
+{
+public:
+ /// Default constructor.
+ /** This constructor actually does something. It sets the internal
+ counters to 0.
+ */
+ my_library() : nothing_count(0), call_count(0) {}
+
+ /// This function does nothing with the passed parameter.
+ void nothing(T t)
+ {
+ nothing_count++;
+ call_count++;
+ }
+
+ /// This function does nothing with the passed parameter a specified number of times.
+ /** \param n Number of times nothing is done.
+
+ This function is equivalent to calling nothing n times.
+ */
+ void nothing(T t, unsigned n)
+ {
+ call_count++;
+ for (unsigned i=0; i<n; i++)
+ nothing(t);
+ call_count-=n;
+ }
+
+ /// This function can be used to determine how many times nothing has been done.
+ /** \returns count of how many times nothing has been done.
+ */
+ int get_nothing_count()
+ {
+ return nothing_count;
+ }
+ /// This function can be used to determine how many calls have been made to the object.
+ /** \returns count of how many times a method of this object has been called by the user.
+ */
+ int get_call_count()
+ {
+ return call_count;
+ }
+protected:
+ /// The number of times this object did nothing.
+ int nothing_count;
+private:
+ // Number of times the member function was called.
+ int call_count;
+};
+
+} // namespace my_library
+} // namespace boost
+
+#endif // BOOST_MY_LIBRARY_MY_LIBRARY_HPP
+
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/Jamfile
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/Jamfile 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,45 @@
+# Copyright 2007 John Doe.
+# 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)
+
+
+project boost/my_library/doc ;
+
+import boostbook : boostbook ;
+using quickbook ;
+
+local loc = [ path.native [ path.pwd ] ] ;
+local root = [ path.native [ path.join [ path.pwd ] ../../.. ] ] ;
+
+xml my_library_xml : my_library.qbk ;
+doxygen my_library_doxygen
+ :
+ [ glob
+ ../../../boost/my_library/*.hpp ]
+ :
+ <doxygen:param>EXAMPLE_PATH=../example
+ <doxygen:param>STRIP_FROM_PATH=$(root)
+ <doxygen:param>STRIP_FROM_INC_PATH=$(root)
+ <doxygen:param>EXTRACT_ALL=NO
+ <doxygen:param>HIDE_UNDOC_MEMBERS=NO
+ <doxygen:param>EXTRACT_PRIVATE=NO
+ <doxygen:param>DETAILS_AT_TOP=YES
+ <doxygen:param>ENABLE_PREPROCESSING=YES
+ <doxygen:param>MACRO_EXPANSION=YES
+ <doxygen:param>SEARCH_INCLUDES=YES
+ <doxygen:param>INCLUDE_PATH=../../..
+ <doxygen:param>PREDEFINED=DOXYGEN_DOCS_ONLY
+ ;
+
+boostbook standalone
+ :
+ my_library_xml
+ my_library_doxygen
+ :
+ <xsl:param>chunk.first.sections=1
+ <xsl:param>chunk.section.depth=3
+ <xsl:param>toc.section.depth=3
+ <xsl:param>toc.max.depth=3
+ <xsl:param>generate.section.toc.level=3
+ ;
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/boostbook.css
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/boostbook.css 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,538 @@
+/*=============================================================================
+ Copyright (c) 2004 Joel de Guzman
+ http://spirit.sourceforge.net/
+
+ Use, modification and distribution is subject to 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)
+=============================================================================*/
+
+/*=============================================================================
+ Body defaults
+=============================================================================*/
+
+ body
+ {
+ margin: 1em;
+ font-family: sans-serif;
+ }
+
+/*=============================================================================
+ Paragraphs
+=============================================================================*/
+
+ p
+ {
+ text-align: left;
+ font-size: 10pt;
+ line-height: 1.15;
+ }
+
+/*=============================================================================
+ Program listings
+=============================================================================*/
+
+ /* Code on paragraphs */
+ p tt.computeroutput
+ {
+ font-size: 10pt;
+ }
+
+ pre.synopsis
+ {
+ font-size: 10pt;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ .programlisting,
+ .screen
+ {
+ font-size: 10pt;
+ display: block;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+/*=============================================================================
+ Headings
+=============================================================================*/
+
+ h1, h2, h3, h4, h5, h6
+ {
+ text-align: left;
+ margin: 1em 0em 0.5em 0em;
+ font-weight: bold;
+ }
+
+ h1 { font: 140% }
+ h2 { font: bold 140% }
+ h3 { font: bold 130% }
+ h4 { font: bold 120% }
+ h5 { font: italic 110% }
+ h6 { font: italic 100% }
+
+ /* Top page titles */
+ title,
+ h1.title,
+ h2.title
+ h3.title,
+ h4.title,
+ h5.title,
+ h6.title,
+ .refentrytitle
+ {
+ font-weight: bold;
+ margin-bottom: 1pc;
+ }
+
+ h1.title { font-size: 140% }
+ h2.title { font-size: 140% }
+ h3.title { font-size: 130% }
+ h4.title { font-size: 120% }
+ h5.title { font-size: 110% }
+ h6.title { font-size: 100% }
+
+ .section h1
+ {
+ margin: 0em 0em 0.5em 0em;
+ font-size: 140%;
+ }
+
+ .section h2 { font-size: 140% }
+ .section h3 { font-size: 130% }
+ .section h4 { font-size: 120% }
+ .section h5 { font-size: 110% }
+ .section h6 { font-size: 100% }
+
+ /* Code on titles */
+ h1 tt.computeroutput { font-size: 140% }
+ h2 tt.computeroutput { font-size: 140% }
+ h3 tt.computeroutput { font-size: 130% }
+ h4 tt.computeroutput { font-size: 120% }
+ h5 tt.computeroutput { font-size: 110% }
+ h6 tt.computeroutput { font-size: 100% }
+
+/*=============================================================================
+ Author
+=============================================================================*/
+
+ h3.author
+ {
+ font-size: 100%
+ }
+
+/*=============================================================================
+ Lists
+=============================================================================*/
+
+ li
+ {
+ font-size: 10pt;
+ line-height: 1.3;
+ }
+
+ /* Unordered lists */
+ ul
+ {
+ text-align: left;
+ }
+
+ /* Ordered lists */
+ ol
+ {
+ text-align: left;
+ }
+
+/*=============================================================================
+ Links
+=============================================================================*/
+
+ a
+ {
+ text-decoration: none; /* no underline */
+ }
+
+ a:hover
+ {
+ text-decoration: underline;
+ }
+
+/*=============================================================================
+ Spirit style navigation
+=============================================================================*/
+
+ .spirit-nav
+ {
+ text-align: right;
+ }
+
+ .spirit-nav a
+ {
+ color: white;
+ padding-left: 0.5em;
+ }
+
+ .spirit-nav img
+ {
+ border-width: 0px;
+ }
+
+/*=============================================================================
+ Table of contents
+=============================================================================*/
+
+ .toc
+ {
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.1pc 1pc 0.1pc 1pc;
+ font-size: 10pt;
+ line-height: 1.15;
+ }
+
+ .toc-main
+ {
+ width: 600;
+ text-align: center;
+ margin: 1pc 1pc 1pc 10%;
+ padding: 2pc 1pc 3pc 1pc;
+ line-height: 0.1;
+ }
+
+ .boost-toc
+ {
+ float: right;
+ padding: 0.5pc;
+ }
+
+/*=============================================================================
+ Tables
+=============================================================================*/
+
+ .table-title,
+ div.table p.title
+ {
+ margin-left: 4%;
+ padding-right: 0.5em;
+ padding-left: 0.5em;
+ }
+
+ .informaltable table,
+ .table table
+ {
+ width: 92%;
+ margin-left: 4%;
+ margin-right: 4%;
+ }
+
+ div.informaltable table,
+ div.table table
+ {
+ padding: 4px;
+ }
+
+ /* Table Cells */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ padding: 0.5em;
+ text-align: left;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ padding: 0.5em 0.5em 0.5em 0.5em;
+ border: 1pt solid white;
+ font-size: 120%;
+ }
+
+/*=============================================================================
+ Blurbs
+=============================================================================*/
+
+ div.note,
+ div.tip,
+ div.important,
+ div.caution,
+ div.warning,
+ p.blurb
+ {
+ font-size: 10pt;
+ line-height: 1.2;
+ display: block;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ p.blurb img
+ {
+ padding: 1pt;
+ }
+
+/*=============================================================================
+ Variable Lists
+=============================================================================*/
+
+ span.term
+ {
+ font-weight: bold;
+ font-size: 10pt;
+ }
+
+ div.variablelist table tbody tr td
+ {
+ text-align: left;
+ vertical-align: top;
+ padding: 0em 2em 0em 0em;
+ font-size: 10pt;
+ }
+
+ div.variablelist table tbody tr td p
+ {
+ margin: 0em 0em 0.5em 0em;
+ }
+
+ /* Make the terms in definition lists bold */
+ div.variablelist dl dt
+ {
+ font-weight: bold;
+ font-size: 10pt;
+ }
+
+ div.variablelist dl dd
+ {
+ margin: 1em 0em 1em 2em;
+ font-size: 10pt;
+ }
+
+/*=============================================================================
+ Misc
+=============================================================================*/
+
+ /* Title of books and articles in bibliographies */
+ span.title
+ {
+ font-style: italic;
+ }
+
+ span.underline
+ {
+ text-decoration: underline;
+ }
+
+ span.strikethrough
+ {
+ text-decoration: line-through;
+ }
+
+ /* Copyright, Legal Notice */
+ div div.legalnotice p
+ {
+ font-size: 8pt;
+ text-align: left
+ }
+
+/*=============================================================================
+ Colors
+=============================================================================*/
+
+ @media screen
+ {
+ /* Links */
+ a
+ {
+ color: #0C7445;
+ }
+
+ a:visited
+ {
+ color: #663974;
+ }
+
+ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
+ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
+ h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
+ {
+ text-decoration: none; /* no underline */
+ color: #000000;
+ }
+
+ /* Syntax Highlighting */
+ .keyword { color: #0000AA; }
+ .identifier { color: #000000; }
+ .special { color: #707070; }
+ .preprocessor { color: #402080; }
+ .char { color: teal; }
+ .comment { color: #800000; }
+ .string { color: teal; }
+ .number { color: teal; }
+ .white_bkd { background-color: #E8FBE9; }
+ .dk_grey_bkd { background-color: #A0DAAC; }
+
+ /* Copyright, Legal Notice */
+ .copyright
+ {
+ color: #666666;
+ font-size: small;
+ }
+
+ div div.legalnotice p
+ {
+ color: #666666;
+ }
+
+ /* Program listing */
+ pre.synopsis
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ .programlisting,
+ .screen
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Blurbs */
+ div.note,
+ div.tip,
+ div.important,
+ div.caution,
+ div.warning,
+ p.blurb
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc-main
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+
+ /* Tables */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ background-color: #E3F9E4;
+ border: 1px solid #DCDCDC;
+ }
+
+ /* Misc */
+ span.highlight
+ {
+ color: #00A000;
+ }
+ }
+
+ @media print
+ {
+ /* Links */
+ a
+ {
+ color: black;
+ }
+
+ a:visited
+ {
+ color: black;
+ }
+
+ .spirit-nav
+ {
+ display: none;
+ }
+
+ /* Program listing */
+ pre.synopsis
+ {
+ border: 1px solid gray;
+ background-color: #FAFFFB;
+ }
+
+ .programlisting,
+ .screen
+ {
+ border: 1px solid gray;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc-main
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ .informaltable table,
+ .table table
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ border-collapse: collapse;
+ background-color: #FAFFFB;
+ }
+
+ /* Tables */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ /* Misc */
+ span.highlight
+ {
+ font-weight: bold;
+ }
+ }
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/blank.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/caution.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/draft.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/home.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/important.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/next.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/note.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/prev.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/tip.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/toc-blank.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/toc-minus.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/toc-plus.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/up.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/images/warning.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/reference.css
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/html/reference.css 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,5 @@
+PRE.synopsis {
+ background-color: #e0ffff;
+ border: thin solid blue;
+ padding: 1em
+}
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/my_library.qbk
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/doc/my_library.qbk 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,46 @@
+
+[library My Library
+ [quickbook 1.4]
+ [version 0.01e-10]
+ [authors [Doe, John]]
+ [copyright 2007 John Doe]
+ [purpose Doing nothing.]
+ [license
+ 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])
+ ]
+]
+
+Welcome to the My Library! One day, it will perhaps be called
+Boost.My Library. Until then, feel free to use it to do nothing.
+
+[warning My Library is not an official Boost library.]
+
+[section:introduction Introduction]
+
+User, this is My Library. My Library, this is the user. Be nice to each other.
+
+[section:start Getting Started]
+
+The My Library is located in the my_library directory of the boost sandbox.
+
+
+You might also want to look at the [link my_library.reference reference].
+
+
+[endsect]
+
+[endsect]
+
+[xinclude my_library_doxygen.xml]
+
+[section:license License]
+
+Copyright 2007 John Doe.
+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])
+
+
+[endsect]
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/example/Jamfile
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/example/Jamfile 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,14 @@
+# Copyright 2007 John Doe.
+# 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)
+
+
+project
+ : requirements
+ <include>../../..
+ <library>/boost/test//boost_unit_test_framework/<link>static
+ <define>BOOST_ALL_NO_LIB=1
+ ;
+
+exe example : example.cpp ;
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/example/example.cpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/example/example.cpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,36 @@
+// Copyright 2007 John Doe.
+// 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)
+
+
+//[ my_library_example
+#include <boost/test/unit_test.hpp>
+using boost::unit_test::test_suite;
+
+#include <boost/my_library.hpp>
+
+void my_library_example()
+{
+ boost::my_library::my_library<int> object;
+ int x = 0;
+
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),0);
+ object.nothing(x);
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),1);
+
+ BOOST_CHECK_EQUAL(object.get_call_count(),1);
+ object.nothing(x,4);
+ BOOST_CHECK_EQUAL(object.get_call_count(),2);
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),5);
+
+} // end void my_library_example
+
+test_suite* init_unit_test_suite(int argc, char* argv[])
+{
+ test_suite* test = BOOST_TEST_SUITE( "RPC test suite" );
+ test->add(BOOST_TEST_CASE(&my_library_example));
+ return test;
+}
+
+//]
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/test/Jamfile
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/test/Jamfile 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,16 @@
+# Copyright 2007 John Doe.
+# 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)
+
+
+import testing ;
+
+project
+ : requirements
+ <include>../../..
+ <define>BOOST_ALL_NO_LIB=1
+ ;
+
+run test_nothing.cpp ;
+run test_nothing_n.cpp ;
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/test/test_nothing.cpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/test/test_nothing.cpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,20 @@
+// Copyright 2007 John Doe.
+// 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)
+
+
+#include <boost/my_library.hpp>
+
+#include <boost/test/included/test_exec_monitor.hpp>
+
+int test_main(int, char* [])
+{
+ boost::my_library::my_library<int> object;
+ int x = 0;
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),0);
+ object.nothing(x);
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),1);
+
+ return 0;
+};
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/test/test_nothing_n.cpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/libs/my_library/test/test_nothing_n.cpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,21 @@
+// Copyright 2007 John Doe.
+// 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)
+
+
+#include <boost/my_library.hpp>
+
+#include <boost/test/included/test_exec_monitor.hpp>
+
+int test_main(int, char* [])
+{
+ boost::my_library::my_library<int> object;
+ int x = 0;
+ BOOST_CHECK_EQUAL(object.get_call_count(),0);
+ object.nothing(x,4);
+ BOOST_CHECK_EQUAL(object.get_call_count(),1);
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),4);
+
+ return 0;
+};
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/project-root.jam
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_command_line/my_library/project-root.jam 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,9 @@
+# Copyright 2007 John Doe.
+# 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)
+
+
+import os ;
+
+path-constant BOOST_ROOT : [ os.environ BOOST_ROOT ] ;
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/Jamfile
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/Jamfile 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,13 @@
+# Copyright 2007 John Doe and Jane H. Dough.
+# 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)
+
+
+use-project boost
+ : $(BOOST_ROOT)
+ ;
+
+project boost/my_library
+ : build-dir bin.v2
+ ;
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/LICENSE_1_0.txt
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/LICENSE_1_0.txt 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,23 @@
+Boost Software License - Version 1.0 - August 17th, 2003
+
+Permission is hereby granted, free of charge, to any person or organization
+obtaining a copy of the software and accompanying documentation covered by
+this license (the "Software") to use, reproduce, display, distribute,
+execute, and transmit the Software, and to prepare derivative works of the
+Software, and to permit third-parties to whom the Software is furnished to
+do so, all subject to the following:
+
+The copyright notices in the Software and this entire statement, including
+the above license grant, this restriction and the following disclaimer,
+must be included in all copies of the Software, in whole or in part, and
+all derivative works of the Software, unless such copies or derivative
+works are solely in the form of machine-executable object code generated by
+a source language processor.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/boost-build.jam
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/boost-build.jam 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,10 @@
+# Copyright 2007 John Doe and Jane H. Dough.
+# 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)
+
+
+# Set the BOOST_ROOT environment variable on your command-line or in the
+# environment to point at the root of your regular Boost installation.
+
+boost-build $(BOOST_ROOT)/tools/build/v2 ;
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/boost/my_library.hpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/boost/my_library.hpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,13 @@
+// Copyright 2007 John Doe and Jane H. Dough.
+// 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)
+
+
+#ifndef BOOST_MY_LIBRARY_HPP
+#define BOOST_MY_LIBRARY_HPP
+
+#include <boost/my_library/my_library.hpp>
+
+#endif // BOOST_MY_LIBRARY_HPP
+
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/boost/my_library/my_library.hpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/boost/my_library/my_library.hpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,82 @@
+// Copyright 2007 John Doe and Jane H. Dough.
+// 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)
+
+
+#ifndef BOOST_MY_LIBRARY_MY_LIBRARY_HPP
+#define BOOST_MY_LIBRARY_MY_LIBRARY_HPP
+
+namespace boost {
+namespace my_library {
+
+/// The my_library class does nothing.
+/** \ingroup group_nothing
+ \param T The type on which my_library does nothing.
+ \warning This class does nothing.
+ \todo Make this class do something.
+ \bug This class does do something.
+
+ Since my_library does nothing, it is not very useful.
+*/
+template<typename T
+#ifndef DOXYGEN_DOCS_ONLY
+ , typename Enable=void // maybe documentation doesn't need to know about this.
+#endif
+>
+class my_library
+{
+public:
+ /// Default constructor.
+ /** This constructor actually does something. It sets the internal
+ counters to 0.
+ */
+ my_library() : nothing_count(0), call_count(0) {}
+
+ /// This function does nothing with the passed parameter.
+ void nothing(T t)
+ {
+ nothing_count++;
+ call_count++;
+ }
+
+ /// This function does nothing with the passed parameter a specified number of times.
+ /** \param n Number of times nothing is done.
+
+ This function is equivalent to calling nothing n times.
+ */
+ void nothing(T t, unsigned n)
+ {
+ call_count++;
+ for (unsigned i=0; i<n; i++)
+ nothing(t);
+ call_count-=n;
+ }
+
+ /// This function can be used to determine how many times nothing has been done.
+ /** \returns count of how many times nothing has been done.
+ */
+ int get_nothing_count()
+ {
+ return nothing_count;
+ }
+ /// This function can be used to determine how many calls have been made to the object.
+ /** \returns count of how many times a method of this object has been called by the user.
+ */
+ int get_call_count()
+ {
+ return call_count;
+ }
+protected:
+ /// The number of times this object did nothing.
+ int nothing_count;
+private:
+ // Number of times the member function was called.
+ int call_count;
+};
+
+} // namespace my_library
+} // namespace boost
+
+#endif // BOOST_MY_LIBRARY_MY_LIBRARY_HPP
+
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/doc/Jamfile
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/doc/Jamfile 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,46 @@
+# Copyright 2007 John Doe and Jane H. Dough.
+# 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)
+
+
+project boost/my_library/doc ;
+
+import boostbook : boostbook ;
+using quickbook ;
+
+local loc = [ path.native [ path.pwd ] ] ;
+local root = [ path.native [ path.join [ path.pwd ] ../../.. ] ] ;
+
+xml my_library_xml : my_library.qbk ;
+doxygen my_library_doxygen
+ :
+ [ glob
+ ../../../boost/my_library/*.hpp ]
+ :
+ <doxygen:param>EXAMPLE_PATH=../example
+ <doxygen:param>STRIP_FROM_PATH=$(root)
+ <doxygen:param>STRIP_FROM_INC_PATH=$(root)
+ <doxygen:param>EXTRACT_ALL=NO
+ <doxygen:param>HIDE_UNDOC_MEMBERS=NO
+ <doxygen:param>EXTRACT_PRIVATE=NO
+ <doxygen:param>DETAILS_AT_TOP=YES
+ <doxygen:param>ENABLE_PREPROCESSING=YES
+ <doxygen:param>MACRO_EXPANSION=YES
+ <doxygen:param>SEARCH_INCLUDES=YES
+ <doxygen:param>INCLUDE_PATH=../../..
+ <doxygen:param>PREDEFINED=DOXYGEN_DOCS_ONLY
+ ;
+
+boostbook standalone
+ :
+ my_library_xml
+ my_library_doxygen
+ :
+ <xsl:param>chunk.first.sections=1
+ <xsl:param>chunk.section.depth=3
+ <xsl:param>toc.section.depth=3
+ <xsl:param>toc.max.depth=3
+ <xsl:param>generate.section.toc.level=3
+<xsl:param>boost.root=http://www.boost.org
+ ;
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/doc/html/boostbook.css
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/doc/html/boostbook.css 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,538 @@
+/*=============================================================================
+ Copyright (c) 2004 Joel de Guzman
+ http://spirit.sourceforge.net/
+
+ Use, modification and distribution is subject to 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)
+=============================================================================*/
+
+/*=============================================================================
+ Body defaults
+=============================================================================*/
+
+ body
+ {
+ margin: 1em;
+ font-family: sans-serif;
+ }
+
+/*=============================================================================
+ Paragraphs
+=============================================================================*/
+
+ p
+ {
+ text-align: left;
+ font-size: 10pt;
+ line-height: 1.15;
+ }
+
+/*=============================================================================
+ Program listings
+=============================================================================*/
+
+ /* Code on paragraphs */
+ p tt.computeroutput
+ {
+ font-size: 10pt;
+ }
+
+ pre.synopsis
+ {
+ font-size: 10pt;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ .programlisting,
+ .screen
+ {
+ font-size: 10pt;
+ display: block;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+/*=============================================================================
+ Headings
+=============================================================================*/
+
+ h1, h2, h3, h4, h5, h6
+ {
+ text-align: left;
+ margin: 1em 0em 0.5em 0em;
+ font-weight: bold;
+ }
+
+ h1 { font: 140% }
+ h2 { font: bold 140% }
+ h3 { font: bold 130% }
+ h4 { font: bold 120% }
+ h5 { font: italic 110% }
+ h6 { font: italic 100% }
+
+ /* Top page titles */
+ title,
+ h1.title,
+ h2.title
+ h3.title,
+ h4.title,
+ h5.title,
+ h6.title,
+ .refentrytitle
+ {
+ font-weight: bold;
+ margin-bottom: 1pc;
+ }
+
+ h1.title { font-size: 140% }
+ h2.title { font-size: 140% }
+ h3.title { font-size: 130% }
+ h4.title { font-size: 120% }
+ h5.title { font-size: 110% }
+ h6.title { font-size: 100% }
+
+ .section h1
+ {
+ margin: 0em 0em 0.5em 0em;
+ font-size: 140%;
+ }
+
+ .section h2 { font-size: 140% }
+ .section h3 { font-size: 130% }
+ .section h4 { font-size: 120% }
+ .section h5 { font-size: 110% }
+ .section h6 { font-size: 100% }
+
+ /* Code on titles */
+ h1 tt.computeroutput { font-size: 140% }
+ h2 tt.computeroutput { font-size: 140% }
+ h3 tt.computeroutput { font-size: 130% }
+ h4 tt.computeroutput { font-size: 120% }
+ h5 tt.computeroutput { font-size: 110% }
+ h6 tt.computeroutput { font-size: 100% }
+
+/*=============================================================================
+ Author
+=============================================================================*/
+
+ h3.author
+ {
+ font-size: 100%
+ }
+
+/*=============================================================================
+ Lists
+=============================================================================*/
+
+ li
+ {
+ font-size: 10pt;
+ line-height: 1.3;
+ }
+
+ /* Unordered lists */
+ ul
+ {
+ text-align: left;
+ }
+
+ /* Ordered lists */
+ ol
+ {
+ text-align: left;
+ }
+
+/*=============================================================================
+ Links
+=============================================================================*/
+
+ a
+ {
+ text-decoration: none; /* no underline */
+ }
+
+ a:hover
+ {
+ text-decoration: underline;
+ }
+
+/*=============================================================================
+ Spirit style navigation
+=============================================================================*/
+
+ .spirit-nav
+ {
+ text-align: right;
+ }
+
+ .spirit-nav a
+ {
+ color: white;
+ padding-left: 0.5em;
+ }
+
+ .spirit-nav img
+ {
+ border-width: 0px;
+ }
+
+/*=============================================================================
+ Table of contents
+=============================================================================*/
+
+ .toc
+ {
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.1pc 1pc 0.1pc 1pc;
+ font-size: 10pt;
+ line-height: 1.15;
+ }
+
+ .toc-main
+ {
+ width: 600;
+ text-align: center;
+ margin: 1pc 1pc 1pc 10%;
+ padding: 2pc 1pc 3pc 1pc;
+ line-height: 0.1;
+ }
+
+ .boost-toc
+ {
+ float: right;
+ padding: 0.5pc;
+ }
+
+/*=============================================================================
+ Tables
+=============================================================================*/
+
+ .table-title,
+ div.table p.title
+ {
+ margin-left: 4%;
+ padding-right: 0.5em;
+ padding-left: 0.5em;
+ }
+
+ .informaltable table,
+ .table table
+ {
+ width: 92%;
+ margin-left: 4%;
+ margin-right: 4%;
+ }
+
+ div.informaltable table,
+ div.table table
+ {
+ padding: 4px;
+ }
+
+ /* Table Cells */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ padding: 0.5em;
+ text-align: left;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ padding: 0.5em 0.5em 0.5em 0.5em;
+ border: 1pt solid white;
+ font-size: 120%;
+ }
+
+/*=============================================================================
+ Blurbs
+=============================================================================*/
+
+ div.note,
+ div.tip,
+ div.important,
+ div.caution,
+ div.warning,
+ p.blurb
+ {
+ font-size: 10pt;
+ line-height: 1.2;
+ display: block;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ p.blurb img
+ {
+ padding: 1pt;
+ }
+
+/*=============================================================================
+ Variable Lists
+=============================================================================*/
+
+ span.term
+ {
+ font-weight: bold;
+ font-size: 10pt;
+ }
+
+ div.variablelist table tbody tr td
+ {
+ text-align: left;
+ vertical-align: top;
+ padding: 0em 2em 0em 0em;
+ font-size: 10pt;
+ }
+
+ div.variablelist table tbody tr td p
+ {
+ margin: 0em 0em 0.5em 0em;
+ }
+
+ /* Make the terms in definition lists bold */
+ div.variablelist dl dt
+ {
+ font-weight: bold;
+ font-size: 10pt;
+ }
+
+ div.variablelist dl dd
+ {
+ margin: 1em 0em 1em 2em;
+ font-size: 10pt;
+ }
+
+/*=============================================================================
+ Misc
+=============================================================================*/
+
+ /* Title of books and articles in bibliographies */
+ span.title
+ {
+ font-style: italic;
+ }
+
+ span.underline
+ {
+ text-decoration: underline;
+ }
+
+ span.strikethrough
+ {
+ text-decoration: line-through;
+ }
+
+ /* Copyright, Legal Notice */
+ div div.legalnotice p
+ {
+ font-size: 8pt;
+ text-align: left
+ }
+
+/*=============================================================================
+ Colors
+=============================================================================*/
+
+ @media screen
+ {
+ /* Links */
+ a
+ {
+ color: #0C7445;
+ }
+
+ a:visited
+ {
+ color: #663974;
+ }
+
+ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
+ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
+ h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
+ {
+ text-decoration: none; /* no underline */
+ color: #000000;
+ }
+
+ /* Syntax Highlighting */
+ .keyword { color: #0000AA; }
+ .identifier { color: #000000; }
+ .special { color: #707070; }
+ .preprocessor { color: #402080; }
+ .char { color: teal; }
+ .comment { color: #800000; }
+ .string { color: teal; }
+ .number { color: teal; }
+ .white_bkd { background-color: #E8FBE9; }
+ .dk_grey_bkd { background-color: #A0DAAC; }
+
+ /* Copyright, Legal Notice */
+ .copyright
+ {
+ color: #666666;
+ font-size: small;
+ }
+
+ div div.legalnotice p
+ {
+ color: #666666;
+ }
+
+ /* Program listing */
+ pre.synopsis
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ .programlisting,
+ .screen
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Blurbs */
+ div.note,
+ div.tip,
+ div.important,
+ div.caution,
+ div.warning,
+ p.blurb
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc-main
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+
+ /* Tables */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ background-color: #E3F9E4;
+ border: 1px solid #DCDCDC;
+ }
+
+ /* Misc */
+ span.highlight
+ {
+ color: #00A000;
+ }
+ }
+
+ @media print
+ {
+ /* Links */
+ a
+ {
+ color: black;
+ }
+
+ a:visited
+ {
+ color: black;
+ }
+
+ .spirit-nav
+ {
+ display: none;
+ }
+
+ /* Program listing */
+ pre.synopsis
+ {
+ border: 1px solid gray;
+ background-color: #FAFFFB;
+ }
+
+ .programlisting,
+ .screen
+ {
+ border: 1px solid gray;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc-main
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ .informaltable table,
+ .table table
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ border-collapse: collapse;
+ background-color: #FAFFFB;
+ }
+
+ /* Tables */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ /* Misc */
+ span.highlight
+ {
+ font-weight: bold;
+ }
+ }
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/doc/html/reference.css
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/doc/html/reference.css 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,5 @@
+PRE.synopsis {
+ background-color: #e0ffff;
+ border: thin solid blue;
+ padding: 1em
+}
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/doc/my_library.qbk
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/doc/my_library.qbk 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,46 @@
+
+[library My Library
+ [quickbook 1.4]
+ [version 0.01e-10]
+ [authors [Doe, John],[Dough, Jane H.]]
+ [copyright 2007 John Doe and Jane H. Dough]
+ [purpose Doing nothing.]
+ [license
+ 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])
+ ]
+]
+
+Welcome to the My Library! One day, it will perhaps be called
+Boost.My Library. Until then, feel free to use it to do nothing.
+
+[warning My Library is not an official Boost library.]
+
+[section:introduction Introduction]
+
+User, this is My Library. My Library, this is the user. Be nice to each other.
+
+[section:start Getting Started]
+
+The My Library is located in the my_library directory of the boost sandbox.
+
+
+You might also want to look at the [link my_library.reference reference].
+
+
+[endsect]
+
+[endsect]
+
+[xinclude my_library_doxygen.xml]
+
+[section:license License]
+
+Copyright 2007 John Doe and Jane H. Dough.
+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])
+
+
+[endsect]
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/example/Jamfile
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/example/Jamfile 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,14 @@
+# Copyright 2007 John Doe and Jane H. Dough.
+# 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)
+
+
+project
+ : requirements
+ <include>../../..
+ <library>/boost/test//boost_unit_test_framework/<link>static
+ <define>BOOST_ALL_NO_LIB=1
+ ;
+
+exe example : example.cpp ;
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/example/example.cpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/example/example.cpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,36 @@
+// Copyright 2007 John Doe and Jane H. Dough.
+// 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)
+
+
+//[ my_library_example
+#include <boost/test/unit_test.hpp>
+using boost::unit_test::test_suite;
+
+#include <boost/my_library.hpp>
+
+void my_library_example()
+{
+ boost::my_library::my_library<int> object;
+ int x = 0;
+
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),0);
+ object.nothing(x);
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),1);
+
+ BOOST_CHECK_EQUAL(object.get_call_count(),1);
+ object.nothing(x,4);
+ BOOST_CHECK_EQUAL(object.get_call_count(),2);
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),5);
+
+} // end void my_library_example
+
+test_suite* init_unit_test_suite(int argc, char* argv[])
+{
+ test_suite* test = BOOST_TEST_SUITE( "RPC test suite" );
+ test->add(BOOST_TEST_CASE(&my_library_example));
+ return test;
+}
+
+//]
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/test/Jamfile
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/test/Jamfile 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,16 @@
+# Copyright 2007 John Doe and Jane H. Dough.
+# 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)
+
+
+import testing ;
+
+project
+ : requirements
+ <include>../../..
+ <define>BOOST_ALL_NO_LIB=1
+ ;
+
+run test_nothing.cpp ;
+run test_nothing_n.cpp ;
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/test/test_nothing.cpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/test/test_nothing.cpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,20 @@
+// Copyright 2007 John Doe and Jane H. Dough.
+// 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)
+
+
+#include <boost/my_library.hpp>
+
+#include <boost/test/included/test_exec_monitor.hpp>
+
+int test_main(int, char* [])
+{
+ boost::my_library::my_library<int> object;
+ int x = 0;
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),0);
+ object.nothing(x);
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),1);
+
+ return 0;
+};
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/test/test_nothing_n.cpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/libs/my_library/test/test_nothing_n.cpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,21 @@
+// Copyright 2007 John Doe and Jane H. Dough.
+// 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)
+
+
+#include <boost/my_library.hpp>
+
+#include <boost/test/included/test_exec_monitor.hpp>
+
+int test_main(int, char* [])
+{
+ boost::my_library::my_library<int> object;
+ int x = 0;
+ BOOST_CHECK_EQUAL(object.get_call_count(),0);
+ object.nothing(x,4);
+ BOOST_CHECK_EQUAL(object.get_call_count(),1);
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),4);
+
+ return 0;
+};
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/project-root.jam
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_global_htmlfiles/my_library/project-root.jam 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,9 @@
+# Copyright 2007 John Doe and Jane H. Dough.
+# 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)
+
+
+import os ;
+
+path-constant BOOST_ROOT : [ os.environ BOOST_ROOT ] ;
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/Jamfile
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/Jamfile 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,13 @@
+# Copyright 2007 John Doe, Jane H. Dough and Jan De Man.
+# 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)
+
+
+use-project boost
+ : $(BOOST_ROOT)
+ ;
+
+project boost/my_library
+ : build-dir bin.v2
+ ;
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/LICENSE_1_0.txt
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/LICENSE_1_0.txt 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,23 @@
+Boost Software License - Version 1.0 - August 17th, 2003
+
+Permission is hereby granted, free of charge, to any person or organization
+obtaining a copy of the software and accompanying documentation covered by
+this license (the "Software") to use, reproduce, display, distribute,
+execute, and transmit the Software, and to prepare derivative works of the
+Software, and to permit third-parties to whom the Software is furnished to
+do so, all subject to the following:
+
+The copyright notices in the Software and this entire statement, including
+the above license grant, this restriction and the following disclaimer,
+must be included in all copies of the Software, in whole or in part, and
+all derivative works of the Software, unless such copies or derivative
+works are solely in the form of machine-executable object code generated by
+a source language processor.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/boost-build.jam
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/boost-build.jam 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,10 @@
+# Copyright 2007 John Doe, Jane H. Dough and Jan De Man.
+# 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)
+
+
+# Set the BOOST_ROOT environment variable on your command-line or in the
+# environment to point at the root of your regular Boost installation.
+
+boost-build $(BOOST_ROOT)/tools/build/v2 ;
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/boost/my_library.hpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/boost/my_library.hpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,13 @@
+// Copyright 2007 John Doe, Jane H. Dough and Jan De Man.
+// 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)
+
+
+#ifndef BOOST_MY_LIBRARY_HPP
+#define BOOST_MY_LIBRARY_HPP
+
+#include <boost/my_library/my_library.hpp>
+
+#endif // BOOST_MY_LIBRARY_HPP
+
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/boost/my_library/my_library.hpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/boost/my_library/my_library.hpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,82 @@
+// Copyright 2007 John Doe, Jane H. Dough and Jan De Man.
+// 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)
+
+
+#ifndef BOOST_MY_LIBRARY_MY_LIBRARY_HPP
+#define BOOST_MY_LIBRARY_MY_LIBRARY_HPP
+
+namespace boost {
+namespace my_library {
+
+/// The my_library class does nothing.
+/** \ingroup group_nothing
+ \param T The type on which my_library does nothing.
+ \warning This class does nothing.
+ \todo Make this class do something.
+ \bug This class does do something.
+
+ Since my_library does nothing, it is not very useful.
+*/
+template<typename T
+#ifndef DOXYGEN_DOCS_ONLY
+ , typename Enable=void // maybe documentation doesn't need to know about this.
+#endif
+>
+class my_library
+{
+public:
+ /// Default constructor.
+ /** This constructor actually does something. It sets the internal
+ counters to 0.
+ */
+ my_library() : nothing_count(0), call_count(0) {}
+
+ /// This function does nothing with the passed parameter.
+ void nothing(T t)
+ {
+ nothing_count++;
+ call_count++;
+ }
+
+ /// This function does nothing with the passed parameter a specified number of times.
+ /** \param n Number of times nothing is done.
+
+ This function is equivalent to calling nothing n times.
+ */
+ void nothing(T t, unsigned n)
+ {
+ call_count++;
+ for (unsigned i=0; i<n; i++)
+ nothing(t);
+ call_count-=n;
+ }
+
+ /// This function can be used to determine how many times nothing has been done.
+ /** \returns count of how many times nothing has been done.
+ */
+ int get_nothing_count()
+ {
+ return nothing_count;
+ }
+ /// This function can be used to determine how many calls have been made to the object.
+ /** \returns count of how many times a method of this object has been called by the user.
+ */
+ int get_call_count()
+ {
+ return call_count;
+ }
+protected:
+ /// The number of times this object did nothing.
+ int nothing_count;
+private:
+ // Number of times the member function was called.
+ int call_count;
+};
+
+} // namespace my_library
+} // namespace boost
+
+#endif // BOOST_MY_LIBRARY_MY_LIBRARY_HPP
+
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/vc8ide/build.vcproj
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/vc8ide/build.vcproj 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="build"
+ ProjectGUID="{7b966b72-c2c5-4895-a9ff-c99ba753f3ab}"
+ >
+ <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"
+ BuildCommandLine="bjam --v2 ../../$(ProjectName) $(ConfigurationName)"
+ ReBuildCommandLine="bjam --v2 -a ../../$(ProjectName) $(ConfigurationName)"
+ CleanCommandLine="bjam --v2 --clean ../../$(ProjectName) $(ConfigurationName)"
+
+ 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"
+ BuildCommandLine="bjam --v2 ../../$(ProjectName) $(ConfigurationName)"
+ ReBuildCommandLine="bjam --v2 -a ../../$(ProjectName) $(ConfigurationName)"
+ CleanCommandLine="bjam --v2 --clean ../../$(ProjectName) $(ConfigurationName)"
+
+ Output=""
+ PreprocessorDefinitions=""
+ IncludeSearchPath=""
+ ForcedIncludes=""
+ AssemblySearchPath=""
+ ForcedUsingAssemblies=""
+ CompileAsManaged=""
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <File
+ RelativePath="..\..\..\../boost/my_library.hpp"
+ >
+ </File>
+ <Filter
+ Name="my_library"
+ >
+ <File
+ RelativePath="..\..\..\../boost/my_library/my_library.hpp"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="solution build"
+ >
+ <File
+ RelativePath="..\..\..\..\boost-build.jam"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\..\project-root.jam"
+ >
+ </File>
+ <File
+ RelativePath="..\..\..\..\Jamfile.v2"
+ >
+ </File>
+ </Filter>
+ <File
+ RelativePath="..\..\build\Jamfile.v2"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/vc8ide/doc.vcproj
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/vc8ide/doc.vcproj 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="doc"
+ ProjectGUID="{6ebcbc9e-214a-4fc7-bfe2-ffcb057d8218}"
+ 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"
+ BuildCommandLine="cd ../../doc
bjam --v2 $(ConfigurationName)"
+ ReBuildCommandLine="cd ../../doc
bjam --v2 -a $(ConfigurationName)"
+ CleanCommandLine="bjam --v2 --clean ../../$(ProjectName) $(ConfigurationName)"
+
+ Output=""
+ PreprocessorDefinitions="WIN32;NDEBUG"
+ IncludeSearchPath=""
+ ForcedIncludes=""
+ AssemblySearchPath=""
+ ForcedUsingAssemblies=""
+ CompileAsManaged=""
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ >
+ <File
+ RelativePath="..\..\doc\dox\my_library.hpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\doc\my_library.qbk"
+ >
+ </File>
+ </Filter>
+ <File
+ RelativePath="..\..\doc\Jamfile.v2"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/vc8ide/example.vcproj
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/vc8ide/example.vcproj 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="example"
+ ProjectGUID="{7721ccd4-f91d-4847-afd5-d1f536c9deaa}"
+ 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"
+ BuildCommandLine="bjam --v2 ../../$(ProjectName) $(ConfigurationName)"
+ ReBuildCommandLine="bjam --v2 -a ../../$(ProjectName) $(ConfigurationName)"
+ CleanCommandLine="bjam --v2 --clean ../../$(ProjectName) $(ConfigurationName)"
+
+ 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"
+ BuildCommandLine="bjam --v2 ../../$(ProjectName) $(ConfigurationName)"
+ ReBuildCommandLine="bjam --v2 -a ../../$(ProjectName) $(ConfigurationName)"
+ CleanCommandLine="bjam --v2 --clean ../../$(ProjectName) $(ConfigurationName)"
+
+ 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/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/vc8ide/my_library.sln
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/vc8ide/my_library.sln 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,37 @@
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "build", "build.vcproj", "{7b966b72-c2c5-4895-a9ff-c99ba753f3ab}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "doc", "doc.vcproj", "{$template_msvc_doc_uuid_}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example", "example.vcproj", "{$template_msvc_example_uuid_}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test", "test.vcproj", "{$template_msvc_test_uuid_}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ debug|Win32 = debug|Win32
+ release|Win32 = release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {7b966b72-c2c5-4895-a9ff-c99ba753f3ab}.debug|Win32.ActiveCfg = debug|Win32
+ {7b966b72-c2c5-4895-a9ff-c99ba753f3ab}.debug|Win32.Build.0 = debug|Win32
+ {7b966b72-c2c5-4895-a9ff-c99ba753f3ab}.release|Win32.ActiveCfg = release|Win32
+ {7b966b72-c2c5-4895-a9ff-c99ba753f3ab}.release|Win32.Build.0 = release|Win32
+ {6ebcbc9e-214a-4fc7-bfe2-ffcb057d8218}.debug|Win32.ActiveCfg = release|Win32
+ {6ebcbc9e-214a-4fc7-bfe2-ffcb057d8218}.debug|Win32.Build.0 = release|Win32
+ {6ebcbc9e-214a-4fc7-bfe2-ffcb057d8218}.release|Win32.ActiveCfg = release|Win32
+ {6ebcbc9e-214a-4fc7-bfe2-ffcb057d8218}.release|Win32.Build.0 = release|Win32
+ {7721ccd4-f91d-4847-afd5-d1f536c9deaa}.debug|Win32.ActiveCfg = debug|Win32
+ {7721ccd4-f91d-4847-afd5-d1f536c9deaa}.debug|Win32.Build.0 = debug|Win32
+ {7721ccd4-f91d-4847-afd5-d1f536c9deaa}.release|Win32.ActiveCfg = release|Win32
+ {7721ccd4-f91d-4847-afd5-d1f536c9deaa}.release|Win32.Build.0 = release|Win32
+ {996299fe-514d-4e7f-8ccb-59e60fe0b2f4}.debug|Win32.ActiveCfg = debug|Win32
+ {996299fe-514d-4e7f-8ccb-59e60fe0b2f4}.debug|Win32.Build.0 = debug|Win32
+ {996299fe-514d-4e7f-8ccb-59e60fe0b2f4}.release|Win32.ActiveCfg = release|Win32
+ {996299fe-514d-4e7f-8ccb-59e60fe0b2f4}.release|Win32.Build.0 = release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/vc8ide/test.vcproj
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/vc8ide/test.vcproj 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="test"
+ ProjectGUID="{996299fe-514d-4e7f-8ccb-59e60fe0b2f4}"
+ 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"
+ BuildCommandLine="bjam --v2 ../../$(ProjectName) $(ConfigurationName)"
+ ReBuildCommandLine="bjam --v2 -a ../../$(ProjectName) $(ConfigurationName)"
+ CleanCommandLine="bjam --v2 --clean ../../$(ProjectName) $(ConfigurationName)"
+
+ 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"
+ BuildCommandLine="bjam --v2 ../../$(ProjectName) $(ConfigurationName)"
+ ReBuildCommandLine="bjam --v2 -a ../../$(ProjectName) $(ConfigurationName)"
+ CleanCommandLine="bjam --v2 --clean ../../$(ProjectName) $(ConfigurationName)"
+
+ 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/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/xcodeide/my_library.xcodeproj/project.pbxproj
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/build/xcodeide/my_library.xcodeproj/project.pbxproj 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,392 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 42;
+ objects = {
+/* Begin PBXAggregateTarget section */
+ d9b24a4c3a6c4c688b1409e5 /* doc */ = {
+ isa = PBXAggregateTarget;
+ buildConfigurationList = fafc773ede684f6d9fdfa8c4 /* Build configuration list for PBXAggregateTarget "doc" */;
+ buildPhases = (
+ 53f71f061c104e60b0c7568a /* ShellScript */,
+ );
+ dependencies = (
+ );
+ name = doc;
+ productName = doc;
+ };
+ 334d1671b3f940de98e05915 /* "doc clean" */ = {
+ isa = PBXAggregateTarget;
+ buildConfigurationList = b5b4b484a08b4b70a49d7bb7 /* Build configuration list for PBXAggregateTarget ""doc clean"" */;
+ buildPhases = (
+ bfe19a07a9414999a1c9fc35 /* ShellScript */,
+ );
+ dependencies = (
+ );
+ name = "doc clean";
+ productName = "doc clean";
+ };
+ 3bd76307582f4065b2e1ec1d /* example */ = {
+ isa = PBXAggregateTarget;
+ buildConfigurationList = 2a35423dcdd247748c877d30 /* Build configuration list for PBXAggregateTarget "example" */;
+ buildPhases = (
+ bc27a9052ee64415ae582ca6 /* ShellScript */,
+ );
+ dependencies = (
+ );
+ name = example;
+ productName = example;
+ };
+ c48ac2453343488f9fbfe27e /* "example clean" */ = {
+ isa = PBXAggregateTarget;
+ buildConfigurationList = 72fbfb4dbebf4dc2910c66e0 /* Build configuration list for PBXAggregateTarget ""example clean"" */;
+ buildPhases = (
+ 49782d9ee5a042118cb50a7e /* ShellScript */,
+ );
+ dependencies = (
+ );
+ name = "example clean";
+ productName = "example clean";
+ };
+ b21d6fefd03f4f37b1385968 /* test */ = {
+ isa = PBXAggregateTarget;
+ buildConfigurationList = 08212694ea5646e4a8ad8fa5 /* Build configuration list for PBXAggregateTarget "test" */;
+ buildPhases = (
+ 68a59736238d4beb83a4bdbd /* ShellScript */,
+ );
+ dependencies = (
+ );
+ name = test;
+ productName = test;
+ };
+ da4273d967fb4a70aaa4ce5f /* "test clean" */ = {
+ isa = PBXAggregateTarget;
+ buildConfigurationList = c6d63bd837864263b22506b9 /* Build configuration list for PBXAggregateTarget ""test clean"" */;
+ buildPhases = (
+ b6630bb7894b4c178b680e84 /* ShellScript */,
+ );
+ dependencies = (
+ );
+ name = "test clean";
+ productName = "test clean";
+ };
+/* End PBXAggregateTarget section */
+
+/* Begin PBXProject section */
+ dfb280a53970474fbd0e6351 /* Project object */ = {
+ isa = PBXProject;
+ buildConfigurationList = 11ca71034ddc40628769e822 /* Build configuration list for PBXProject "$template_library$" */;
+ hasScannedForEncodings = 0;
+ projectDirPath = "";
+ targets = (
+ d9b24a4c3a6c4c688b1409e5 /* doc */,
+ 334d1671b3f940de98e05915 /* "doc clean" */,
+ 3bd76307582f4065b2e1ec1d /* example */,
+ c48ac2453343488f9fbfe27e /* "example clean" */,
+ b21d6fefd03f4f37b1385968 /* test */,
+ da4273d967fb4a70aaa4ce5f /* "test clean" */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 53f71f061c104e60b0c7568a /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "cd ../../doc
+bjam --v2 --toolset=darwin release";
+ };
+ bfe19a07a9414999a1c9fc35 /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "bjam --v2 --clean --toolset=darwin release ../../doc";
+ };
+ bc27a9052ee64415ae582ca6 /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "bjam --v2 --toolset=darwin $BUILD_STYLE ../../example";
+ };
+ 49782d9ee5a042118cb50a7e /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "bjam --v2 --clean --toolset=darwin $BUILD_STYLE ../../example";
+ };
+ 68a59736238d4beb83a4bdbd /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "bjam --v2 --toolset=darwin $BUILD_STYLE ../../test";
+ };
+ b6630bb7894b4c178b680e84 /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "bjam --v2 --clean --toolset=darwin $BUILD_STYLE ../../test";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ 466e36d2390d4fe9807623bb /* debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ };
+ name = debug;
+ };
+ 0900070b85354b7b88505d83 /* release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ };
+ name = release;
+ };
+ b97f240df3574b16900ab767 /* debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ PRODUCT_NAME = doc;
+ };
+ name = debug;
+ };
+ 6f60eba8b5dc4b9f844b8057 /* release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ GCC_ENABLE_FIX_AND_CONTINUE = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+ PRODUCT_NAME = doc;
+ ZERO_LINK = NO;
+ };
+ name = release;
+ };
+ e27c82e6bb004d228df5b11c /* debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ PRODUCT_NAME = "doc clean";
+ };
+ name = debug;
+ };
+ 315bed14eb4643a087942c07 /* release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ GCC_ENABLE_FIX_AND_CONTINUE = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+ PRODUCT_NAME = "doc clean";
+ ZERO_LINK = NO;
+ };
+ name = release;
+ };
+ afd2cb35cc4a42448ee8119a /* debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ PRODUCT_NAME = example;
+ };
+ name = debug;
+ };
+ 6848782985c646cb898b037f /* release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ GCC_ENABLE_FIX_AND_CONTINUE = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+ PRODUCT_NAME = example;
+ ZERO_LINK = NO;
+ };
+ name = release;
+ };
+ 0702d69d22584da1b74386e6 /* debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ PRODUCT_NAME = "example clean";
+ };
+ name = debug;
+ };
+ 139767db1964488f8ddb637b /* release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ GCC_ENABLE_FIX_AND_CONTINUE = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+ PRODUCT_NAME = "example clean";
+ ZERO_LINK = NO;
+ };
+ name = release;
+ };
+ 83bb4c3879e840bfb167c9b3 /* debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ PRODUCT_NAME = test;
+ };
+ name = debug;
+ };
+ 59114ab171b94a86b3526af3 /* release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ GCC_ENABLE_FIX_AND_CONTINUE = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+ PRODUCT_NAME = test;
+ ZERO_LINK = NO;
+ };
+ name = release;
+ };
+ 397edc5e0b97407db89bd88b /* debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ PRODUCT_NAME = "test clean";
+ };
+ name = debug;
+ };
+ bb63010bc8e2408b9a1ed3b5 /* release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ GCC_ENABLE_FIX_AND_CONTINUE = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+ PRODUCT_NAME = "test clean";
+ ZERO_LINK = NO;
+ };
+ name = release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 11ca71034ddc40628769e822 /* Build configuration list for PBXProject "$template_library$" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 466e36d2390d4fe9807623bb /* debug */,
+ 0900070b85354b7b88505d83 /* release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = release;
+ };
+ fafc773ede684f6d9fdfa8c4 /* Build configuration list for PBXAggregateTarget "doc" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ b97f240df3574b16900ab767 /* debug */,
+ 6f60eba8b5dc4b9f844b8057 /* release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = release;
+ };
+ b5b4b484a08b4b70a49d7bb7 /* Build configuration list for PBXAggregateTarget ""doc clean"" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ e27c82e6bb004d228df5b11c /* debug */,
+ 315bed14eb4643a087942c07 /* release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = release;
+ };
+ 2a35423dcdd247748c877d30 /* Build configuration list for PBXAggregateTarget "example" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ afd2cb35cc4a42448ee8119a /* debug */,
+ 6848782985c646cb898b037f /* release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = release;
+ };
+ 72fbfb4dbebf4dc2910c66e0 /* Build configuration list for PBXAggregateTarget ""example clean"" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 0702d69d22584da1b74386e6 /* debug */,
+ 139767db1964488f8ddb637b /* release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = release;
+ };
+ 08212694ea5646e4a8ad8fa5 /* Build configuration list for PBXAggregateTarget "test" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 83bb4c3879e840bfb167c9b3 /* debug */,
+ 59114ab171b94a86b3526af3 /* release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = release;
+ };
+ c6d63bd837864263b22506b9 /* Build configuration list for PBXAggregateTarget ""test clean"" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 397edc5e0b97407db89bd88b /* debug */,
+ bb63010bc8e2408b9a1ed3b5 /* release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = dfb280a53970474fbd0e6351 /* Project object */;
+}
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/Jamfile
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/Jamfile 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,45 @@
+# Copyright 2007 John Doe, Jane H. Dough and Jan De Man.
+# 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)
+
+
+project boost/my_library/doc ;
+
+import boostbook : boostbook ;
+using quickbook ;
+
+local loc = [ path.native [ path.pwd ] ] ;
+local root = [ path.native [ path.join [ path.pwd ] ../../.. ] ] ;
+
+xml my_library_xml : my_library.qbk ;
+doxygen my_library_doxygen
+ :
+ [ glob
+ ../../../boost/my_library/*.hpp ]
+ :
+ <doxygen:param>EXAMPLE_PATH=../example
+ <doxygen:param>STRIP_FROM_PATH=$(root)
+ <doxygen:param>STRIP_FROM_INC_PATH=$(root)
+ <doxygen:param>EXTRACT_ALL=NO
+ <doxygen:param>HIDE_UNDOC_MEMBERS=NO
+ <doxygen:param>EXTRACT_PRIVATE=NO
+ <doxygen:param>DETAILS_AT_TOP=YES
+ <doxygen:param>ENABLE_PREPROCESSING=YES
+ <doxygen:param>MACRO_EXPANSION=YES
+ <doxygen:param>SEARCH_INCLUDES=YES
+ <doxygen:param>INCLUDE_PATH=../../..
+ <doxygen:param>PREDEFINED=DOXYGEN_DOCS_ONLY
+ ;
+
+boostbook standalone
+ :
+ my_library_xml
+ my_library_doxygen
+ :
+ <xsl:param>chunk.first.sections=1
+ <xsl:param>chunk.section.depth=3
+ <xsl:param>toc.section.depth=3
+ <xsl:param>toc.max.depth=3
+ <xsl:param>generate.section.toc.level=3
+ ;
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/boostbook.css
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/boostbook.css 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,538 @@
+/*=============================================================================
+ Copyright (c) 2004 Joel de Guzman
+ http://spirit.sourceforge.net/
+
+ Use, modification and distribution is subject to 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)
+=============================================================================*/
+
+/*=============================================================================
+ Body defaults
+=============================================================================*/
+
+ body
+ {
+ margin: 1em;
+ font-family: sans-serif;
+ }
+
+/*=============================================================================
+ Paragraphs
+=============================================================================*/
+
+ p
+ {
+ text-align: left;
+ font-size: 10pt;
+ line-height: 1.15;
+ }
+
+/*=============================================================================
+ Program listings
+=============================================================================*/
+
+ /* Code on paragraphs */
+ p tt.computeroutput
+ {
+ font-size: 10pt;
+ }
+
+ pre.synopsis
+ {
+ font-size: 10pt;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ .programlisting,
+ .screen
+ {
+ font-size: 10pt;
+ display: block;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+/*=============================================================================
+ Headings
+=============================================================================*/
+
+ h1, h2, h3, h4, h5, h6
+ {
+ text-align: left;
+ margin: 1em 0em 0.5em 0em;
+ font-weight: bold;
+ }
+
+ h1 { font: 140% }
+ h2 { font: bold 140% }
+ h3 { font: bold 130% }
+ h4 { font: bold 120% }
+ h5 { font: italic 110% }
+ h6 { font: italic 100% }
+
+ /* Top page titles */
+ title,
+ h1.title,
+ h2.title
+ h3.title,
+ h4.title,
+ h5.title,
+ h6.title,
+ .refentrytitle
+ {
+ font-weight: bold;
+ margin-bottom: 1pc;
+ }
+
+ h1.title { font-size: 140% }
+ h2.title { font-size: 140% }
+ h3.title { font-size: 130% }
+ h4.title { font-size: 120% }
+ h5.title { font-size: 110% }
+ h6.title { font-size: 100% }
+
+ .section h1
+ {
+ margin: 0em 0em 0.5em 0em;
+ font-size: 140%;
+ }
+
+ .section h2 { font-size: 140% }
+ .section h3 { font-size: 130% }
+ .section h4 { font-size: 120% }
+ .section h5 { font-size: 110% }
+ .section h6 { font-size: 100% }
+
+ /* Code on titles */
+ h1 tt.computeroutput { font-size: 140% }
+ h2 tt.computeroutput { font-size: 140% }
+ h3 tt.computeroutput { font-size: 130% }
+ h4 tt.computeroutput { font-size: 120% }
+ h5 tt.computeroutput { font-size: 110% }
+ h6 tt.computeroutput { font-size: 100% }
+
+/*=============================================================================
+ Author
+=============================================================================*/
+
+ h3.author
+ {
+ font-size: 100%
+ }
+
+/*=============================================================================
+ Lists
+=============================================================================*/
+
+ li
+ {
+ font-size: 10pt;
+ line-height: 1.3;
+ }
+
+ /* Unordered lists */
+ ul
+ {
+ text-align: left;
+ }
+
+ /* Ordered lists */
+ ol
+ {
+ text-align: left;
+ }
+
+/*=============================================================================
+ Links
+=============================================================================*/
+
+ a
+ {
+ text-decoration: none; /* no underline */
+ }
+
+ a:hover
+ {
+ text-decoration: underline;
+ }
+
+/*=============================================================================
+ Spirit style navigation
+=============================================================================*/
+
+ .spirit-nav
+ {
+ text-align: right;
+ }
+
+ .spirit-nav a
+ {
+ color: white;
+ padding-left: 0.5em;
+ }
+
+ .spirit-nav img
+ {
+ border-width: 0px;
+ }
+
+/*=============================================================================
+ Table of contents
+=============================================================================*/
+
+ .toc
+ {
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.1pc 1pc 0.1pc 1pc;
+ font-size: 10pt;
+ line-height: 1.15;
+ }
+
+ .toc-main
+ {
+ width: 600;
+ text-align: center;
+ margin: 1pc 1pc 1pc 10%;
+ padding: 2pc 1pc 3pc 1pc;
+ line-height: 0.1;
+ }
+
+ .boost-toc
+ {
+ float: right;
+ padding: 0.5pc;
+ }
+
+/*=============================================================================
+ Tables
+=============================================================================*/
+
+ .table-title,
+ div.table p.title
+ {
+ margin-left: 4%;
+ padding-right: 0.5em;
+ padding-left: 0.5em;
+ }
+
+ .informaltable table,
+ .table table
+ {
+ width: 92%;
+ margin-left: 4%;
+ margin-right: 4%;
+ }
+
+ div.informaltable table,
+ div.table table
+ {
+ padding: 4px;
+ }
+
+ /* Table Cells */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ padding: 0.5em;
+ text-align: left;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ padding: 0.5em 0.5em 0.5em 0.5em;
+ border: 1pt solid white;
+ font-size: 120%;
+ }
+
+/*=============================================================================
+ Blurbs
+=============================================================================*/
+
+ div.note,
+ div.tip,
+ div.important,
+ div.caution,
+ div.warning,
+ p.blurb
+ {
+ font-size: 10pt;
+ line-height: 1.2;
+ display: block;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ p.blurb img
+ {
+ padding: 1pt;
+ }
+
+/*=============================================================================
+ Variable Lists
+=============================================================================*/
+
+ span.term
+ {
+ font-weight: bold;
+ font-size: 10pt;
+ }
+
+ div.variablelist table tbody tr td
+ {
+ text-align: left;
+ vertical-align: top;
+ padding: 0em 2em 0em 0em;
+ font-size: 10pt;
+ }
+
+ div.variablelist table tbody tr td p
+ {
+ margin: 0em 0em 0.5em 0em;
+ }
+
+ /* Make the terms in definition lists bold */
+ div.variablelist dl dt
+ {
+ font-weight: bold;
+ font-size: 10pt;
+ }
+
+ div.variablelist dl dd
+ {
+ margin: 1em 0em 1em 2em;
+ font-size: 10pt;
+ }
+
+/*=============================================================================
+ Misc
+=============================================================================*/
+
+ /* Title of books and articles in bibliographies */
+ span.title
+ {
+ font-style: italic;
+ }
+
+ span.underline
+ {
+ text-decoration: underline;
+ }
+
+ span.strikethrough
+ {
+ text-decoration: line-through;
+ }
+
+ /* Copyright, Legal Notice */
+ div div.legalnotice p
+ {
+ font-size: 8pt;
+ text-align: left
+ }
+
+/*=============================================================================
+ Colors
+=============================================================================*/
+
+ @media screen
+ {
+ /* Links */
+ a
+ {
+ color: #0C7445;
+ }
+
+ a:visited
+ {
+ color: #663974;
+ }
+
+ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
+ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
+ h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
+ {
+ text-decoration: none; /* no underline */
+ color: #000000;
+ }
+
+ /* Syntax Highlighting */
+ .keyword { color: #0000AA; }
+ .identifier { color: #000000; }
+ .special { color: #707070; }
+ .preprocessor { color: #402080; }
+ .char { color: teal; }
+ .comment { color: #800000; }
+ .string { color: teal; }
+ .number { color: teal; }
+ .white_bkd { background-color: #E8FBE9; }
+ .dk_grey_bkd { background-color: #A0DAAC; }
+
+ /* Copyright, Legal Notice */
+ .copyright
+ {
+ color: #666666;
+ font-size: small;
+ }
+
+ div div.legalnotice p
+ {
+ color: #666666;
+ }
+
+ /* Program listing */
+ pre.synopsis
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ .programlisting,
+ .screen
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Blurbs */
+ div.note,
+ div.tip,
+ div.important,
+ div.caution,
+ div.warning,
+ p.blurb
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc-main
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+
+ /* Tables */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ background-color: #E3F9E4;
+ border: 1px solid #DCDCDC;
+ }
+
+ /* Misc */
+ span.highlight
+ {
+ color: #00A000;
+ }
+ }
+
+ @media print
+ {
+ /* Links */
+ a
+ {
+ color: black;
+ }
+
+ a:visited
+ {
+ color: black;
+ }
+
+ .spirit-nav
+ {
+ display: none;
+ }
+
+ /* Program listing */
+ pre.synopsis
+ {
+ border: 1px solid gray;
+ background-color: #FAFFFB;
+ }
+
+ .programlisting,
+ .screen
+ {
+ border: 1px solid gray;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc-main
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ .informaltable table,
+ .table table
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ border-collapse: collapse;
+ background-color: #FAFFFB;
+ }
+
+ /* Tables */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ /* Misc */
+ span.highlight
+ {
+ font-weight: bold;
+ }
+ }
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/blank.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/caution.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/draft.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/home.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/important.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/next.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/note.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/prev.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/tip.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/toc-blank.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/toc-minus.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/toc-plus.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/up.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/images/warning.png
==============================================================================
Binary file. No diff available.
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/reference.css
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/html/reference.css 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,5 @@
+PRE.synopsis {
+ background-color: #e0ffff;
+ border: thin solid blue;
+ padding: 1em
+}
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/my_library.qbk
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/doc/my_library.qbk 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,46 @@
+
+[library My Library
+ [quickbook 1.4]
+ [version 0.01e-10]
+ [authors [Doe, John],[Dough, Jane H.],[De Man, Jan]]
+ [copyright 2007 John Doe, Jane H. Dough and Jan De Man]
+ [purpose Doing nothing.]
+ [license
+ 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])
+ ]
+]
+
+Welcome to the My Library! One day, it will perhaps be called
+Boost.My Library. Until then, feel free to use it to do nothing.
+
+[warning My Library is not an official Boost library.]
+
+[section:introduction Introduction]
+
+User, this is My Library. My Library, this is the user. Be nice to each other.
+
+[section:start Getting Started]
+
+The My Library is located in the my_library directory of the boost sandbox.
+
+
+You might also want to look at the [link my_library.reference reference].
+
+
+[endsect]
+
+[endsect]
+
+[xinclude my_library_doxygen.xml]
+
+[section:license License]
+
+Copyright 2007 John Doe, Jane H. Dough and Jan De Man.
+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])
+
+
+[endsect]
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/example/Jamfile
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/example/Jamfile 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,14 @@
+# Copyright 2007 John Doe, Jane H. Dough and Jan De Man.
+# 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)
+
+
+project
+ : requirements
+ <include>../../..
+ <library>/boost/test//boost_unit_test_framework/<link>static
+ <define>BOOST_ALL_NO_LIB=1
+ ;
+
+exe example : example.cpp ;
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/example/example.cpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/example/example.cpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,36 @@
+// Copyright 2007 John Doe, Jane H. Dough and Jan De Man.
+// 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)
+
+
+//[ my_library_example
+#include <boost/test/unit_test.hpp>
+using boost::unit_test::test_suite;
+
+#include <boost/my_library.hpp>
+
+void my_library_example()
+{
+ boost::my_library::my_library<int> object;
+ int x = 0;
+
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),0);
+ object.nothing(x);
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),1);
+
+ BOOST_CHECK_EQUAL(object.get_call_count(),1);
+ object.nothing(x,4);
+ BOOST_CHECK_EQUAL(object.get_call_count(),2);
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),5);
+
+} // end void my_library_example
+
+test_suite* init_unit_test_suite(int argc, char* argv[])
+{
+ test_suite* test = BOOST_TEST_SUITE( "RPC test suite" );
+ test->add(BOOST_TEST_CASE(&my_library_example));
+ return test;
+}
+
+//]
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/test/Jamfile
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/test/Jamfile 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,16 @@
+# Copyright 2007 John Doe, Jane H. Dough and Jan De Man.
+# 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)
+
+
+import testing ;
+
+project
+ : requirements
+ <include>../../..
+ <define>BOOST_ALL_NO_LIB=1
+ ;
+
+run test_nothing.cpp ;
+run test_nothing_n.cpp ;
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/test/test_nothing.cpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/test/test_nothing.cpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,20 @@
+// Copyright 2007 John Doe, Jane H. Dough and Jan De Man.
+// 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)
+
+
+#include <boost/my_library.hpp>
+
+#include <boost/test/included/test_exec_monitor.hpp>
+
+int test_main(int, char* [])
+{
+ boost::my_library::my_library<int> object;
+ int x = 0;
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),0);
+ object.nothing(x);
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),1);
+
+ return 0;
+};
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/test/test_nothing_n.cpp
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/libs/my_library/test/test_nothing_n.cpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,21 @@
+// Copyright 2007 John Doe, Jane H. Dough and Jan De Man.
+// 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)
+
+
+#include <boost/my_library.hpp>
+
+#include <boost/test/included/test_exec_monitor.hpp>
+
+int test_main(int, char* [])
+{
+ boost::my_library::my_library<int> object;
+ int x = 0;
+ BOOST_CHECK_EQUAL(object.get_call_count(),0);
+ object.nothing(x,4);
+ BOOST_CHECK_EQUAL(object.get_call_count(),1);
+ BOOST_CHECK_EQUAL(object.get_nothing_count(),4);
+
+ return 0;
+};
Added: sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/project-root.jam
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/expected/sandbox_ide/my_library/project-root.jam 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,9 @@
+# Copyright 2007 John Doe, Jane H. Dough and Jan De Man.
+# 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)
+
+
+import os ;
+
+path-constant BOOST_ROOT : [ os.environ BOOST_ROOT ] ;
Modified: sandbox/template_under_construction/file_template/libs/file_template/test/simple_template/simple_template.py
==============================================================================
--- sandbox/template_under_construction/file_template/libs/file_template/test/simple_template/simple_template.py (original)
+++ sandbox/template_under_construction/file_template/libs/file_template/test/simple_template/simple_template.py 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -9,6 +9,6 @@
template.name_replacement('$template_text$', text)
-template.all_content_replacement('$template_substitution$', 'substituted')
+template.general_content_replacement('$template_substitution$', 'substituted')
template.content_replacement(['.txt'], '$template_text$', text + ' in txt file')
template.content_replacement(['.xyz'], '$template_text$', text + ' in xyz file')
Deleted: sandbox/template_under_construction/make_template.py
==============================================================================
--- sandbox/template_under_construction/make_template.py 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
+++ (empty file)
@@ -1,546 +0,0 @@
-# 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)
-
-import os
-import time
-import shutil
-import sys
-import getopt
-import re
-
-global template
-global log
-global options
-global results
-
-class Log(object):
- def __init__(self):
- self.__level__ = 0
-
- def __prefix__(self):
- return '|'*self.__level__
-
- def __print__(self, string):
- print self.__prefix__() + string
-
- def message(self, string):
- self.__print__('/-------------------------------------------')
- self.__print__('| ' + string)
- self.__print__('+---')
-
- def phase(self, string):
- self.message(string)
- self.__level__ += 1
-
- def end(self):
- self.__level__ -= 1
-
- def line(self, string):
- self.__print__('| ' + string)
-
- def raw(self, string):
- return raw_input(self.__prefix__() + '| ' + string)
-
-
-log = Log()
-
-# The Options class holds user-specified options.
-class Options(object):
-
- # initializes the object
- # initializes self.options
- # initializes common regular expressions used for option verification
- def __init__(self):
-
- # initialize self.options
- self.options = dict()
- self.options['ignore']=list()
- self.options['fignore']=list()
-
- # initialize common regular expressions
- self.any = re.compile(r'.*\Z')
- self.boolean = re.compile(r'[yn]\Z')
- self.alnum = re.compile(r'\w+\Z')
- self.alnum_lowercase = re.compile(r'[a-z0-9_]+\Z')
-
-
- # raises an exception if the string doesn't match the regular expression
- # returns string
- def verify (self, string, regexp):
- if regexp != None and not regexp.match(string):
- raise NameError, string + ' does not match ' + regexp.pattern
- return string
-
-
- # makes the value of the option to be value, or prompts if value==None
- # value is set to the new value of the option and returned
- def make(self, option, value, prompt=None):
- if value==None:
- if (option != None):
- log.message('Enter value for option ' + option + ':')
- else:
- log.message('Enter value: ')
- if prompt==None:
- prompt = option + ': '
- value = log.raw(prompt)
-
- if option != None:
- self.options[option] = value
- return value
-
-
- # returns the value of an option. the user will be prompted if necessary.
- def get(self, option, regexp=None, default=None, prompt=None):
- if self.options.has_key(option):
- # option has already been set
- return self.verify(self.options[option], regexp)
- return self.verify(self.make(option, default, prompt), regexp)
-
-
- # returns the value (True/False) of a boolean option.
- def get_boolean(self, option, default_bool=None, prompt=None):
- if default_bool != None:
- if default_bool:
- default = 'y'
- else:
- default = 'n'
- else:
- default = None
- value = self.get(option, self.boolean, default, prompt)
- return value=='y'
-
-
-# The Replacement class models a template replacement,
-# either for file names or file content.
-class Replacement(object):
- def __init__(self, template, value):
- self.template = template
- self.value = value
- def replace(self, string):
- return string.replace(self.template, self.value)
-
-
-# Replacements is a collection of Replacement objects.
-class Replacements(list):
- def replace(self, string):
- for item in self:
- string = item.replace(string)
- return string
-
-
-# FileSpecificReplacement associates file extensions with a replacement
-class FileSpecificReplacement(Replacement):
- def __init__(self, extensions, key, value):
- Replacement.__init__(self, key, value)
- self.process_extensions = extensions
-
- def matches(self, name):
- for item in self.process_extensions:
- if name.endswith(item):
- return True
- return False
-
- def replace(self, name, string):
- if self.matches(name):
- return string.replace(self.template, self.value)
- return string
-
- def __str__(self):
- return str(self.process_extensions) + ':' + self.template + '->' + self.value
-
-
-class FileSpecificReplacements(Replacements):
- def matches(self, name):
- for item in self:
- if item.matches(name):
- return True
- return False
-
-# ContentReplacements contains both templates for specific file extensions
-# and all processable file extensions.
-class ContentReplacements:
- def __init__(self):
- self.general_replacements = Replacements()
- self.specific_replacements = FileSpecificReplacements()
-
- def replace(self, name, content):
- # check to see if we should process this file
- if not self.matches(name):
- return content
- for item in self.specific_replacements:
- content = item.replace(name, content)
- for item in self.general_replacements:
- content = item.replace(content)
- return content
-
- def matches(self, name):
- match = False
- for item in self.specific_replacements:
- if item.matches(name):
- match = True
- break
- return match
-
-# The Template class holds information about a template,
-# such as all of its options and replacements.
-class Template(object):
- def __init__(self):
- self.__file_list__ = list()
- self.__directory_list__ = list()
- self.__python_list__ = list()
-
- self.template_dir = ''
- self.options = Options()
- self.content_replacements = ContentReplacements()
- self.name_replacements = Replacements()
-
- def read_content(self, file_name):
- fin = open(file_name, "r")
- content = fin.read()
- fin.close()
- return content
-
- def submit_content(self, content):
- self.__content__ = content
-
- def append_content(self, content):
- self.__content__ += content
-
- def process_content(self, name, python=False):
- file_name = os.path.join(self.directory, name)
- if python:
- self.__content__ = ''
- global template
- template = self
- execfile(file_name + '.py')
- content = self.__content__
- else:
- if not self.content_replacements.matches(name):
- return None
- content = self.read_content(file_name)
-
- # only take the content from first $template_start$ on,
- # and convert all line breaks to '\n'
- beginning = content.find('$template_start$')
- if beginning >= 0:
- content = content[beginning:len(content)]
-
- content_lines = content.splitlines()
- if beginning >= 0:
- content_lines.pop(0)
- content = '\n'.join(content_lines) + '\n'
-
- return self.replace_content(name, content)
-
- def name_replacement(self, key, value):
- self.name_replacements.append(Replacement(key, value))
-
- def all_content_replacement(self, key, value):
- self.content_replacements.general_replacements.append(Replacement(key, value))
-
- def content_replacement(self, extensions, key, value):
- self.content_replacements.specific_replacements.append(
- FileSpecificReplacement(extensions, key, value))
-
- def replace_name(self, name):
- return self.name_replacements.replace(name)
-
- def replace_content(self, name, content):
- return self.content_replacements.replace(name, content)
-
-
- def examine(self):
- self.directory = self.options.get('template')
- self.into = self.options.get('into',None,'')
- ignore_list = self.options.get('ignore')
- fignore_list = self.options.get('fignore')
-
- cwd = os.getcwd()
- os.chdir(self.directory)
- for root, dirs, files in os.walk('.'):
- # strip the . from the root
- rest = list()
- rest_of_root = root
- while rest_of_root != '.':
- rest.insert(0, os.path.basename(rest_of_root))
- rest_of_root = os.path.dirname(rest_of_root)
- root = ''
- for item in rest:
- root = os.path.join(root, item)
- log.line(root)
-
- self.__dirs_clear__ = list()
- self.__files_clear__ = list()
-
- for name in files:
- if name.startswith('.'):
- continue
- fignored=False
- for item in fignore_list:
- if name.endswith(item):
- fignored=True
- break
- if fignored:
- continue
-
- pathname = (os.path.join(root, name))
- if name.endswith('.py'):
- content = self.read_content(os.path.join(root, name))
-
- if content.startswith('# template script'):
- execfile(pathname)
- elif content.startswith('# template file'):
- self.__python_list__.append(pathname[0:len(pathname)-3])
- else:
- self.__file_list__.append(pathname)
- else:
- self.__file_list__.append(pathname)
-
- for name in self.__files_clear__:
- self.__file_list__.remove(os.path.join(root, name))
-
- for name in dirs:
- if name.startswith('.') or \
- ignore_list.count(os.path.normpath(os.path.join(root, name)))>0:
- self.ignore_subdirectory(name)
- for name in self.__dirs_clear__:
- dirs.remove(name)
- for name in dirs:
- self.__directory_list__.append( (os.path.join(root, name)) )
-
- os.chdir(cwd)
- return self.__directory_list__, self.__file_list__, self.__python_list__
-
- def ignore_subdirectory(self, name):
- self.__dirs_clear__.append(name)
-
- def ignore_subfile(self, name):
- self.__files_clear__.append(name)
-
- def __append_resulting__(self, resulting_list, item_list, prefix):
- for name in item_list:
- if name.startswith(prefix):
- resulting_list.append(item)
- return resulting_list
-
- def resulting_directory_list(prefix):
- new_prefix = self.replace_name(prefix)
- result = list()
- return self.__append_resulting__(result, self.__directory_list__, new_prefix)
-
- def resulting_file_list(prefix):
- new_prefix = self.replace_name(prefix)
- result = list()
- self.__append_resulting__(result, self.__file_list__, new_prefix)
- return self.__append_resulting(result, self.__python_list__, new_prefix)
-
-def set_content(name, content):
- fout = open(name, "w")
- fout.write(content)
- fout.close()
-
-class Result(object):
- def __init__(self, template, source, destination):
- self.template = template
- self.source = source
- self.destination = destination
- def __str__(self):
- return str((self.template.options.get('template'), self.source, self.destination))
-
-class Results(object):
- def __init__(self):
- self.directory_list = list()
- self.file_list = list()
- self.python_list = list()
-
- def append(self, template, directory_list, file_list, python_list):
- self.__append_list__(self.directory_list, template, directory_list)
- self.__append_list__(self.file_list, template, file_list)
- self.__append_list__(self.python_list, template, python_list)
-
- def __append_list__(self, my_list, template, append_list):
- for item in append_list:
- result = Result(template, item, os.path.join(template.into,template.replace_name(item)))
- my_list.append(result)
-
- def __mkdir__(self,directory):
- parent = os.path.dirname(directory)
- if len(parent) and not os.path.exists(parent):
- self.__mkdir__(parent)
- os.mkdir(directory)
-
- def prepare(self):
- self.destination = options.get('destination', None, '.')
- if not os.path.exists(self.destination):
- self.__mkdir__(self.destination)
-
- log.message('Directories:')
- for item in self.directory_list:
- log.line(item.destination)
- self.erase(item.destination)
- for item in self.directory_list:
- path = os.path.join(self.destination, item.destination)
- if not os.path.exists(path):
- self.__mkdir__(path)
-
- log.message('Files:')
- for item in self.file_list + self.python_list:
- log.line(item.destination)
- self.erase(item.destination)
-
- def erase(self, name):
- path = os.path.join(self.destination, name)
- if os.path.exists(path):
- log.message(path + ' already exists.')
- do_erase = options.get_boolean(
- None, None, 'Erase ' + path + '? [y/n] ')
- if do_erase:
- if os.path.isfile(path):
- os.remove(path)
- if os.path.isdir(path):
- log.phase('Erasing...')
- for root, dirs, files in os.walk(path, topdown=False):
- for name in files:
- log.line(os.path.join(root, name))
- os.remove(os.path.join(root, name))
- for name in dirs:
- log.line(os.path.join(root, name))
- os.rmdir(os.path.join(root, name))
- log.line(path)
- os.rmdir(path)
- log.end()
-
- def create(self):
- log.phase('Python files...')
- for item in self.python_list:
- new_name = os.path.join(self.destination, item.destination)
- log.line(new_name)
- content = item.template.process_content(item.source, True)
- set_content(new_name, content)
- log.end()
-
- log.phase('Files...')
- for item in self.file_list:
- template = item.template
- new_name = os.path.join(self.destination, item.destination)
- log.line(new_name)
- content = item.template.process_content(item.source)
- if content:
- set_content(new_name, content)
- else:
- shutil.copy(os.path.join(item.template.directory, item.source), new_name)
- log.end()
-
- def __scan__(self, my_list, directory):
- result_list = list()
- for item in my_list:
- idir, ibase = os.path.split(item.destination)
- if os.path.normpath(idir) == os.path.normpath(directory) and result_list.count(ibase)==0:
- result_list.append(ibase)
- return result_list
-
- def files_in(self, directory):
- return self.__scan__(self.file_list + self.python_list, directory)
-
-# def file_contents_in(self, directory):
-# files = self.__scan__(self.file_list + self.python_list, directory)
-
-
- def directories_in(self, directory):
- return self.__scan__(self.directory_list, directory)
-
- def walk(self, base, directory):
- # get all files and subdirectories
- root = os.path.normpath(directory)
- dirs = self.directories_in(os.path.join(base, directory))
- files = self.files_in(os.path.join(base, directory))
- yield root, files, dirs
- for d in dirs:
- for root, files, dirs in self.walk(base, os.path.join(directory, d)):
- yield root, files, dirs
-
-# reads options from the command line
-# command line has the format:
-# python make_template.py (option=value)* ((template) (option=value)*)*
-# options specified immediately after a template are for that template only.
-# options specified at the beginning are for all templates.
-def process_command_line():
- templates = list()
- templates.append(Template())
- index = 0
-
- global_options = ['destination']
- options = templates[0].options
-
- for arg in sys.argv[1:]:
- split = arg.split('=')
- option = split[0]
- val = '='.join(split[1:len(split)])
- if len(split)==1:
- # templates can be specified without template=
- val = option
- option = 'template'
-
- # option=value sets the option
- if option=='template':
- # done with this template, move to the next
- templates.append(Template())
- index += 1
- if global_options.count(option)>0:
- options.options[option] = val
- elif option == 'ignore':
- templates[index].options.options[option].append(os.path.normpath(val))
- elif option == 'fignore':
- templates[index].options.options[option].append(val)
- else:
- templates[index].options.options[option] = val
-
- templates.pop(0)
-
- if not len(templates):
- # user never specified a template
- templates.append(Template())
- templates[0].options.get('template')
- else:
- # last set of options applies to all templates
- for t in templates[1:]:
- for option,value in options.options.iteritems():
- if not t.options.options.has_key(option):
- t.options.options[option] = value
-
- return templates, options
-
-# The main processing script.
-
-templates, options = process_command_line()
-results = Results()
-
-# template is a global variable accessible by template scripts.
-for template in templates:
-
- # We first read the template script file and run it.
- template_path = template.options.get('template')
- log.phase('Processing template ' + template_path + ' with options:')
- log.line(str(template.options.options))
-
- # We then traverse the template tree and prepare a list of
- # directories and files to be created, and process any found template
- # scripts.
- log.phase('Examining the template project tree...')
- directory_list, file_list, python_list = template.examine()
- results.append(template, directory_list, file_list, python_list)
-
- log.end()
-
- log.end()
-
-# prepare the destination tree by erasing existing files and directories.
-log.phase('Preparing destination tree...')
-results.prepare()
-log.end()
-
-log.phase('Creating file tree from template...')
-results.create()
-log.end()
Modified: sandbox/template_under_construction/sandbox/$template_library$/Jamfile
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/Jamfile (original)
+++ sandbox/template_under_construction/sandbox/$template_library$/Jamfile 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -4,7 +4,7 @@
# http://www.boost.org/LICENSE_1_0.txt)
$template_start$
-$template_python_copyright$
+$template_copyright$
use-project boost
: $(BOOST_ROOT)
Modified: sandbox/template_under_construction/sandbox/$template_library$/boost-build.jam
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/boost-build.jam (original)
+++ sandbox/template_under_construction/sandbox/$template_library$/boost-build.jam 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -4,7 +4,7 @@
# http://www.boost.org/LICENSE_1_0.txt)
$template_start$
-$template_python_copyright$
+$template_copyright$
# Set the BOOST_ROOT environment variable on your command-line or in the
# environment to point at the root of your regular Boost installation.
Modified: sandbox/template_under_construction/sandbox/$template_library$/boost/$template_library$.hpp
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/boost/$template_library$.hpp (original)
+++ sandbox/template_under_construction/sandbox/$template_library$/boost/$template_library$.hpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -4,7 +4,7 @@
// http://www.boost.org/LICENSE_1_0.txt)
$template_start$
-$template_cpp_copyright$
+$template_copyright$
#ifndef BOOST_$template_LIBRARY$_HPP
#define BOOST_$template_LIBRARY$_HPP
Modified: sandbox/template_under_construction/sandbox/$template_library$/boost/$template_library$/$template_library$.hpp
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/boost/$template_library$/$template_library$.hpp (original)
+++ sandbox/template_under_construction/sandbox/$template_library$/boost/$template_library$/$template_library$.hpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -4,7 +4,7 @@
// http://www.boost.org/LICENSE_1_0.txt)_cpp_copyright_
$template_start$
-$template_cpp_copyright$
+$template_copyright$
#ifndef BOOST_$template_LIBRARY$_$template_LIBRARY$_HPP
#define BOOST_$template_LIBRARY$_$template_LIBRARY$_HPP
Modified: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/xcodeide.py
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/xcodeide.py (original)
+++ sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/xcodeide.py 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -3,6 +3,8 @@
if template.options.get_boolean('xcodeide', False):
log.message('Processing Xcode IDE template.')
+ template.ignore('$template_library$/libs/$template_library$/build/xcodeide/$template_library$.xcodeproj/xcode_elements.py')
+ template.ignore('$template_library$/libs/$template_library$/build/xcodeide/$template_library$.xcodeproj/xcode_elements.pyc')
else:
Added: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/xcodeide/$template_library$.xcodeproj/project.pbxproj.py
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/xcodeide/$template_library$.xcodeproj/project.pbxproj.py 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,97 @@
+# template file
+
+import uuid
+
+sys_path = list(sys.path)
+print os.path.abspath(os.path.dirname(template.executing))
+sys.path.append(os.path.abspath(os.path.dirname(template.executing)))
+import xcode_elements
+sys.path = sys_path
+
+uuid_project = uuid.uuid4().get_hex()[0:24]
+uuid_project_buildConfigurationList = uuid.uuid4().get_hex()[0:24]
+uuid_project_buildPhase_debug = uuid.uuid4().get_hex()[0:24]
+uuid_project_buildPhase_release = uuid.uuid4().get_hex()[0:24]
+
+targets = [xcode_elements.Doc(), xcode_elements.DocClean(),
+ xcode_elements.Build('example'), xcode_elements.Clean('example'),
+ xcode_elements.Build('test'), xcode_elements.Clean('test') ]
+
+template.append_content(
+"""// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 42;
+ objects = {
+/* Begin PBXAggregateTarget section */""")
+
+for item in targets:
+ template.append_content(item.PBXAggregateTarget())
+template.append_content("""
+/* End PBXAggregateTarget section */
+
+/* Begin PBXProject section */
+ """ + uuid_project + """ /* Project object */ = {
+ isa = PBXProject;
+ buildConfigurationList = """ + uuid_project_buildConfigurationList + """ /* Build configuration list for PBXProject "$template_library$" */;
+ hasScannedForEncodings = 0;
+ projectDirPath = "";
+ targets = (""")
+for item in targets:
+ template.append_content("""
+ """ + item.uuid + " /* " + item.name + " */,")
+template.append_content("""
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXShellScriptBuildPhase section */""")
+
+for item in targets:
+ template.append_content(item.PBXShellScriptBuildPhase())
+
+template.append_content("""
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ """ + uuid_project_buildPhase_debug + """ /* debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ };
+ name = debug;
+ };
+ """ + uuid_project_buildPhase_release + """ /* release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ };
+ name = release;
+ };""")
+
+for item in targets:
+ template.append_content(item.XCBuildConfiguration())
+template.append_content("""
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ """ + uuid_project_buildConfigurationList + """ /* Build configuration list for PBXProject "$template_library$" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ """ + uuid_project_buildPhase_debug + """ /* debug */,
+ """ + uuid_project_buildPhase_release + """ /* release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = release;
+ };""")
+
+for item in targets:
+ template.append_content(item.XCConfigurationList())
+template.append_content("""
+/* End XCConfigurationList section */
+ };
+ rootObject = """ + uuid_project + """ /* Project object */;
+}
+""")
\ No newline at end of file
Added: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/xcodeide/$template_library$.xcodeproj/xcode_elements.py
==============================================================================
--- (empty file)
+++ sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/build/xcodeide/$template_library$.xcodeproj/xcode_elements.py 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -0,0 +1,103 @@
+import uuid
+
+class Target(object) :
+ def __init__(self, name):
+ self.name = name
+ self.uuid = uuid.uuid4().get_hex()[0:24]
+ self.uuid_buildPhase = uuid.uuid4().get_hex()[0:24]
+ self.uuid_buildConfigurationList = uuid.uuid4().get_hex()[0:24]
+ self.uuid_buildPhase_debug = uuid.uuid4().get_hex()[0:24]
+ self.uuid_buildPhase_release = uuid.uuid4().get_hex()[0:24]
+ def PBXAggregateTarget(self):
+ return """
+ """ + self.uuid + " /* " + self.name + """ */ = {
+ isa = PBXAggregateTarget;
+ buildConfigurationList = """ + self.uuid_buildConfigurationList + """ /* Build configuration list for PBXAggregateTarget \"""" + self.name + """\" */;
+ buildPhases = (
+ """ + self.uuid_buildPhase + """ /* ShellScript */,
+ );
+ dependencies = (
+ );
+ name = """ + self.name + """;
+ productName = """ + self.name + """;
+ };"""
+
+ def PBXShellScriptBuildPhase(self):
+ return """
+ """ + self.uuid_buildPhase + """ /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = \"""" + self.shell_script() + """\";
+ };"""
+
+ def XCBuildConfiguration(self) :
+ return """
+ """ + self.uuid_buildPhase_debug + """ /* debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ PRODUCT_NAME = """ + self.name + """;
+ };
+ name = debug;
+ };
+ """ + self.uuid_buildPhase_release + """ /* release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ GCC_ENABLE_FIX_AND_CONTINUE = NO;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+ PRODUCT_NAME = """ + self.name + """;
+ ZERO_LINK = NO;
+ };
+ name = release;
+ };"""
+
+ def XCConfigurationList(self) :
+ return """
+ """ + self.uuid_buildConfigurationList + """ /* Build configuration list for PBXAggregateTarget \"""" + self.name + """\" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ """ + self.uuid_buildPhase_debug + """ /* debug */,
+ """ + self.uuid_buildPhase_release + """ /* release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = release;
+ };"""
+
+class Build(Target) :
+ def __init__(self, target):
+ Target.__init__(self, target)
+ self.target = target
+ def shell_script(self):
+ return "bjam --v2 --toolset=darwin $BUILD_STYLE ../../" + self.target;
+
+class Clean(Target) :
+ def __init__(self, target):
+ Target.__init__(self, '"' + target + ' clean"')
+ self.target = target
+ def shell_script(self):
+ return "bjam --v2 --clean --toolset=darwin $BUILD_STYLE ../../" + self.target;
+
+class Doc(Target) :
+ def __init__(self):
+ Target.__init__(self, 'doc')
+ def shell_script(self):
+ return "cd ../../doc\nbjam --v2 --toolset=darwin release";
+
+class DocClean(Target) :
+ def __init__(self):
+ Target.__init__(self, '"doc clean"')
+ self.target = 'doc'
+ def shell_script(self):
+ return "bjam --v2 --clean --toolset=darwin release ../../" + self.target;
Modified: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/$template_library$.qbk.py
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/$template_library$.qbk.py (original)
+++ sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/$template_library$.qbk.py 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -11,8 +11,8 @@
[library $template_Library$
[quickbook 1.4]
[version 0.01e-10]
- [authors $template_author_reversed$]
- [copyright $template_year$ $template_author$]
+ [authors $template_authors_reversed$]
+ [copyright $template_year$ $template_authors$]
[purpose Doing nothing.]
[license
Distributed under the Boost Software License, Version 1.0.
Modified: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/Jamfile.py
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/Jamfile.py (original)
+++ sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/Jamfile.py 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -6,10 +6,11 @@
# http://www.boost.org/LICENSE_1_0.txt)
docs = template.options.get('docs')
-doxygen = docs != 'qb'
+doxygen = docs != 'qb'
+htmlfiles = template.options.get('htmlfiles', None, 'local')
template.append_content("""$template_start$
-$template_python_copyright$
+$template_copyright$
project boost/$template_library$/doc ;
@@ -80,6 +81,14 @@
<xsl:param>toc.section.depth=3
<xsl:param>toc.max.depth=3
<xsl:param>generate.section.toc.level=3
- ;
+""")
+
+if htmlfiles=='global':
+ template.append_content('<xsl:param>boost.root=http://www.boost.org\n')
+elif htmlfiles!='local':
+ template.append_content('<xsl:param>boost.root=' + htmlfiles + '\n')
+
+template.append_content(
+""" ;
""")
Modified: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/dox/$template_library$.hpp
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/dox/$template_library$.hpp (original)
+++ sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/dox/$template_library$.hpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -4,7 +4,7 @@
// http://www.boost.org/LICENSE_1_0.txt)_cpp_copyright_
$template_start$
-$template_cpp_copyright$
+$template_copyright$
namespace boost {
Modified: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/html/boostbook.css
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/html/boostbook.css (original)
+++ sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/html/boostbook.css 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -1,538 +1,538 @@
-/*=============================================================================
- Copyright (c) 2004 Joel de Guzman
- http://spirit.sourceforge.net/
-
- Use, modification and distribution is subject to 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)
-=============================================================================*/
-
-/*=============================================================================
- Body defaults
-=============================================================================*/
-
- body
- {
- margin: 1em;
- font-family: sans-serif;
- }
-
-/*=============================================================================
- Paragraphs
-=============================================================================*/
-
- p
- {
- text-align: left;
- font-size: 10pt;
- line-height: 1.15;
- }
-
-/*=============================================================================
- Program listings
-=============================================================================*/
-
- /* Code on paragraphs */
- p tt.computeroutput
- {
- font-size: 10pt;
- }
-
- pre.synopsis
- {
- font-size: 10pt;
- margin: 1pc 4% 0pc 4%;
- padding: 0.5pc 0.5pc 0.5pc 0.5pc;
- }
-
- .programlisting,
- .screen
- {
- font-size: 10pt;
- display: block;
- margin: 1pc 4% 0pc 4%;
- padding: 0.5pc 0.5pc 0.5pc 0.5pc;
- }
-
-/*=============================================================================
- Headings
-=============================================================================*/
-
- h1, h2, h3, h4, h5, h6
- {
- text-align: left;
- margin: 1em 0em 0.5em 0em;
- font-weight: bold;
- }
-
- h1 { font: 140% }
- h2 { font: bold 140% }
- h3 { font: bold 130% }
- h4 { font: bold 120% }
- h5 { font: italic 110% }
- h6 { font: italic 100% }
-
- /* Top page titles */
- title,
- h1.title,
- h2.title
- h3.title,
- h4.title,
- h5.title,
- h6.title,
- .refentrytitle
- {
- font-weight: bold;
- margin-bottom: 1pc;
- }
-
- h1.title { font-size: 140% }
- h2.title { font-size: 140% }
- h3.title { font-size: 130% }
- h4.title { font-size: 120% }
- h5.title { font-size: 110% }
- h6.title { font-size: 100% }
-
- .section h1
- {
- margin: 0em 0em 0.5em 0em;
- font-size: 140%;
- }
-
- .section h2 { font-size: 140% }
- .section h3 { font-size: 130% }
- .section h4 { font-size: 120% }
- .section h5 { font-size: 110% }
- .section h6 { font-size: 100% }
-
- /* Code on titles */
- h1 tt.computeroutput { font-size: 140% }
- h2 tt.computeroutput { font-size: 140% }
- h3 tt.computeroutput { font-size: 130% }
- h4 tt.computeroutput { font-size: 120% }
- h5 tt.computeroutput { font-size: 110% }
- h6 tt.computeroutput { font-size: 100% }
-
-/*=============================================================================
- Author
-=============================================================================*/
-
- h3.author
- {
- font-size: 100%
- }
-
-/*=============================================================================
- Lists
-=============================================================================*/
-
- li
- {
- font-size: 10pt;
- line-height: 1.3;
- }
-
- /* Unordered lists */
- ul
- {
- text-align: left;
- }
-
- /* Ordered lists */
- ol
- {
- text-align: left;
- }
-
-/*=============================================================================
- Links
-=============================================================================*/
-
- a
- {
- text-decoration: none; /* no underline */
- }
-
- a:hover
- {
- text-decoration: underline;
- }
-
-/*=============================================================================
- Spirit style navigation
-=============================================================================*/
-
- .spirit-nav
- {
- text-align: right;
- }
-
- .spirit-nav a
- {
- color: white;
- padding-left: 0.5em;
- }
-
- .spirit-nav img
- {
- border-width: 0px;
- }
-
-/*=============================================================================
- Table of contents
-=============================================================================*/
-
- .toc
- {
- margin: 1pc 4% 0pc 4%;
- padding: 0.1pc 1pc 0.1pc 1pc;
- font-size: 10pt;
- line-height: 1.15;
- }
-
- .toc-main
- {
- width: 600;
- text-align: center;
- margin: 1pc 1pc 1pc 10%;
- padding: 2pc 1pc 3pc 1pc;
- line-height: 0.1;
- }
-
- .boost-toc
- {
- float: right;
- padding: 0.5pc;
- }
-
-/*=============================================================================
- Tables
-=============================================================================*/
-
- .table-title,
- div.table p.title
- {
- margin-left: 4%;
- padding-right: 0.5em;
- padding-left: 0.5em;
- }
-
- .informaltable table,
- .table table
- {
- width: 92%;
- margin-left: 4%;
- margin-right: 4%;
- }
-
- div.informaltable table,
- div.table table
- {
- padding: 4px;
- }
-
- /* Table Cells */
- div.informaltable table tr td,
- div.table table tr td
- {
- padding: 0.5em;
- text-align: left;
- }
-
- div.informaltable table tr th,
- div.table table tr th
- {
- padding: 0.5em 0.5em 0.5em 0.5em;
- border: 1pt solid white;
- font-size: 120%;
- }
-
-/*=============================================================================
- Blurbs
-=============================================================================*/
-
- div.note,
- div.tip,
- div.important,
- div.caution,
- div.warning,
- p.blurb
- {
- font-size: 10pt;
- line-height: 1.2;
- display: block;
- margin: 1pc 4% 0pc 4%;
- padding: 0.5pc 0.5pc 0.5pc 0.5pc;
- }
-
- p.blurb img
- {
- padding: 1pt;
- }
-
-/*=============================================================================
- Variable Lists
-=============================================================================*/
-
- span.term
- {
- font-weight: bold;
- font-size: 10pt;
- }
-
- div.variablelist table tbody tr td
- {
- text-align: left;
- vertical-align: top;
- padding: 0em 2em 0em 0em;
- font-size: 10pt;
- }
-
- div.variablelist table tbody tr td p
- {
- margin: 0em 0em 0.5em 0em;
- }
-
- /* Make the terms in definition lists bold */
- div.variablelist dl dt
- {
- font-weight: bold;
- font-size: 10pt;
- }
-
- div.variablelist dl dd
- {
- margin: 1em 0em 1em 2em;
- font-size: 10pt;
- }
-
-/*=============================================================================
- Misc
-=============================================================================*/
-
- /* Title of books and articles in bibliographies */
- span.title
- {
- font-style: italic;
- }
-
- span.underline
- {
- text-decoration: underline;
- }
-
- span.strikethrough
- {
- text-decoration: line-through;
- }
-
- /* Copyright, Legal Notice */
- div div.legalnotice p
- {
- font-size: 8pt;
- text-align: left
- }
-
-/*=============================================================================
- Colors
-=============================================================================*/
-
- @media screen
- {
- /* Links */
- a
- {
- color: #0C7445;
- }
-
- a:visited
- {
- color: #663974;
- }
-
- h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
- h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
- h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
- {
- text-decoration: none; /* no underline */
- color: #000000;
- }
-
- /* Syntax Highlighting */
- .keyword { color: #0000AA; }
- .identifier { color: #000000; }
- .special { color: #707070; }
- .preprocessor { color: #402080; }
- .char { color: teal; }
- .comment { color: #800000; }
- .string { color: teal; }
- .number { color: teal; }
- .white_bkd { background-color: #E8FBE9; }
- .dk_grey_bkd { background-color: #A0DAAC; }
-
- /* Copyright, Legal Notice */
- .copyright
- {
- color: #666666;
- font-size: small;
- }
-
- div div.legalnotice p
- {
- color: #666666;
- }
-
- /* Program listing */
- pre.synopsis
- {
- border: 1px solid #DCDCDC;
- border-bottom: 3px solid #9D9D9D;
- border-right: 3px solid #9D9D9D;
- background-color: #FAFFFB;
- }
-
- .programlisting,
- .screen
- {
- border: 1px solid #DCDCDC;
- border-bottom: 3px solid #9D9D9D;
- border-right: 3px solid #9D9D9D;
- background-color: #FAFFFB;
- }
-
- /* Blurbs */
- div.note,
- div.tip,
- div.important,
- div.caution,
- div.warning,
- p.blurb
- {
- border: 1px solid #DCDCDC;
- border-bottom: 3px solid #9D9D9D;
- border-right: 3px solid #9D9D9D;
- background-color: #FAFFFB;
- }
-
- /* Table of contents */
- .toc
- {
- border: 1px solid #DCDCDC;
- border-bottom: 3px solid #9D9D9D;
- border-right: 3px solid #9D9D9D;
- background-color: #FAFFFB;
- }
-
- /* Table of contents */
- .toc-main
- {
- border: 1px solid #DCDCDC;
- border-bottom: 3px solid #9D9D9D;
- border-right: 3px solid #9D9D9D;
- background-color: #FAFFFB;
- }
-
-
- /* Tables */
- div.informaltable table tr td,
- div.table table tr td
- {
- border: 1px solid #DCDCDC;
- background-color: #FAFFFB;
- }
-
- div.informaltable table tr th,
- div.table table tr th
- {
- background-color: #E3F9E4;
- border: 1px solid #DCDCDC;
- }
-
- /* Misc */
- span.highlight
- {
- color: #00A000;
- }
- }
-
- @media print
- {
- /* Links */
- a
- {
- color: black;
- }
-
- a:visited
- {
- color: black;
- }
-
- .spirit-nav
- {
- display: none;
- }
-
- /* Program listing */
- pre.synopsis
- {
- border: 1px solid gray;
- background-color: #FAFFFB;
- }
-
- .programlisting,
- .screen
- {
- border: 1px solid gray;
- background-color: #FAFFFB;
- }
-
- /* Table of contents */
- .toc
- {
- border: 1px solid #DCDCDC;
- border-bottom: 3px solid #9D9D9D;
- border-right: 3px solid #9D9D9D;
- background-color: #FAFFFB;
- }
-
- /* Table of contents */
- .toc-main
- {
- border: 1px solid #DCDCDC;
- border-bottom: 3px solid #9D9D9D;
- border-right: 3px solid #9D9D9D;
- background-color: #FAFFFB;
- }
-
- .informaltable table,
- .table table
- {
- border: 1px solid #DCDCDC;
- border-bottom: 3px solid #9D9D9D;
- border-right: 3px solid #9D9D9D;
- border-collapse: collapse;
- background-color: #FAFFFB;
- }
-
- /* Tables */
- div.informaltable table tr td,
- div.table table tr td
- {
- border: 1px solid #DCDCDC;
- background-color: #FAFFFB;
- }
-
- div.informaltable table tr th,
- div.table table tr th
- {
- border: 1px solid #DCDCDC;
- background-color: #FAFFFB;
- }
-
- /* Misc */
- span.highlight
- {
- font-weight: bold;
- }
- }
+/*=============================================================================
+ Copyright (c) 2004 Joel de Guzman
+ http://spirit.sourceforge.net/
+
+ Use, modification and distribution is subject to 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)
+=============================================================================*/
+
+/*=============================================================================
+ Body defaults
+=============================================================================*/
+
+ body
+ {
+ margin: 1em;
+ font-family: sans-serif;
+ }
+
+/*=============================================================================
+ Paragraphs
+=============================================================================*/
+
+ p
+ {
+ text-align: left;
+ font-size: 10pt;
+ line-height: 1.15;
+ }
+
+/*=============================================================================
+ Program listings
+=============================================================================*/
+
+ /* Code on paragraphs */
+ p tt.computeroutput
+ {
+ font-size: 10pt;
+ }
+
+ pre.synopsis
+ {
+ font-size: 10pt;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ .programlisting,
+ .screen
+ {
+ font-size: 10pt;
+ display: block;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+/*=============================================================================
+ Headings
+=============================================================================*/
+
+ h1, h2, h3, h4, h5, h6
+ {
+ text-align: left;
+ margin: 1em 0em 0.5em 0em;
+ font-weight: bold;
+ }
+
+ h1 { font: 140% }
+ h2 { font: bold 140% }
+ h3 { font: bold 130% }
+ h4 { font: bold 120% }
+ h5 { font: italic 110% }
+ h6 { font: italic 100% }
+
+ /* Top page titles */
+ title,
+ h1.title,
+ h2.title
+ h3.title,
+ h4.title,
+ h5.title,
+ h6.title,
+ .refentrytitle
+ {
+ font-weight: bold;
+ margin-bottom: 1pc;
+ }
+
+ h1.title { font-size: 140% }
+ h2.title { font-size: 140% }
+ h3.title { font-size: 130% }
+ h4.title { font-size: 120% }
+ h5.title { font-size: 110% }
+ h6.title { font-size: 100% }
+
+ .section h1
+ {
+ margin: 0em 0em 0.5em 0em;
+ font-size: 140%;
+ }
+
+ .section h2 { font-size: 140% }
+ .section h3 { font-size: 130% }
+ .section h4 { font-size: 120% }
+ .section h5 { font-size: 110% }
+ .section h6 { font-size: 100% }
+
+ /* Code on titles */
+ h1 tt.computeroutput { font-size: 140% }
+ h2 tt.computeroutput { font-size: 140% }
+ h3 tt.computeroutput { font-size: 130% }
+ h4 tt.computeroutput { font-size: 120% }
+ h5 tt.computeroutput { font-size: 110% }
+ h6 tt.computeroutput { font-size: 100% }
+
+/*=============================================================================
+ Author
+=============================================================================*/
+
+ h3.author
+ {
+ font-size: 100%
+ }
+
+/*=============================================================================
+ Lists
+=============================================================================*/
+
+ li
+ {
+ font-size: 10pt;
+ line-height: 1.3;
+ }
+
+ /* Unordered lists */
+ ul
+ {
+ text-align: left;
+ }
+
+ /* Ordered lists */
+ ol
+ {
+ text-align: left;
+ }
+
+/*=============================================================================
+ Links
+=============================================================================*/
+
+ a
+ {
+ text-decoration: none; /* no underline */
+ }
+
+ a:hover
+ {
+ text-decoration: underline;
+ }
+
+/*=============================================================================
+ Spirit style navigation
+=============================================================================*/
+
+ .spirit-nav
+ {
+ text-align: right;
+ }
+
+ .spirit-nav a
+ {
+ color: white;
+ padding-left: 0.5em;
+ }
+
+ .spirit-nav img
+ {
+ border-width: 0px;
+ }
+
+/*=============================================================================
+ Table of contents
+=============================================================================*/
+
+ .toc
+ {
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.1pc 1pc 0.1pc 1pc;
+ font-size: 10pt;
+ line-height: 1.15;
+ }
+
+ .toc-main
+ {
+ width: 600;
+ text-align: center;
+ margin: 1pc 1pc 1pc 10%;
+ padding: 2pc 1pc 3pc 1pc;
+ line-height: 0.1;
+ }
+
+ .boost-toc
+ {
+ float: right;
+ padding: 0.5pc;
+ }
+
+/*=============================================================================
+ Tables
+=============================================================================*/
+
+ .table-title,
+ div.table p.title
+ {
+ margin-left: 4%;
+ padding-right: 0.5em;
+ padding-left: 0.5em;
+ }
+
+ .informaltable table,
+ .table table
+ {
+ width: 92%;
+ margin-left: 4%;
+ margin-right: 4%;
+ }
+
+ div.informaltable table,
+ div.table table
+ {
+ padding: 4px;
+ }
+
+ /* Table Cells */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ padding: 0.5em;
+ text-align: left;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ padding: 0.5em 0.5em 0.5em 0.5em;
+ border: 1pt solid white;
+ font-size: 120%;
+ }
+
+/*=============================================================================
+ Blurbs
+=============================================================================*/
+
+ div.note,
+ div.tip,
+ div.important,
+ div.caution,
+ div.warning,
+ p.blurb
+ {
+ font-size: 10pt;
+ line-height: 1.2;
+ display: block;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ p.blurb img
+ {
+ padding: 1pt;
+ }
+
+/*=============================================================================
+ Variable Lists
+=============================================================================*/
+
+ span.term
+ {
+ font-weight: bold;
+ font-size: 10pt;
+ }
+
+ div.variablelist table tbody tr td
+ {
+ text-align: left;
+ vertical-align: top;
+ padding: 0em 2em 0em 0em;
+ font-size: 10pt;
+ }
+
+ div.variablelist table tbody tr td p
+ {
+ margin: 0em 0em 0.5em 0em;
+ }
+
+ /* Make the terms in definition lists bold */
+ div.variablelist dl dt
+ {
+ font-weight: bold;
+ font-size: 10pt;
+ }
+
+ div.variablelist dl dd
+ {
+ margin: 1em 0em 1em 2em;
+ font-size: 10pt;
+ }
+
+/*=============================================================================
+ Misc
+=============================================================================*/
+
+ /* Title of books and articles in bibliographies */
+ span.title
+ {
+ font-style: italic;
+ }
+
+ span.underline
+ {
+ text-decoration: underline;
+ }
+
+ span.strikethrough
+ {
+ text-decoration: line-through;
+ }
+
+ /* Copyright, Legal Notice */
+ div div.legalnotice p
+ {
+ font-size: 8pt;
+ text-align: left
+ }
+
+/*=============================================================================
+ Colors
+=============================================================================*/
+
+ @media screen
+ {
+ /* Links */
+ a
+ {
+ color: #0C7445;
+ }
+
+ a:visited
+ {
+ color: #663974;
+ }
+
+ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
+ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
+ h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
+ {
+ text-decoration: none; /* no underline */
+ color: #000000;
+ }
+
+ /* Syntax Highlighting */
+ .keyword { color: #0000AA; }
+ .identifier { color: #000000; }
+ .special { color: #707070; }
+ .preprocessor { color: #402080; }
+ .char { color: teal; }
+ .comment { color: #800000; }
+ .string { color: teal; }
+ .number { color: teal; }
+ .white_bkd { background-color: #E8FBE9; }
+ .dk_grey_bkd { background-color: #A0DAAC; }
+
+ /* Copyright, Legal Notice */
+ .copyright
+ {
+ color: #666666;
+ font-size: small;
+ }
+
+ div div.legalnotice p
+ {
+ color: #666666;
+ }
+
+ /* Program listing */
+ pre.synopsis
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ .programlisting,
+ .screen
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Blurbs */
+ div.note,
+ div.tip,
+ div.important,
+ div.caution,
+ div.warning,
+ p.blurb
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc-main
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+
+ /* Tables */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ background-color: #E3F9E4;
+ border: 1px solid #DCDCDC;
+ }
+
+ /* Misc */
+ span.highlight
+ {
+ color: #00A000;
+ }
+ }
+
+ @media print
+ {
+ /* Links */
+ a
+ {
+ color: black;
+ }
+
+ a:visited
+ {
+ color: black;
+ }
+
+ .spirit-nav
+ {
+ display: none;
+ }
+
+ /* Program listing */
+ pre.synopsis
+ {
+ border: 1px solid gray;
+ background-color: #FAFFFB;
+ }
+
+ .programlisting,
+ .screen
+ {
+ border: 1px solid gray;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc-main
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ .informaltable table,
+ .table table
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ border-collapse: collapse;
+ background-color: #FAFFFB;
+ }
+
+ /* Tables */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ /* Misc */
+ span.highlight
+ {
+ font-weight: bold;
+ }
+ }
Modified: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/html/reference.css
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/html/reference.css (original)
+++ sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/html/reference.css 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -1,5 +1,5 @@
-PRE.synopsis {
- background-color: #e0ffff;
- border: thin solid blue;
- padding: 1em
-}
+PRE.synopsis {
+ background-color: #e0ffff;
+ border: thin solid blue;
+ padding: 1em
+}
Modified: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/options.py
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/options.py (original)
+++ sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/doc/options.py 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -6,6 +6,10 @@
# http://www.boost.org/LICENSE_1_0.txt)
docs = template.options.get('docs')
+htmlfiles = template.options.get('htmlfiles', None, 'local')
if docs != 'qb+doxy':
template.ignore_subdirectory('dox')
+
+if htmlfiles!='local':
+ template.ignore('$template_library$/libs/$template_library$/doc/html/images')
Modified: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/example/Jamfile
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/example/Jamfile (original)
+++ sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/example/Jamfile 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -4,7 +4,7 @@
# http://www.boost.org/LICENSE_1_0.txt)
$template_start$
-$template_python_copyright$
+$template_copyright$
project
: requirements
Modified: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/example/example.cpp
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/example/example.cpp (original)
+++ sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/example/example.cpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -4,7 +4,7 @@
// http://www.boost.org/LICENSE_1_0.txt)
$template_start$
-$template_cpp_copyright$
+$template_copyright$
//[ $template_library$_example
#include <boost/test/unit_test.hpp>
Modified: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/test/Jamfile.py
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/test/Jamfile.py (original)
+++ sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/test/Jamfile.py 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -5,7 +5,7 @@
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
-template.append_content("""$template_python_copyright$
+template.append_content("""$template_copyright$
import testing ;
Modified: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/test/test_nothing.cpp
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/test/test_nothing.cpp (original)
+++ sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/test/test_nothing.cpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -4,7 +4,7 @@
// http://www.boost.org/LICENSE_1_0.txt)
$template_start$
-$template_cpp_copyright$
+$template_copyright$
#include <boost/$template_library$.hpp>
Modified: sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/test/test_nothing_n.cpp
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/test/test_nothing_n.cpp (original)
+++ sandbox/template_under_construction/sandbox/$template_library$/libs/$template_library$/test/test_nothing_n.cpp 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -4,7 +4,7 @@
// http://www.boost.org/LICENSE_1_0.txt)
$template_start$
-$template_cpp_copyright$
+$template_copyright$
#include <boost/$template_library$.hpp>
Modified: sandbox/template_under_construction/sandbox/$template_library$/project-root.jam
==============================================================================
--- sandbox/template_under_construction/sandbox/$template_library$/project-root.jam (original)
+++ sandbox/template_under_construction/sandbox/$template_library$/project-root.jam 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -4,7 +4,7 @@
# http://www.boost.org/LICENSE_1_0.txt)
$template_start$
-$template_python_copyright$
+$template_copyright$
import os ;
Modified: sandbox/template_under_construction/sandbox/sandbox.py
==============================================================================
--- sandbox/template_under_construction/sandbox/sandbox.py (original)
+++ sandbox/template_under_construction/sandbox/sandbox.py 2007-06-25 13:41:41 EDT (Mon, 25 Jun 2007)
@@ -17,41 +17,43 @@
library_name_capitalized = ' '.join(library_name_list_capitalized)
library_name_concat_capitalized = ''.join(library_name_list_capitalized)
-_copyright = """_COMMENT_Copyright $template_year$ $template_author$.
+_copyright = """_COMMENT_Copyright $template_year$ $template_authors$.
_COMMENT_Distributed under the Boost Software License, Version 1.0. (See
_COMMENT_accompanying file LICENSE_1_0.txt or copy at
_COMMENT_http://www.boost.org/LICENSE_1_0.txt)
"""
-author_list = template.options.get('author', template.options.any, None,
+author_list = template.options.get('authors', template.options.any, None,
'(comma separated, no spaces outside names, e.g., "My Name,Notmy R. Name": ')
author_list = author_list.split(',')
-author_reversed = list()
+authors_reversed = list()
for name in author_list:
names = name.split(" ")
first = names[0:len(names)-1]
- last = names[len(names)-1:len(names)]
- author_reversed.append('[' + ' '.join(last) + ', ' + ' '.join(first) + ']')
+ last = names[len(names)-1].split('_')
+ authors_reversed.append('[' + ' '.join(last) + ', ' + ' '.join(first) + ']')
if len(author_list) > 1:
author_list = (','.join(author_list[0:len(author_list)-1]) +
" and " + author_list[len(author_list)-1]).replace(',', ', ')
else:
author_list = author_list[0]
+
+author_list = author_list.replace('_',' ')
template.name_replacement('$template_library$', library_name)
-template.all_content_replacement('$template_library$', library_name)
-template.all_content_replacement('$template_Library$', library_name_capitalized)
-template.all_content_replacement('$template_LibraryConcat$', library_name_concat_capitalized)
-template.all_content_replacement('$template_LIBRARY$', library_name.upper())
-template.all_content_replacement('$template_Boost_Library$', 'Boost.' + library_name_capitalized)
-template.content_replacement(['.v2', '.jam', 'Jamfile'], '$template_python_copyright$', _copyright.replace('_COMMENT_','# '))
-template.content_replacement(['.hpp', '.cpp'], '$template_cpp_copyright$', _copyright.replace('_COMMENT_','// '))
+template.general_content_replacement('$template_library$', library_name)
+template.general_content_replacement('$template_Library$', library_name_capitalized)
+template.general_content_replacement('$template_LibraryConcat$', library_name_concat_capitalized)
+template.general_content_replacement('$template_LIBRARY$', library_name.upper())
+template.general_content_replacement('$template_Boost_Library$', 'Boost.' + library_name_capitalized)
+template.content_replacement(['.v2', '.jam', 'Jamfile', '.qbk', '.py'], '$template_copyright$', _copyright.replace('_COMMENT_','# '))
+template.content_replacement(['.hpp', '.cpp'], '$template_copyright$', _copyright.replace('_COMMENT_','// '))
template.content_replacement(['.qbk'], '$template_qbk_copyright$',(_copyright.replace('_COMMENT_',''))
.replace('http://www.boost.org/LICENSE_1_0.txt',
'[@http://www.boost.org/LICENSE_1_0.txt]'))
-template.all_content_replacement('$template_author_reversed$', ','.join(author_reversed))
-template.all_content_replacement('$template_author$', author_list)
-template.all_content_replacement('$template_year$', str(time.localtime().tm_year))
+template.general_content_replacement('$template_authors_reversed$', ','.join(authors_reversed))
+template.general_content_replacement('$template_authors$', author_list)
+template.general_content_replacement('$template_year$', str(time.localtime().tm_year))
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