mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Changed project layout
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@460 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
b22842eade
commit
3358ddda0e
55 changed files with 32 additions and 0 deletions
26
build/jam/Jamfile.jam
Normal file
26
build/jam/Jamfile.jam
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Turtle mock library
|
||||
#
|
||||
# Copyright Mathieu Champlon 2012
|
||||
#
|
||||
# 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 ;
|
||||
|
||||
run [ glob test_*.cpp ] /boost//unit_test_framework ;
|
||||
|
||||
compile-fail fail_ambiguous_mock_method.cpp ;
|
||||
compile-fail fail_constraint_functor_not_compatible.cpp ;
|
||||
compile-fail fail_constraint_value_not_comparable.cpp ;
|
||||
compile-fail fail_constraint_value_of_wrong_type_in_builtin_constraint.cpp ;
|
||||
compile-fail fail_mismatch_type_in_returns_int_action.cpp ;
|
||||
compile-fail fail_mismatch_type_in_returns_string_action.cpp ;
|
||||
compile-fail fail_mismatch_type_in_returns_void_action.cpp ;
|
||||
compile-fail fail_non_existing_base_class_method_in_mock_method.cpp ;
|
||||
compile-fail fail_number_of_arguments_greater_than_max_constant.cpp ;
|
||||
compile-fail fail_template_argument_without_tpl_macro.cpp ;
|
||||
compile-fail fail_too_many_arguments_in_mock_method.cpp ;
|
||||
compile-fail fail_wrong_number_of_arguments_in_with.cpp ;
|
||||
|
||||
# How to time bench_*.cpp compilation ?
|
||||
28
build/jam/Jamfile.v2
Normal file
28
build/jam/Jamfile.v2
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Copyright Rene Rivera 2007.
|
||||
#
|
||||
# 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)
|
||||
|
||||
# Usage:
|
||||
#
|
||||
# bjam [options | properties | targets]
|
||||
#
|
||||
# Options:
|
||||
#
|
||||
# --boost=<BOOST> The directory of a Boost source tree.
|
||||
# Default; BOOST env var (if found)
|
||||
# Default; ../boost (if found)
|
||||
#
|
||||
# --boost-build=<BOOST_BUILD>
|
||||
# The directory for the Boost.Build v2 files.
|
||||
# Default; BOOST_BUILD_PATH env var (if found)
|
||||
# Default; BOOST_BUILD env var (if found)
|
||||
# Default; <BOOST>/tools/build/v2 (if found)
|
||||
|
||||
#~ If we have the Boost sources we can use the project...
|
||||
|
||||
if [ GLOB $(BOOST) : [ modules.peek project : JAMFILE ] ]
|
||||
{
|
||||
use-project /boost : $(BOOST) ;
|
||||
}
|
||||
9
build/jam/Jamroot.jam
Normal file
9
build/jam/Jamroot.jam
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
import modules ;
|
||||
|
||||
local boost = [ modules.peek : BOOST ] ;
|
||||
|
||||
project turtle : requirements <include>$(boost) <include>. ;
|
||||
|
||||
# This seems to prevent some Boost.Build errors that otherwise occur :-(
|
||||
use-project /boost : $(boost) ;
|
||||
Loading…
Add table
Add a link
Reference in a new issue