|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63722 - in sandbox/SOC/2010/graph: . libs/test
From: asutton_at_[hidden]
Date: 2010-07-07 09:34:12
Author: asutton
Date: 2010-07-07 09:34:10 EDT (Wed, 07 Jul 2010)
New Revision: 63722
URL: http://svn.boost.org/trac/boost/changeset/63722
Log:
Added a basic build structure for the project.
Added:
sandbox/SOC/2010/graph/Jamroot (contents, props changed)
sandbox/SOC/2010/graph/libs/test/Jamfile (contents, props changed)
sandbox/SOC/2010/graph/libs/test/test.cpp (contents, props changed)
Added: sandbox/SOC/2010/graph/Jamroot
==============================================================================
--- (empty file)
+++ sandbox/SOC/2010/graph/Jamroot 2010-07-07 09:34:10 EDT (Wed, 07 Jul 2010)
@@ -0,0 +1,13 @@
+
+
+# Import the os module so we can read the environment.
+import os ;
+
+# Normally, you wouldn't need to reference BOOST_ROOT. It's explicitly defined
+# in the Jamroot file in the Boost trunk. Since we're not in that source tree
+# we need to configure it.
+path-constant BOOST_ROOT : [ os.environ BOOST_ROOT ] ;
+
+# We'll define this for convenience. This is the root of your project.
+path-constant SOC_ROOT : . ;
+
Added: sandbox/SOC/2010/graph/libs/test/Jamfile
==============================================================================
--- (empty file)
+++ sandbox/SOC/2010/graph/libs/test/Jamfile 2010-07-07 09:34:10 EDT (Wed, 07 Jul 2010)
@@ -0,0 +1,24 @@
+
+# Import the testing module so we can generate test cases.
+import testing ;
+
+# If you really want to see the values of the path constants...
+# ECHO $(BOOST_ROOT) ;
+# ECHO $(SOC_ROOT) ;
+
+# Declaring a project causes targets within this module to inherit the
+# properties of the target. Here, we're adding to the include paths. Note that
+# the order may matter. If you're creating new versions of existing files,
+# you want your include path searched before the Boost include structure.
+project libs/graph/test
+ : requirements
+ <include>$(SOC_ROOT)
+ <include>$(BOOST_ROOT)
+ ;
+
+# The test-suite defines a set of programs that will be compiled and executed
+# as part of the test suite.
+test-suite graph_test
+ :
+ [ run test.cpp ]
+ ;
Added: sandbox/SOC/2010/graph/libs/test/test.cpp
==============================================================================
--- (empty file)
+++ sandbox/SOC/2010/graph/libs/test/test.cpp 2010-07-07 09:34:10 EDT (Wed, 07 Jul 2010)
@@ -0,0 +1,6 @@
+
+#include <boost/graph/graph_traits.hpp>
+
+int main() {
+
+}
\ No newline at end of file
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