summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/PrecompileHeaders/non-pch.cpp
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2019-07-31 14:08:49 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-28 15:47:51 (GMT)
commit577293016430115a2d7dec5e3588f12bcabc96ec (patch)
treeae4f18039e69cb1df2b3bb7e015e6eeaf1c6cf48 /Tests/RunCMake/PrecompileHeaders/non-pch.cpp
parent519606704eac6df1314ec6691a1b77d2131a6dbc (diff)
downloadCMake-577293016430115a2d7dec5e3588f12bcabc96ec.zip
CMake-577293016430115a2d7dec5e3588f12bcabc96ec.tar.gz
CMake-577293016430115a2d7dec5e3588f12bcabc96ec.tar.bz2
Precompile headers: Add unit tests
Diffstat (limited to 'Tests/RunCMake/PrecompileHeaders/non-pch.cpp')
-rw-r--r--Tests/RunCMake/PrecompileHeaders/non-pch.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/PrecompileHeaders/non-pch.cpp b/Tests/RunCMake/PrecompileHeaders/non-pch.cpp
new file mode 100644
index 0000000..df5a79f
--- /dev/null
+++ b/Tests/RunCMake/PrecompileHeaders/non-pch.cpp
@@ -0,0 +1,3 @@
+#ifdef PCH_INCLUDED
+# error "PCH must not be included into this file!"
+#endif