early-access version 3088

This commit is contained in:
pineappleEA
2022-11-05 15:35:56 +01:00
parent 4e4fc25ce3
commit b601909c6d
35519 changed files with 5996896 additions and 860 deletions

View File

@@ -0,0 +1,17 @@
/*
Copyright Rene Rivera 2019
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)
*/
#ifndef B2_EXAMPLE_PCH_MULTI_EXTRA_META_HPP
#define B2_EXAMPLE_PCH_MULTI_EXTRA_META_HPP
#include <type_traits>
#include <functional>
#include <typeindex>
#include <tuple>
#endif

View File

@@ -0,0 +1,19 @@
/* Copyright 2006 Vladimir Prus
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)
*/
#ifdef BOOST_BUILD_PCH_ENABLED
#ifdef FOO2
int bar();
#endif
class TestClass {
public:
TestClass(int, int) {}
};
#endif

View File

@@ -0,0 +1,16 @@
/*
Copyright Rene Rivera 2019
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)
*/
#ifndef B2_EXAMPLE_PCH_MULTI_STD_HPP
#define B2_EXAMPLE_PCH_MULTI_STD_HPP
#include <iostream>
#include <vector>
#include <algorithm>
#endif

View File

@@ -0,0 +1,30 @@
# Copyright 2006 Ilya Sokolov
#
# Distributed under the Boost Software License, Version 1.0. (See
# accompanying file LICENSE.txt or copy at
# https://www.bfgroup.xyz/b2/LICENSE.txt)
# pch ##########################################################################
import pch ;
local pchs ;
for local hpp in [ glob-tree *.hpp ]
{
cpp-pch $(hpp:B) : $(hpp) : <include>include ;
explicit $(hpp:B) ;
pchs += $(hpp:B) ;
}
alias headers : $(pchs) ;
# exe ##########################################################################
exe hello_world
: # sources
headers
source/hello_world.cpp
: # requirements
<include>include
: # default build
: # usage requirements
;

View File

@@ -0,0 +1,17 @@
/* Copyright 2006 Ilya Sokolov
Copyright 2006 Vladimir Prus
Distributed under the Boost Software License, Version 1.0. (See
accompanying file LICENSE.txt or copy at
https://www.bfgroup.xyz/b2/LICENSE.txt)
*/
#include <pch.hpp>
#include <std.hpp>
#include <extra/meta.hpp>
int main()
{
TestClass c(1, 2);
return 0;
}