summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-04-29 09:07:46 -0400
committerBrad King <brad.king@kitware.com>2016-04-29 10:56:59 -0400
commiteb817be034e0fd50b7abfc3ae032e2e06cbfd040 (patch)
treed392cd77a0ebf56dd2519c40b94b3b4fbe673b9e
parenteda313b485a9252c176090a8c358127a2116551d (diff)
downloadcmake-eb817be034e0fd50b7abfc3ae032e2e06cbfd040.tar.gz
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.cpp2
-rw-r--r--Tests/MFC/mfc1/MainFrm.cpp1
-rw-r--r--Tests/MFC/mfc1/mfc1.cpp1
-rw-r--r--Tests/MFC/mfc1/mfc1Doc.cpp1
-rw-r--r--Tests/MFC/mfc1/mfc1View.cpp1
-rw-r--r--Tests/VSWinStorePhone/Direct3DApp1/CubeRenderer.cpp1
-rw-r--r--Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.cpp1
-rw-r--r--Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.h1
-rw-r--r--Tests/VSWinStorePhone/Direct3DApp1/Direct3DBase.cpp1
-rw-r--r--Tests/VSXaml/App.xaml.cpp3
-rw-r--r--Tests/VSXaml/MainPage.xaml.cpp1
11 files changed, 13 insertions, 1 deletions
diff --git a/Tests/MFC/mfc1/ChildFrm.cpp b/Tests/MFC/mfc1/ChildFrm.cpp
index b04c4f2314..889ccebecd 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 44554bf4c8..222c3dae39 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 9530cd2b94..057e1d5738 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 8767052ed2..db76b060d9 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 06c765230f..800030216e 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 f4827f2d67..7632388128 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 3dbb97f105..3cfc5891b1 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 40b69a1734..6861e44acd 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 46727b5ff3..f09c8daef2 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 334dc1f9c4..2cb2b3284d 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 d0a64e8b2a..63f2decf82 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;