📄 jamfile
字号:
# (C) Copyright Rene Rivera, 2002.
# 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)
# Example of how to use a template target declared in another project.
# This is for Boost.Build-V1
subproject tools/build/examples/template_use/sub ;
# Declare a library target. This 'inherits' the attributes of
# the template which in this case adds the needed include
# directory. Because templates are "special" targets they
# appear in the source dependencies section and must be
# a relative reference to the template target in it's declared
# location.
#
lib simple
:
# SOURCES
<template>../t-common
simple_lib.cpp
:
# REQUIREMENTS
:
# DEFAULT BUILDS
debug <threading>single/multi
;
# Declare an executable target that also uses the template,
# and the above library target.
#
exe simple
:
# SOURCES
<template>../t-common
simple.cpp
<lib>simple
:
# REQUIREMENTS
<threading>multi
:
# DEFAULT BUILDS
;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -