msvc-config.jam
来自「C++的一个好库。。。现在很流行」· JAM 代码 · 共 29 行
JAM
29 行
#~ Copyright 2005 Rene Rivera.
#~ 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)
# Automatic configuration for VisualStudio toolset. To use, just import this module.
import os ;
import toolset : using ;
if [ os.name ] = NT
{
for local R in 8.0 7.1 7.0
{
local vc-path = [ W32_GETREG
"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\$(R)\\Setup\\VC"
: "ProductDir" ] ;
local vc-version = $(R) ;
if $(vc-path)
{
if --debug-configuration in [ modules.peek : ARGV ]
{
ECHO "notice:" using msvc ":" $(vc-version) ":" "$(vc-path)\\bin\\cl.exe" ;
}
using msvc : $(vc-version) : "$(vc-path)\\bin\\cl.exe" ;
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?