diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2019-07-31 14:08:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-28 15:47:51 (GMT) |
commit | 577293016430115a2d7dec5e3588f12bcabc96ec (patch) | |
tree | ae4f18039e69cb1df2b3bb7e015e6eeaf1c6cf48 /Tests/RunCMake/VS10Project/VsPrecompileHeaders.cmake | |
parent | 519606704eac6df1314ec6691a1b77d2131a6dbc (diff) | |
download | CMake-577293016430115a2d7dec5e3588f12bcabc96ec.zip CMake-577293016430115a2d7dec5e3588f12bcabc96ec.tar.gz CMake-577293016430115a2d7dec5e3588f12bcabc96ec.tar.bz2 |
Precompile headers: Add unit tests
Diffstat (limited to 'Tests/RunCMake/VS10Project/VsPrecompileHeaders.cmake')
-rw-r--r-- | Tests/RunCMake/VS10Project/VsPrecompileHeaders.cmake | 4 |
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) |