summaryrefslogtreecommitdiff
path: root/deps/gyp/test/win/precompiled/hello.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/win/precompiled/hello.gyp')
-rw-r--r--deps/gyp/test/win/precompiled/hello.gyp28
1 files changed, 28 insertions, 0 deletions
diff --git a/deps/gyp/test/win/precompiled/hello.gyp b/deps/gyp/test/win/precompiled/hello.gyp
new file mode 100644
index 0000000000..5f82c53593
--- /dev/null
+++ b/deps/gyp/test/win/precompiled/hello.gyp
@@ -0,0 +1,28 @@
+# Copyright (c) 2012 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'hello',
+ 'type': 'executable',
+ 'sources': [
+ 'hello.c',
+ 'hello2.c',
+ 'precomp.c',
+ ],
+ 'msvs_precompiled_header': 'stdio.h',
+ 'msvs_precompiled_source': 'precomp.c',
+
+ # Required so that the printf actually causes a build failure
+ # if the pch isn't included.
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'WarningLevel': '3',
+ 'WarnAsError': 'true',
+ },
+ },
+ },
+ ],
+}