$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r53303 - trunk/libs/spirit/repository/test
From: hartmut.kaiser_at_[hidden]
Date: 2009-05-27 12:09:06
Author: hkaiser
Date: 2009-05-27 12:09:01 EDT (Wed, 27 May 2009)
New Revision: 53303
URL: http://svn.boost.org/trac/boost/changeset/53303
Log:
Spirit: added missing build system files to repository tests
Added:
   trunk/libs/spirit/repository/test/CMakeLists.txt   (contents, props changed)
   trunk/libs/spirit/repository/test/Jamfile   (contents, props changed)
Added: trunk/libs/spirit/repository/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ trunk/libs/spirit/repository/test/CMakeLists.txt	2009-05-27 12:09:01 EDT (Wed, 27 May 2009)
@@ -0,0 +1,25 @@
+#   Copyright (c) 2001-2009 Joel de Guzman
+#   Copyright (c) 2001-2009 Hartmut Kaiser
+#
+#   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)
+#==============================================================================
+
+include_directories(.)
+
+boost_additional_test_dependencies(spirit_repository BOOST_DEPENDS spirit)
+
+message(STATUS "Boost/libs/spirit/repository/test needs GCC C++ -ftemplate-depth-300 flag")
+message(STATUS "Check libs/spirit/repository/test: need -Wall -Wunused here when under gcc")
+
+set(test_compile_flags "")
+IF(CMAKE_COMPILER_IS_GNUCC)
+  SET(test_compile_flags "-ftemplate-depth-300")
+ENDIF(CMAKE_COMPILER_IS_GNUCC)
+
+# run Qi repository tests
+
+# run Karma repository tests
+boost_test_run(karma_repo_confix karma/confix.cpp COMPILE_FLAGS ${test_compile_flags})
+
Added: trunk/libs/spirit/repository/test/Jamfile
==============================================================================
--- (empty file)
+++ trunk/libs/spirit/repository/test/Jamfile	2009-05-27 12:09:01 EDT (Wed, 27 May 2009)
@@ -0,0 +1,31 @@
+#==============================================================================
+#   Copyright (c) 2001-2009 Joel de Guzman
+#   Copyright (c) 2001-2009 Hartmut Kaiser
+#
+#   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)
+#==============================================================================
+project spirit_v2_repository/test
+    : requirements
+        <include>.
+        <toolset>gcc:<cxxflags>-ftemplate-depth-300
+        <toolset>darwin:<cxxflags>-ftemplate-depth-300
+    :
+    :
+    ;
+
+# bring in rules for testing
+import testing ;
+
+{
+    test-suite spirit_v2_repository :
+
+    # run Qi repository tests
+
+    # run Karma repository tests
+    [ run karma/confix.cpp                  : : : : karma_repo_confix ]
+
+    ;
+}
+