diff options
author | Brad King <brad.king@kitware.com> | 2016-04-29 13:07:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-04-29 14:56:59 (GMT) |
commit | eb817be034e0fd50b7abfc3ae032e2e06cbfd040 (patch) | |
tree | d392cd77a0ebf56dd2519c40b94b3b4fbe673b9e | |
parent | eda313b485a9252c176090a8c358127a2116551d (diff) | |
download | CMake-eb817be034e0fd50b7abfc3ae032e2e06cbfd040.zip CMake-eb817be034e0fd50b7abfc3ae032e2e06cbfd040.tar.gz CMake-eb817be034e0fd50b7abfc3ae032e2e06cbfd040.tar.bz2 |
Tests: Stabilize include order in MFC, VSXaml, and VSWinStorePhone
These tests use a precompiled header that must be included first.
Include the header in an isolated block so that tools that sort
includes do not move it.
-rw-r--r-- | Tests/MFC/mfc1/ChildFrm.cpp | 2 | ||||
-rw-r--r-- | Tests/MFC/mfc1/MainFrm.cpp | 1 | ||||
-rw-r--r-- | Tests/MFC/mfc1/mfc1.cpp | 1 | ||||
-rw-r--r-- | Tests/MFC/mfc1/mfc1Doc.cpp | 1 | ||||
-rw-r--r-- | Tests/MFC/mfc1/mfc1View.cpp | 1 | ||||
-rw-r--r-- | Tests/VSWinStorePhone/Direct3DApp1/CubeRenderer.cpp | 1 | ||||
-rw-r--r-- | Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.cpp | 1 | ||||
-rw-r--r-- | Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.h | 1 | ||||
-rw-r--r-- | Tests/VSWinStorePhone/Direct3DApp1/Direct3DBase.cpp | 1 | ||||
-rw-r--r-- | Tests/VSXaml/App.xaml.cpp | 3 | ||||
-rw-r--r-- | Tests/VSXaml/MainPage.xaml.cpp | 1 |
11 files changed, 13 insertions, 1 deletions
diff --git a/Tests/MFC/mfc1/ChildFrm.cpp b/Tests/MFC/mfc1/ChildFrm.cpp index b04c4f2..889cceb 100644 --- a/Tests/MFC/mfc1/ChildFrm.cpp +++ b/Tests/MFC/mfc1/ChildFrm.cpp @@ -1,6 +1,8 @@ // ChildFrm.cpp : implementation of the CChildFrame class // + #include "stdafx.h" + #include "mfc1.h" #include "ChildFrm.h" diff --git a/Tests/MFC/mfc1/MainFrm.cpp b/Tests/MFC/mfc1/MainFrm.cpp index 44554bf..222c3da 100644 --- a/Tests/MFC/mfc1/MainFrm.cpp +++ b/Tests/MFC/mfc1/MainFrm.cpp @@ -2,6 +2,7 @@ // #include "stdafx.h" + #include "mfc1.h" #include "MainFrm.h" diff --git a/Tests/MFC/mfc1/mfc1.cpp b/Tests/MFC/mfc1/mfc1.cpp index 9530cd2..057e1d5 100644 --- a/Tests/MFC/mfc1/mfc1.cpp +++ b/Tests/MFC/mfc1/mfc1.cpp @@ -2,6 +2,7 @@ // #include "stdafx.h" + #include "mfc1.h" #include "MainFrm.h" diff --git a/Tests/MFC/mfc1/mfc1Doc.cpp b/Tests/MFC/mfc1/mfc1Doc.cpp index 8767052..db76b06 100644 --- a/Tests/MFC/mfc1/mfc1Doc.cpp +++ b/Tests/MFC/mfc1/mfc1Doc.cpp @@ -2,6 +2,7 @@ // #include "stdafx.h" + #include "mfc1.h" #include "mfc1Doc.h" diff --git a/Tests/MFC/mfc1/mfc1View.cpp b/Tests/MFC/mfc1/mfc1View.cpp index 06c7652..8000302 100644 --- a/Tests/MFC/mfc1/mfc1View.cpp +++ b/Tests/MFC/mfc1/mfc1View.cpp @@ -2,6 +2,7 @@ // #include "stdafx.h" + #include "mfc1.h" #include "mfc1Doc.h" diff --git a/Tests/VSWinStorePhone/Direct3DApp1/CubeRenderer.cpp b/Tests/VSWinStorePhone/Direct3DApp1/CubeRenderer.cpp index f4827f2..7632388 100644 --- a/Tests/VSWinStorePhone/Direct3DApp1/CubeRenderer.cpp +++ b/Tests/VSWinStorePhone/Direct3DApp1/CubeRenderer.cpp @@ -1,4 +1,5 @@ #include "pch.h" + #include "CubeRenderer.h" using namespace DirectX; diff --git a/Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.cpp b/Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.cpp index 3dbb97f..3cfc589 100644 --- a/Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.cpp +++ b/Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.cpp @@ -1,4 +1,5 @@ #include "pch.h" + #include "Direct3DApp1.h" #include "BasicTimer.h" diff --git a/Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.h b/Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.h index 40b69a1..6861e44 100644 --- a/Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.h +++ b/Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.h @@ -1,6 +1,7 @@ #pragma once #include "pch.h" + #include "CubeRenderer.h" ref class Direct3DApp1 sealed : public Windows::ApplicationModel::Core::IFrameworkView diff --git a/Tests/VSWinStorePhone/Direct3DApp1/Direct3DBase.cpp b/Tests/VSWinStorePhone/Direct3DApp1/Direct3DBase.cpp index 46727b5..f09c8da 100644 --- a/Tests/VSWinStorePhone/Direct3DApp1/Direct3DBase.cpp +++ b/Tests/VSWinStorePhone/Direct3DApp1/Direct3DBase.cpp @@ -1,4 +1,5 @@ #include "pch.h" + #include "Direct3DBase.h" using namespace DirectX; diff --git a/Tests/VSXaml/App.xaml.cpp b/Tests/VSXaml/App.xaml.cpp index 334dc1f..2cb2b32 100644 --- a/Tests/VSXaml/App.xaml.cpp +++ b/Tests/VSXaml/App.xaml.cpp @@ -4,6 +4,7 @@ // #include "pch.h" + #include "MainPage.xaml.h" using namespace VSXaml; @@ -122,4 +123,4 @@ void App::OnSuspending(Object^ sender, SuspendingEventArgs^ e) void App::OnNavigationFailed(Platform::Object ^sender, Windows::UI::Xaml::Navigation::NavigationFailedEventArgs ^e) { throw ref new FailureException("Failed to load Page " + e->SourcePageType.Name); -}
\ No newline at end of file +} diff --git a/Tests/VSXaml/MainPage.xaml.cpp b/Tests/VSXaml/MainPage.xaml.cpp index d0a64e8..63f2dec 100644 --- a/Tests/VSXaml/MainPage.xaml.cpp +++ b/Tests/VSXaml/MainPage.xaml.cpp @@ -4,6 +4,7 @@ // #include "pch.h" + #include "MainPage.xaml.h" using namespace VSXaml; |