Hongtae Kim преди 8 години
родител
ревизия
5df7a15c4b
променени са 10 файла, в които са добавени 87 реда и са изтрити 309 реда
  1. 2
    0
      .gitignore
  2. 25
    0
      DKGL2_Test.sln
  3. 0
    62
      TestApp1/ReadMe.txt
  4. 13
    167
      TestApp1/TestApp1.cpp
  5. 0
    3
      TestApp1/TestApp1.h
  6. 30
    23
      TestApp1/TestApp1.vcxproj
  7. 17
    37
      TestApp1/TestApp1.vcxproj.filters
  8. 0
    0
      TestApp1/Win32/stdafx.h
  9. 0
    9
      TestApp1/main.cpp
  10. 0
    8
      TestApp1/stdafx.cpp

+ 2
- 0
.gitignore Целия файл

@@ -67,3 +67,5 @@ Build/**
67 67
 # separated workspace file inside xcodeproj
68 68
 **/*.xcodeproj/project.xcworkspace
69 69
 
70
+# DKGL symbolic link
71
+DK

+ 25
- 0
DKGL2_Test.sln Целия файл

@@ -5,6 +5,15 @@ VisualStudioVersion = 14.0.25420.1
5 5
 MinimumVisualStudioVersion = 10.0.40219.1
6 6
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestApp1", "TestApp1\TestApp1.vcxproj", "{AE0AF61D-F069-4AFA-AE24-A75C6A233B37}"
7 7
 EndProject
8
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0CA00995-2506-4B04-A0EB-9AED77B1ED60}"
9
+	ProjectSection(SolutionItems) = preProject
10
+		.gitignore = .gitignore
11
+	EndProjectSection
12
+EndProject
13
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DK", "DK\DK.vcxproj", "{0CE28749-43B7-473E-B463-49EC2EF8B43B}"
14
+EndProject
15
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DK_static", "DK\DK_static.vcxproj", "{C7312831-A3F6-4E7D-962B-6786972F0A6A}"
16
+EndProject
8 17
 Global
9 18
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 19
 		Debug|x64 = Debug|x64
@@ -21,6 +30,22 @@ Global
21 30
 		{AE0AF61D-F069-4AFA-AE24-A75C6A233B37}.Release|x64.Build.0 = Release|x64
22 31
 		{AE0AF61D-F069-4AFA-AE24-A75C6A233B37}.Release|x86.ActiveCfg = Release|Win32
23 32
 		{AE0AF61D-F069-4AFA-AE24-A75C6A233B37}.Release|x86.Build.0 = Release|Win32
33
+		{0CE28749-43B7-473E-B463-49EC2EF8B43B}.Debug|x64.ActiveCfg = Debug|x64
34
+		{0CE28749-43B7-473E-B463-49EC2EF8B43B}.Debug|x64.Build.0 = Debug|x64
35
+		{0CE28749-43B7-473E-B463-49EC2EF8B43B}.Debug|x86.ActiveCfg = Debug|Win32
36
+		{0CE28749-43B7-473E-B463-49EC2EF8B43B}.Debug|x86.Build.0 = Debug|Win32
37
+		{0CE28749-43B7-473E-B463-49EC2EF8B43B}.Release|x64.ActiveCfg = Release|x64
38
+		{0CE28749-43B7-473E-B463-49EC2EF8B43B}.Release|x64.Build.0 = Release|x64
39
+		{0CE28749-43B7-473E-B463-49EC2EF8B43B}.Release|x86.ActiveCfg = Release|Win32
40
+		{0CE28749-43B7-473E-B463-49EC2EF8B43B}.Release|x86.Build.0 = Release|Win32
41
+		{C7312831-A3F6-4E7D-962B-6786972F0A6A}.Debug|x64.ActiveCfg = Debug|x64
42
+		{C7312831-A3F6-4E7D-962B-6786972F0A6A}.Debug|x64.Build.0 = Debug|x64
43
+		{C7312831-A3F6-4E7D-962B-6786972F0A6A}.Debug|x86.ActiveCfg = Debug|Win32
44
+		{C7312831-A3F6-4E7D-962B-6786972F0A6A}.Debug|x86.Build.0 = Debug|Win32
45
+		{C7312831-A3F6-4E7D-962B-6786972F0A6A}.Release|x64.ActiveCfg = Release|x64
46
+		{C7312831-A3F6-4E7D-962B-6786972F0A6A}.Release|x64.Build.0 = Release|x64
47
+		{C7312831-A3F6-4E7D-962B-6786972F0A6A}.Release|x86.ActiveCfg = Release|Win32
48
+		{C7312831-A3F6-4E7D-962B-6786972F0A6A}.Release|x86.Build.0 = Release|Win32
24 49
 	EndGlobalSection
25 50
 	GlobalSection(SolutionProperties) = preSolution
26 51
 		HideSolutionNode = FALSE

+ 0
- 62
TestApp1/ReadMe.txt Целия файл

@@ -1,62 +0,0 @@
1
-========================================================================
2
-    WIN32 APPLICATION : TestApp1 Project Overview
3
-========================================================================
4
-
5
-AppWizard has created this TestApp1 application for you.
6
-
7
-This file contains a summary of what you will find in each of the files that
8
-make up your TestApp1 application.
9
-
10
-
11
-TestApp1.vcxproj
12
-    This is the main project file for VC++ projects generated using an Application Wizard.
13
-    It contains information about the version of Visual C++ that generated the file, and
14
-    information about the platforms, configurations, and project features selected with the
15
-    Application Wizard.
16
-
17
-TestApp1.vcxproj.filters
18
-    This is the filters file for VC++ projects generated using an Application Wizard. 
19
-    It contains information about the association between the files in your project 
20
-    and the filters. This association is used in the IDE to show grouping of files with
21
-    similar extensions under a specific node (for e.g. ".cpp" files are associated with the
22
-    "Source Files" filter).
23
-
24
-TestApp1.cpp
25
-    This is the main application source file.
26
-
27
-/////////////////////////////////////////////////////////////////////////////
28
-AppWizard has created the following resources:
29
-
30
-TestApp1.rc
31
-    This is a listing of all of the Microsoft Windows resources that the
32
-    program uses.  It includes the icons, bitmaps, and cursors that are stored
33
-    in the RES subdirectory.  This file can be directly edited in Microsoft
34
-    Visual C++.
35
-
36
-Resource.h
37
-    This is the standard header file, which defines new resource IDs.
38
-    Microsoft Visual C++ reads and updates this file.
39
-
40
-TestApp1.ico
41
-    This is an icon file, which is used as the application's icon (32x32).
42
-    This icon is included by the main resource file TestApp1.rc.
43
-
44
-small.ico
45
-    This is an icon file, which contains a smaller version (16x16)
46
-    of the application's icon. This icon is included by the main resource
47
-    file TestApp1.rc.
48
-
49
-/////////////////////////////////////////////////////////////////////////////
50
-Other standard files:
51
-
52
-StdAfx.h, StdAfx.cpp
53
-    These files are used to build a precompiled header (PCH) file
54
-    named TestApp1.pch and a precompiled types file named StdAfx.obj.
55
-
56
-/////////////////////////////////////////////////////////////////////////////
57
-Other notes:
58
-
59
-AppWizard uses "TODO:" comments to indicate parts of the source code you
60
-should add to or customize.
61
-
62
-/////////////////////////////////////////////////////////////////////////////

+ 13
- 167
TestApp1/TestApp1.cpp Целия файл

@@ -1,180 +1,26 @@
1 1
 // TestApp1.cpp : Defines the entry point for the application.
2 2
 //
3 3
 
4
-#include "stdafx.h"
5
-#include "TestApp1.h"
4
+#ifdef _WIN32
5
+#include "Win32/stdafx.h"
6
+#endif
6 7
 
7
-#define MAX_LOADSTRING 100
8
+#include <DK.h>
8 9
 
9
-// Global Variables:
10
-HINSTANCE hInst;                                // current instance
11
-WCHAR szTitle[MAX_LOADSTRING];                  // The title bar text
12
-WCHAR szWindowClass[MAX_LOADSTRING];            // the main window class name
10
+class TestApp1 : public DKApplication
11
+{
12
+public:
13 13
 
14
-// Forward declarations of functions included in this code module:
15
-ATOM                MyRegisterClass(HINSTANCE hInstance);
16
-BOOL                InitInstance(HINSTANCE, int);
17
-LRESULT CALLBACK    WndProc(HWND, UINT, WPARAM, LPARAM);
18
-INT_PTR CALLBACK    About(HWND, UINT, WPARAM, LPARAM);
14
+};
19 15
 
16
+#ifdef _WIN32
20 17
 int APIENTRY wWinMain(_In_ HINSTANCE hInstance,
21 18
                      _In_opt_ HINSTANCE hPrevInstance,
22 19
                      _In_ LPWSTR    lpCmdLine,
23 20
                      _In_ int       nCmdShow)
21
+#else
22
+int main(int argc, const char * argv[])
23
+#endif
24 24
 {
25
-    UNREFERENCED_PARAMETER(hPrevInstance);
26
-    UNREFERENCED_PARAMETER(lpCmdLine);
27
-
28
-    // TODO: Place code here.
29
-
30
-    // Initialize global strings
31
-    LoadStringW(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
32
-    LoadStringW(hInstance, IDC_TESTAPP1, szWindowClass, MAX_LOADSTRING);
33
-    MyRegisterClass(hInstance);
34
-
35
-    // Perform application initialization:
36
-    if (!InitInstance (hInstance, nCmdShow))
37
-    {
38
-        return FALSE;
39
-    }
40
-
41
-    HACCEL hAccelTable = LoadAccelerators(hInstance, MAKEINTRESOURCE(IDC_TESTAPP1));
42
-
43
-    MSG msg;
44
-
45
-    // Main message loop:
46
-    while (GetMessage(&msg, nullptr, 0, 0))
47
-    {
48
-        if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))
49
-        {
50
-            TranslateMessage(&msg);
51
-            DispatchMessage(&msg);
52
-        }
53
-    }
54
-
55
-    return (int) msg.wParam;
56
-}
57
-
58
-
59
-
60
-//
61
-//  FUNCTION: MyRegisterClass()
62
-//
63
-//  PURPOSE: Registers the window class.
64
-//
65
-ATOM MyRegisterClass(HINSTANCE hInstance)
66
-{
67
-    WNDCLASSEXW wcex;
68
-
69
-    wcex.cbSize = sizeof(WNDCLASSEX);
70
-
71
-    wcex.style          = CS_HREDRAW | CS_VREDRAW;
72
-    wcex.lpfnWndProc    = WndProc;
73
-    wcex.cbClsExtra     = 0;
74
-    wcex.cbWndExtra     = 0;
75
-    wcex.hInstance      = hInstance;
76
-    wcex.hIcon          = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_TESTAPP1));
77
-    wcex.hCursor        = LoadCursor(nullptr, IDC_ARROW);
78
-    wcex.hbrBackground  = (HBRUSH)(COLOR_WINDOW+1);
79
-    wcex.lpszMenuName   = MAKEINTRESOURCEW(IDC_TESTAPP1);
80
-    wcex.lpszClassName  = szWindowClass;
81
-    wcex.hIconSm        = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(IDI_SMALL));
82
-
83
-    return RegisterClassExW(&wcex);
84
-}
85
-
86
-//
87
-//   FUNCTION: InitInstance(HINSTANCE, int)
88
-//
89
-//   PURPOSE: Saves instance handle and creates main window
90
-//
91
-//   COMMENTS:
92
-//
93
-//        In this function, we save the instance handle in a global variable and
94
-//        create and display the main program window.
95
-//
96
-BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
97
-{
98
-   hInst = hInstance; // Store instance handle in our global variable
99
-
100
-   HWND hWnd = CreateWindowW(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW,
101
-      CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, nullptr, nullptr, hInstance, nullptr);
102
-
103
-   if (!hWnd)
104
-   {
105
-      return FALSE;
106
-   }
107
-
108
-   ShowWindow(hWnd, nCmdShow);
109
-   UpdateWindow(hWnd);
110
-
111
-   return TRUE;
112
-}
113
-
114
-//
115
-//  FUNCTION: WndProc(HWND, UINT, WPARAM, LPARAM)
116
-//
117
-//  PURPOSE:  Processes messages for the main window.
118
-//
119
-//  WM_COMMAND  - process the application menu
120
-//  WM_PAINT    - Paint the main window
121
-//  WM_DESTROY  - post a quit message and return
122
-//
123
-//
124
-LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
125
-{
126
-    switch (message)
127
-    {
128
-    case WM_COMMAND:
129
-        {
130
-            int wmId = LOWORD(wParam);
131
-            // Parse the menu selections:
132
-            switch (wmId)
133
-            {
134
-            case IDM_ABOUT:
135
-                DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hWnd, About);
136
-                break;
137
-            case IDM_EXIT:
138
-                DestroyWindow(hWnd);
139
-                break;
140
-            default:
141
-                return DefWindowProc(hWnd, message, wParam, lParam);
142
-            }
143
-        }
144
-        break;
145
-    case WM_PAINT:
146
-        {
147
-            PAINTSTRUCT ps;
148
-            HDC hdc = BeginPaint(hWnd, &ps);
149
-            // TODO: Add any drawing code that uses hdc here...
150
-            EndPaint(hWnd, &ps);
151
-        }
152
-        break;
153
-    case WM_DESTROY:
154
-        PostQuitMessage(0);
155
-        break;
156
-    default:
157
-        return DefWindowProc(hWnd, message, wParam, lParam);
158
-    }
159
-    return 0;
160
-}
161
-
162
-// Message handler for about box.
163
-INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
164
-{
165
-    UNREFERENCED_PARAMETER(lParam);
166
-    switch (message)
167
-    {
168
-    case WM_INITDIALOG:
169
-        return (INT_PTR)TRUE;
170
-
171
-    case WM_COMMAND:
172
-        if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL)
173
-        {
174
-            EndDialog(hDlg, LOWORD(wParam));
175
-            return (INT_PTR)TRUE;
176
-        }
177
-        break;
178
-    }
179
-    return (INT_PTR)FALSE;
25
+	return TestApp1().Run();
180 26
 }

+ 0
- 3
TestApp1/TestApp1.h Целия файл

@@ -1,3 +0,0 @@
1
-#pragma once
2
-
3
-#include "resource.h"

+ 30
- 23
TestApp1/TestApp1.vcxproj Целия файл

@@ -71,22 +71,31 @@
71 71
   <PropertyGroup Label="UserMacros" />
72 72
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
73 73
     <LinkIncremental>true</LinkIncremental>
74
+    <OutDir>$(SolutionDir)Build\$(Platform)_$(Configuration)\</OutDir>
75
+    <IntDir>$(SolutionDir)Build\Intermediates\$(ProjectName)_$(Platform)_$(Configuration)\</IntDir>
74 76
   </PropertyGroup>
75 77
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
76 78
     <LinkIncremental>true</LinkIncremental>
79
+    <OutDir>$(SolutionDir)Build\$(Platform)_$(Configuration)\</OutDir>
80
+    <IntDir>$(SolutionDir)Build\Intermediates\$(ProjectName)_$(Platform)_$(Configuration)\</IntDir>
77 81
   </PropertyGroup>
78 82
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
79 83
     <LinkIncremental>false</LinkIncremental>
84
+    <OutDir>$(SolutionDir)Build\$(Platform)_$(Configuration)\</OutDir>
85
+    <IntDir>$(SolutionDir)Build\Intermediates\$(ProjectName)_$(Platform)_$(Configuration)\</IntDir>
80 86
   </PropertyGroup>
81 87
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
82 88
     <LinkIncremental>false</LinkIncremental>
89
+    <OutDir>$(SolutionDir)Build\$(Platform)_$(Configuration)\</OutDir>
90
+    <IntDir>$(SolutionDir)Build\Intermediates\$(ProjectName)_$(Platform)_$(Configuration)\</IntDir>
83 91
   </PropertyGroup>
84 92
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
85 93
     <ClCompile>
86
-      <PrecompiledHeader>Use</PrecompiledHeader>
94
+      <PrecompiledHeader>NotUsing</PrecompiledHeader>
87 95
       <WarningLevel>Level3</WarningLevel>
88 96
       <Optimization>Disabled</Optimization>
89
-      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
97
+      <PreprocessorDefinitions>DKGL_STATIC=1;WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
98
+      <AdditionalIncludeDirectories>../DK</AdditionalIncludeDirectories>
90 99
     </ClCompile>
91 100
     <Link>
92 101
       <SubSystem>Windows</SubSystem>
@@ -95,10 +104,11 @@
95 104
   </ItemDefinitionGroup>
96 105
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
97 106
     <ClCompile>
98
-      <PrecompiledHeader>Use</PrecompiledHeader>
107
+      <PrecompiledHeader>NotUsing</PrecompiledHeader>
99 108
       <WarningLevel>Level3</WarningLevel>
100 109
       <Optimization>Disabled</Optimization>
101
-      <PreprocessorDefinitions>_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
110
+      <PreprocessorDefinitions>DKGL_STATIC=1;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
111
+      <AdditionalIncludeDirectories>../DK</AdditionalIncludeDirectories>
102 112
     </ClCompile>
103 113
     <Link>
104 114
       <SubSystem>Windows</SubSystem>
@@ -108,11 +118,12 @@
108 118
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
109 119
     <ClCompile>
110 120
       <WarningLevel>Level3</WarningLevel>
111
-      <PrecompiledHeader>Use</PrecompiledHeader>
121
+      <PrecompiledHeader>NotUsing</PrecompiledHeader>
112 122
       <Optimization>MaxSpeed</Optimization>
113 123
       <FunctionLevelLinking>true</FunctionLevelLinking>
114 124
       <IntrinsicFunctions>true</IntrinsicFunctions>
115
-      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
125
+      <PreprocessorDefinitions>DKGL_STATIC=1;WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
126
+      <AdditionalIncludeDirectories>../DK</AdditionalIncludeDirectories>
116 127
     </ClCompile>
117 128
     <Link>
118 129
       <SubSystem>Windows</SubSystem>
@@ -124,11 +135,12 @@
124 135
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
125 136
     <ClCompile>
126 137
       <WarningLevel>Level3</WarningLevel>
127
-      <PrecompiledHeader>Use</PrecompiledHeader>
138
+      <PrecompiledHeader>NotUsing</PrecompiledHeader>
128 139
       <Optimization>MaxSpeed</Optimization>
129 140
       <FunctionLevelLinking>true</FunctionLevelLinking>
130 141
       <IntrinsicFunctions>true</IntrinsicFunctions>
131
-      <PreprocessorDefinitions>NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
142
+      <PreprocessorDefinitions>DKGL_STATIC=1;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
143
+      <AdditionalIncludeDirectories>../DK</AdditionalIncludeDirectories>
132 144
     </ClCompile>
133 145
     <Link>
134 146
       <SubSystem>Windows</SubSystem>
@@ -138,29 +150,24 @@
138 150
     </Link>
139 151
   </ItemDefinitionGroup>
140 152
   <ItemGroup>
141
-    <Text Include="ReadMe.txt" />
153
+    <ClInclude Include="Win32\Resource.h" />
154
+    <ClInclude Include="Win32\stdafx.h" />
155
+    <ClInclude Include="Win32\targetver.h" />
142 156
   </ItemGroup>
143 157
   <ItemGroup>
144
-    <ClInclude Include="Resource.h" />
145
-    <ClInclude Include="stdafx.h" />
146
-    <ClInclude Include="targetver.h" />
147
-    <ClInclude Include="TestApp1.h" />
158
+    <ClCompile Include="TestApp1.cpp" />
148 159
   </ItemGroup>
149 160
   <ItemGroup>
150
-    <ClCompile Include="stdafx.cpp">
151
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
152
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
153
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
154
-      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
155
-    </ClCompile>
156
-    <ClCompile Include="TestApp1.cpp" />
161
+    <ResourceCompile Include="Win32\TestApp1.rc" />
157 162
   </ItemGroup>
158 163
   <ItemGroup>
159
-    <ResourceCompile Include="TestApp1.rc" />
164
+    <Image Include="Win32\small.ico" />
165
+    <Image Include="Win32\TestApp1.ico" />
160 166
   </ItemGroup>
161 167
   <ItemGroup>
162
-    <Image Include="small.ico" />
163
-    <Image Include="TestApp1.ico" />
168
+    <ProjectReference Include="..\DK\DK_static.vcxproj">
169
+      <Project>{c7312831-a3f6-4e7d-962b-6786972f0a6a}</Project>
170
+    </ProjectReference>
164 171
   </ItemGroup>
165 172
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
166 173
   <ImportGroup Label="ExtensionTargets">

+ 17
- 37
TestApp1/TestApp1.vcxproj.filters Целия файл

@@ -1,55 +1,35 @@
1 1
 <?xml version="1.0" encoding="utf-8"?>
2 2
 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 3
   <ItemGroup>
4
-    <Filter Include="Source Files">
5
-      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6
-      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7
-    </Filter>
8
-    <Filter Include="Header Files">
9
-      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10
-      <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
11
-    </Filter>
12
-    <Filter Include="Resource Files">
13
-      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14
-      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
4
+    <Filter Include="Win32">
5
+      <UniqueIdentifier>{ae2171d6-8ade-42b5-815d-79c50d26dedc}</UniqueIdentifier>
15 6
     </Filter>
16 7
   </ItemGroup>
17 8
   <ItemGroup>
18
-    <Text Include="ReadMe.txt" />
19
-  </ItemGroup>
20
-  <ItemGroup>
21
-    <ClInclude Include="stdafx.h">
22
-      <Filter>Header Files</Filter>
23
-    </ClInclude>
24
-    <ClInclude Include="targetver.h">
25
-      <Filter>Header Files</Filter>
9
+    <ClInclude Include="Win32\Resource.h">
10
+      <Filter>Win32</Filter>
26 11
     </ClInclude>
27
-    <ClInclude Include="Resource.h">
28
-      <Filter>Header Files</Filter>
12
+    <ClInclude Include="Win32\targetver.h">
13
+      <Filter>Win32</Filter>
29 14
     </ClInclude>
30
-    <ClInclude Include="TestApp1.h">
31
-      <Filter>Header Files</Filter>
15
+    <ClInclude Include="Win32\stdafx.h">
16
+      <Filter>Win32</Filter>
32 17
     </ClInclude>
33 18
   </ItemGroup>
34 19
   <ItemGroup>
35
-    <ClCompile Include="stdafx.cpp">
36
-      <Filter>Source Files</Filter>
37
-    </ClCompile>
38
-    <ClCompile Include="TestApp1.cpp">
39
-      <Filter>Source Files</Filter>
40
-    </ClCompile>
41
-  </ItemGroup>
42
-  <ItemGroup>
43
-    <ResourceCompile Include="TestApp1.rc">
44
-      <Filter>Resource Files</Filter>
20
+    <ResourceCompile Include="Win32\TestApp1.rc">
21
+      <Filter>Win32</Filter>
45 22
     </ResourceCompile>
46 23
   </ItemGroup>
47 24
   <ItemGroup>
48
-    <Image Include="small.ico">
49
-      <Filter>Resource Files</Filter>
25
+    <Image Include="Win32\small.ico">
26
+      <Filter>Win32</Filter>
50 27
     </Image>
51
-    <Image Include="TestApp1.ico">
52
-      <Filter>Resource Files</Filter>
28
+    <Image Include="Win32\TestApp1.ico">
29
+      <Filter>Win32</Filter>
53 30
     </Image>
54 31
   </ItemGroup>
32
+  <ItemGroup>
33
+    <ClCompile Include="TestApp1.cpp" />
34
+  </ItemGroup>
55 35
 </Project>

TestApp1/stdafx.h → TestApp1/Win32/stdafx.h Целия файл


+ 0
- 9
TestApp1/main.cpp Целия файл

@@ -1,9 +0,0 @@
1
-
2
-#include <stdio.h>
3
-
4
-int main(int argc, const char * argv[]) {
5
-
6
-	printf("TestApp1");
7
-
8
-	return 0;
9
-}

+ 0
- 8
TestApp1/stdafx.cpp Целия файл

@@ -1,8 +0,0 @@
1
-// stdafx.cpp : source file that includes just the standard includes
2
-// TestApp1.pch will be the pre-compiled header
3
-// stdafx.obj will contain the pre-compiled type information
4
-
5
-#include "stdafx.h"
6
-
7
-// TODO: reference any additional headers you need in STDAFX.H
8
-// and not in this file