From 7bfe45673eef532de3f780c22a2952b03bdda94f Mon Sep 17 00:00:00 2001 From: mat007 Date: Fri, 14 Jan 2011 17:04:43 +0000 Subject: [PATCH] Added dummy application in order to bench the memory required for using the library in a precompiled header git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@186 860be788-9bd5-4423-9f1e-828f051e677b --- build/vc80/pch_test.vcproj | 221 ++++++++++++++++++++++++++++++++ src/tests/pch_test/pch_test.cpp | 14 ++ src/tests/pch_test/pch_test.h | 51 ++++++++ 3 files changed, 286 insertions(+) create mode 100644 build/vc80/pch_test.vcproj create mode 100644 src/tests/pch_test/pch_test.cpp create mode 100644 src/tests/pch_test/pch_test.h diff --git a/build/vc80/pch_test.vcproj b/build/vc80/pch_test.vcproj new file mode 100644 index 0000000..00cf533 --- /dev/null +++ b/build/vc80/pch_test.vcproj @@ -0,0 +1,221 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/tests/pch_test/pch_test.cpp b/src/tests/pch_test/pch_test.cpp new file mode 100644 index 0000000..d51f909 --- /dev/null +++ b/src/tests/pch_test/pch_test.cpp @@ -0,0 +1,14 @@ +// +// Copyright Mathieu Champlon 2008 +// +// 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 "pch_test.h" + +int main() +{ + return 0; +} diff --git a/src/tests/pch_test/pch_test.h b/src/tests/pch_test/pch_test.h new file mode 100644 index 0000000..8cd8e40 --- /dev/null +++ b/src/tests/pch_test/pch_test.h @@ -0,0 +1,51 @@ +// +// Copyright Mathieu Champlon 2011 +// +// 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 +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include +//#include + +#include +//#include + +// release vc80 +// +// xeumeuleu/xml.h 24 + +// boost/shared_ptr.hpp 5 +// boost/bind.hpp 6 +// boost/type_traits.hpp 19 +// boost/function_types/function_type.hpp 19 +// boost/function.hpp 23 +// boost/function.hpp + boost/bind.hpp 25 +// boost/lambda/lambda.hpp 25 +// boost/lambda/bind.hpp 22 +// boost/function_types/function_type.hpp + boost/type_traits.hpp 36 +// boost/spirit/home/phoenix/core.hpp 46 +// +// boost/test/auto_unit_test.hpp 27 +// turtle/mock.hpp 89 +// boost/test/auto_unit_test.hpp + turtle/mock.hpp 93 +// +// all boost includes from turtle 89 + +// getting rid of : +// boost/bind 3 +// function_type 13 +// boost/phoenix 31