Visual Studio

时间:2015-09-10 11:47:13

标签: c++ visual-studio precompiled-headers gyp

gyp 是否能够为MS Visual Studio的C ++项目生成预编译的头文件选项?

有一个名为WindowsPrecompiledHeaders的文档,但现在它是404。目前的gyp文档中没有关于它的信息。

Google网络缓存也不包含它。

有没有关于它的文档?

1 个答案:

答案 0 :(得分:2)

很简单:

.gyp

#!/bin/bash set -x echo "starting..." begin () { threshold=60 while read host do finder done <hosts.txt } finder () { ssh ops@$host 'df -h' | grep -o '[0-9]\+%'| grep -o '[0-9]\+'| while read percent do if [ $percent -gt $threshold ] then path=`ssh ops@$host 'df -h' | tr -s " " | grep -oE "$percent% /[a-z]\+|$percent% /" | cut -d " " -f2` echo "Alert! Time to wipe off! It is $percent% in \"$path\" at $host" else echo "Info: It is $percent in $path at $host" fi done } begin 文件中给定目标。