mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 13:22:11 +00:00
30 lines
753 B
Plaintext
30 lines
753 B
Plaintext
# (C) Copyright Rene Rivera, 2003.
|
|
#
|
|
# See accompanying license for terms and conditions of use.
|
|
#
|
|
|
|
# Example of how to define and depend on a library target.
|
|
# This is for Boost.Build-V1
|
|
|
|
subproject sublib ;
|
|
|
|
# Declare the library target. Composed of a single source file.
|
|
# The real name of the target will vary according to the build
|
|
# build platform. For example in Unix it will generate a file
|
|
# named "libsimple.a".
|
|
#
|
|
# In this example the default build is given so that it builds
|
|
# two default versions of the library: debug with single-threading,
|
|
# and debug with multi-threading.
|
|
#
|
|
lib simple
|
|
:
|
|
# SOURCES
|
|
simple_lib.cpp
|
|
:
|
|
# REQUIREMENTS
|
|
:
|
|
# DEFAULT BUILDS
|
|
debug <threading>single/multi
|
|
;
|