mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-03 06:24:39 -04:00
Squashed 'boost/' content from commit b4feb19f2
git-subtree-dir: boost git-subtree-split: b4feb19f287ee92d87a9624b5d36b7cf46aeadeb
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// Copyright Vladimir Prus 2004.
|
||||
// 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)
|
||||
|
||||
void l();
|
||||
int main() { l(); return 0; }
|
||||
@@ -0,0 +1,11 @@
|
||||
# Copyright 2004 Vladimir Prus
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
# By default, build the project with the two variants we have defined in
|
||||
# jamroot.jam.
|
||||
|
||||
project : default-build crazy super_release ;
|
||||
|
||||
exe a : a.cpp libs//l ;
|
||||
@@ -0,0 +1,14 @@
|
||||
# Copyright 2004 Vladimir Prus
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
# Define a build variant which is just combination
|
||||
# of four properties.
|
||||
variant crazy : <optimization>speed <inlining>off
|
||||
<debug-symbols>on <profiling>on ;
|
||||
|
||||
# Define a built variant inherited from 'release'.
|
||||
# It defines one new property and get all properties
|
||||
# from parent variant.
|
||||
variant super_release : release : <define>USE_ASM ;
|
||||
@@ -0,0 +1,6 @@
|
||||
# Copyright 2004 Vladimir Prus
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
lib l : l.cpp ;
|
||||
@@ -0,0 +1,9 @@
|
||||
// Copyright Vladimir Prus 2002-2004.
|
||||
// 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 _WIN32
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
void l() {}
|
||||
@@ -0,0 +1,11 @@
|
||||
Copyright 2004 Vladimir Prus
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
This example shows how user can create his own build variants. Two variants are
|
||||
defined: "crazy", which is just a random combination of properties, and
|
||||
"super-release", which is inherited from "release", and differs by a single
|
||||
define.
|
||||
|
||||
See the jamroot.jam for the definitions.
|
||||
Reference in New Issue
Block a user