From f0518cb14649eaa4a335bc791b6c129eda7537d3 Mon Sep 17 00:00:00 2001 From: fo40225 Date: Thu, 31 Mar 2016 21:13:40 +0800 Subject: [PATCH] create directcompute project --- BasicCompute11/BasicCompute11.cpp | 9 + BasicCompute11/BasicCompute11.vcxproj | 163 ++++++++++++++++++ BasicCompute11/BasicCompute11.vcxproj.filters | 36 ++++ BasicCompute11/ReadMe.txt | 31 ++++ BasicCompute11/stdafx.cpp | 8 + BasicCompute11/stdafx.h | 13 ++ BasicCompute11/targetver.h | 8 + DirectX11Lab.sln | 10 ++ 8 files changed, 278 insertions(+) create mode 100644 BasicCompute11/BasicCompute11.cpp create mode 100644 BasicCompute11/BasicCompute11.vcxproj create mode 100644 BasicCompute11/BasicCompute11.vcxproj.filters create mode 100644 BasicCompute11/ReadMe.txt create mode 100644 BasicCompute11/stdafx.cpp create mode 100644 BasicCompute11/stdafx.h create mode 100644 BasicCompute11/targetver.h diff --git a/BasicCompute11/BasicCompute11.cpp b/BasicCompute11/BasicCompute11.cpp new file mode 100644 index 0000000..920eea8 --- /dev/null +++ b/BasicCompute11/BasicCompute11.cpp @@ -0,0 +1,9 @@ +// BasicCompute11.cpp : 定義主控台應用程式的進入點。 +// + +#include "stdafx.h" + +int main() +{ + return 0; +} \ No newline at end of file diff --git a/BasicCompute11/BasicCompute11.vcxproj b/BasicCompute11/BasicCompute11.vcxproj new file mode 100644 index 0000000..5d3faf3 --- /dev/null +++ b/BasicCompute11/BasicCompute11.vcxproj @@ -0,0 +1,163 @@ +嚜 + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + {E5A76AD8-E76D-40D4-B416-F5520C7AA90A} + Win32Proj + BasicCompute11 + 8.1 + + + + Application + true + v140 + Unicode + + + Application + false + v140 + true + Unicode + + + Application + true + v140 + Unicode + + + Application + false + v140 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + true + + + false + + + false + + + + Use + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Use + Level3 + Disabled + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + Use + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + Use + MaxSpeed + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + + + + + Create + Create + Create + Create + + + + + + \ No newline at end of file diff --git a/BasicCompute11/BasicCompute11.vcxproj.filters b/BasicCompute11/BasicCompute11.vcxproj.filters new file mode 100644 index 0000000..9afe8e4 --- /dev/null +++ b/BasicCompute11/BasicCompute11.vcxproj.filters @@ -0,0 +1,36 @@ +嚜 + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + + + + 璅剜 + + + 璅剜 + + + + + 憪蝔撘瑼 + + + 憪蝔撘瑼 + + + \ No newline at end of file diff --git a/BasicCompute11/ReadMe.txt b/BasicCompute11/ReadMe.txt new file mode 100644 index 0000000..4e71f8c --- /dev/null +++ b/BasicCompute11/ReadMe.txt @@ -0,0 +1,31 @@ +嚜======================================================================== + 銝餅批唳函撘嚗BasicCompute11 撠獢璁閫 +======================================================================== + +AppWizard 撌脩箸典遣蝡鈭 BasicCompute11 函撘 + +瑼獢思隞賣閬嚗蝪∟隤芣瑽 BasicCompute11 函撘 +瑼獢嚗摰亦批捆 + + +BasicCompute11.vcxproj + 臭蝙冽函撘蝎暸Y銋 VC++ 撠獢銝餉撠獢瑼摰急Y閰脫獢銋 Visual C++ 祈閮嚗隞亙雿輻冽函撘蝎暸詨銋撟喳啜蝯撠獢賜鞈閮 + +BasicCompute11.vcxproj.filters + 臭蝙冽函撘蝎暸Y銋 VC++ 撠獢蝭拚豢瑼獢銝剖急典獢銝剜獢蝭拚詨其舐賊鞈閮舐冽 IDE 銝凋誑憿舐內孵蝭暺銝瑟憿隡澆舀銋瑼獢蝢斤 (靘憒嚗".cpp" 瑼獢 "Source Files" 蝭拚詨函賊) + +BasicCompute11.cpp + 臭蜓閬函撘憪蝔撘瑼 + +///////////////////////////////////////////////////////////////////////////// +嗡璅皞瑼獢嚗 + +StdAfx.h, StdAfx.cpp + 鈭瑼獢舐其撱箇蔭 BasicCompute11.pch 銵蝺刻陌璅 (PCH) 瑼嚗隞亙 StdAfx.obj 銵蝺刻陌交 + +///////////////////////////////////////////////////////////////////////////// +嗡瘜冽鈭: + +AppWizard 雿輻 "TODO:" 靘蝷箸冽閰脣交芾憪蝔撘蝣潮典 + +///////////////////////////////////////////////////////////////////////////// diff --git a/BasicCompute11/stdafx.cpp b/BasicCompute11/stdafx.cpp new file mode 100644 index 0000000..d84a0fc --- /dev/null +++ b/BasicCompute11/stdafx.cpp @@ -0,0 +1,8 @@ +// stdafx.cpp : 僅包含標準 Include 檔的原始程式檔 +// BasicCompute11.pch 會成為先行編譯標頭檔 +// stdafx.obj 會包含先行編譯類型資訊 + +#include "stdafx.h" + +// TODO: 在 STDAFX.H 中參考您需要的任何其他標頭, +// 而不要在這個檔案中參考 \ No newline at end of file diff --git a/BasicCompute11/stdafx.h b/BasicCompute11/stdafx.h new file mode 100644 index 0000000..c86fbf5 --- /dev/null +++ b/BasicCompute11/stdafx.h @@ -0,0 +1,13 @@ +// stdafx.h : 可在此標頭檔中包含標準的系統 Include 檔, +// 或是經常使用卻很少變更的 +// 專案專用 Include 檔案 +// + +#pragma once + +#include "targetver.h" + +#include +#include + +// TODO: 在此參考您的程式所需要的其他標頭 \ No newline at end of file diff --git a/BasicCompute11/targetver.h b/BasicCompute11/targetver.h new file mode 100644 index 0000000..0aa01f0 --- /dev/null +++ b/BasicCompute11/targetver.h @@ -0,0 +1,8 @@ +#pragma once + +// 加上 SDKDDKVer.h 可定義最高可用的 Windows 平台。 + +// 如果要針對先前的 Windows 平台建置應用程式,請加上 WinSDKVer.h, +// 並在加上 SDKDDKVer.h 之前將 _WIN32_WINNT 巨集設為要支援的平台。 + +#include \ No newline at end of file diff --git a/DirectX11Lab.sln b/DirectX11Lab.sln index 113bb2d..93274bd 100644 --- a/DirectX11Lab.sln +++ b/DirectX11Lab.sln @@ -7,6 +7,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Cube", "Cube\Cube.vcxproj", EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DirectX11Lab", "DirectX11Lab\DirectX11Lab.vcxproj", "{2C99350D-ACB7-45E9-BB48-998046FA4149}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BasicCompute11", "BasicCompute11\BasicCompute11.vcxproj", "{E5A76AD8-E76D-40D4-B416-F5520C7AA90A}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|x64 = Debug|x64 @@ -31,6 +33,14 @@ Global {2C99350D-ACB7-45E9-BB48-998046FA4149}.Release|x64.Build.0 = Release|x64 {2C99350D-ACB7-45E9-BB48-998046FA4149}.Release|x86.ActiveCfg = Release|Win32 {2C99350D-ACB7-45E9-BB48-998046FA4149}.Release|x86.Build.0 = Release|Win32 + {E5A76AD8-E76D-40D4-B416-F5520C7AA90A}.Debug|x64.ActiveCfg = Debug|x64 + {E5A76AD8-E76D-40D4-B416-F5520C7AA90A}.Debug|x64.Build.0 = Debug|x64 + {E5A76AD8-E76D-40D4-B416-F5520C7AA90A}.Debug|x86.ActiveCfg = Debug|Win32 + {E5A76AD8-E76D-40D4-B416-F5520C7AA90A}.Debug|x86.Build.0 = Debug|Win32 + {E5A76AD8-E76D-40D4-B416-F5520C7AA90A}.Release|x64.ActiveCfg = Release|x64 + {E5A76AD8-E76D-40D4-B416-F5520C7AA90A}.Release|x64.Build.0 = Release|x64 + {E5A76AD8-E76D-40D4-B416-F5520C7AA90A}.Release|x86.ActiveCfg = Release|Win32 + {E5A76AD8-E76D-40D4-B416-F5520C7AA90A}.Release|x86.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE