pch.h
1 // pch.h: This is a precompiled header file. 2 // Files listed below are compiled only once, improving build performance for future builds. 3 // This also affects IntelliSense performance, including code completion and many code browsing features. 4 // However, files listed here are ALL re-compiled if any one of them is updated between builds. 5 // Do not add files here that you will be updating frequently as this negates the performance advantage. 6 7 #ifndef PCH_H 8 #define PCH_H 9 10 // add headers that you want to pre-compile here 11 #include <Windows.h> 12 #include <winrt/base.h> 13 #include <winrt/Windows.Foundation.h> 14 #include <winrt/Windows.Foundation.Collections.h> 15 16 // Suppressing 26466 - Don't use static_cast downcasts - in CppUnitTest.h 17 #pragma warning(push) 18 #pragma warning(disable : 26466) 19 #include "CppUnitTest.h" 20 #pragma warning(pop) 21 22 #endif //PCH_H