summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VS10Project/VsPrecompileHeaders.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/VS10Project/VsPrecompileHeaders.cmake')
-rw-r--r--Tests/RunCMake/VS10Project/VsPrecompileHeaders.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/VS10Project/VsPrecompileHeaders.cmake b/Tests/RunCMake/VS10Project/VsPrecompileHeaders.cmake
new file mode 100644
index 0000000..6d208c9
--- /dev/null
+++ b/Tests/RunCMake/VS10Project/VsPrecompileHeaders.cmake
@@ -0,0 +1,4 @@
+project(VsPrecompileHeaders CXX)
+
+add_library(tgt SHARED empty.cxx)
+target_precompile_headers(tgt PRIVATE stdafx.h)