⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jamfile3

📁 C++的一个好库。。。现在很流行
💻
字号:

# This Jamfile is the same as Jamfile2, except that
# it tries to access prebuilt targets using absolute
# paths. It used to be broken on Windows.

import modules ;

local dll-suffix = so ;
local prefix = "" ;
if [ modules.peek : OS ] in CYGWIN NT
{
   if $toolset = gcc
   {
      dll-suffix = dll ;
   }
   else
   {
      dll-suffix = lib ;
   }
}
else
{
   prefix = "lib" ;      
}
if $toolset = darwin
{
   dll-suffix = dylib ;
}

project ext ;

# Assumed bjam was invoked from the project root
local pwd = [ PWD ] ;

lib a : 
    : <file>$(pwd)/ext/bin/$toolset/debug/$(prefix)a.$(dll-suffix) <variant>debug
    :
    : <include>debug
    ;
    
lib a :
    : <file>$(pwd)/ext/bin/$toolset/release/$(prefix)a.$(dll-suffix) <variant>release
    :
    : <include>release
    ;
    

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -