From 4075c742f0a3bc90f895585083de3a646434de9e Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 2 Oct 2015 21:47:40 +0100 Subject: Slash the amount of inclusion in pre-compiled headers --- project2/basics/Jamfile.jam | 1 + project2/basics/pch.hpp | 15 ++------------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/project2/basics/Jamfile.jam b/project2/basics/Jamfile.jam index f8ea872..e1be712 100644 --- a/project2/basics/Jamfile.jam +++ b/project2/basics/Jamfile.jam @@ -13,6 +13,7 @@ cpp-pch pch : pch.hpp : ; lib p2basics : + pch [ glob-tree *.cpp : unittests ] : . diff --git a/project2/basics/pch.hpp b/project2/basics/pch.hpp index 67ec9b4..2bbfaf4 100644 --- a/project2/basics/pch.hpp +++ b/project2/basics/pch.hpp @@ -2,25 +2,14 @@ #ifndef COMMON_PCH #define COMMON_PCH -#include #include #include #include #include -#include -#include -#include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include #endif #endif -- cgit v1.2.3