From 92636513abe72d2da0c45f0e2c1235415e0671c3 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 6 Jan 2021 12:58:57 -0800 Subject: Refactor GUI/Window utils out of gfx library (#1649) Co-authored-by: Yong He --- .../cpu-hello-world/cpu-hello-world.vcxproj | 3 + build/visual-studio/gfx/gfx.vcxproj | 15 +- build/visual-studio/gfx/gfx.vcxproj.filters | 21 --- .../gpu-printing/gpu-printing.vcxproj | 3 + .../graphics-app-framework.vcxproj | 175 +++++++++++++++++++++ .../graphics-app-framework.vcxproj.filters | 36 +++++ .../visual-studio/hello-world/hello-world.vcxproj | 3 + .../heterogeneous-hello-world.vcxproj | 3 + .../model-viewer/model-viewer.vcxproj | 3 + .../render-test-tool/render-test-tool.vcxproj | 11 +- build/visual-studio/shader-toy/shader-toy.vcxproj | 3 + 11 files changed, 240 insertions(+), 36 deletions(-) create mode 100644 build/visual-studio/graphics-app-framework/graphics-app-framework.vcxproj create mode 100644 build/visual-studio/graphics-app-framework/graphics-app-framework.vcxproj.filters (limited to 'build/visual-studio') diff --git a/build/visual-studio/cpu-hello-world/cpu-hello-world.vcxproj b/build/visual-studio/cpu-hello-world/cpu-hello-world.vcxproj index 72c9eac45..9d4c819cf 100644 --- a/build/visual-studio/cpu-hello-world/cpu-hello-world.vcxproj +++ b/build/visual-studio/cpu-hello-world/cpu-hello-world.vcxproj @@ -177,6 +177,9 @@ {222F7498-B40C-4F3F-A704-DDEB91A4484A} + + {3565FE5E-4FA3-11EB-AE93-0242AC130002} + diff --git a/build/visual-studio/gfx/gfx.vcxproj b/build/visual-studio/gfx/gfx.vcxproj index 841a11c03..e80387bfa 100644 --- a/build/visual-studio/gfx/gfx.vcxproj +++ b/build/visual-studio/gfx/gfx.vcxproj @@ -95,7 +95,7 @@ NotUsing Level3 _DEBUG;%(PreprocessorDefinitions) - ..\..\..;..\..\..\external;..\..\..\source;..\..\..\external\imgui;%(AdditionalIncludeDirectories) + ..\..\..;..\..\..\external;..\..\..\source;%(AdditionalIncludeDirectories) EditAndContinue Disabled MultiThreadedDebug @@ -113,7 +113,7 @@ NotUsing Level3 _DEBUG;%(PreprocessorDefinitions) - ..\..\..;..\..\..\external;..\..\..\source;..\..\..\external\imgui;%(AdditionalIncludeDirectories) + ..\..\..;..\..\..\external;..\..\..\source;%(AdditionalIncludeDirectories) EditAndContinue Disabled MultiThreadedDebug @@ -131,7 +131,7 @@ NotUsing Level3 NDEBUG;%(PreprocessorDefinitions) - ..\..\..;..\..\..\external;..\..\..\source;..\..\..\external\imgui;%(AdditionalIncludeDirectories) + ..\..\..;..\..\..\external;..\..\..\source;%(AdditionalIncludeDirectories) Full true true @@ -153,7 +153,7 @@ NotUsing Level3 NDEBUG;%(PreprocessorDefinitions) - ..\..\..;..\..\..\external;..\..\..\source;..\..\..\external\imgui;%(AdditionalIncludeDirectories) + ..\..\..;..\..\..\external;..\..\..\source;%(AdditionalIncludeDirectories) Full true true @@ -179,8 +179,6 @@ - - @@ -188,14 +186,12 @@ - - @@ -206,8 +202,6 @@ - - @@ -220,7 +214,6 @@ - diff --git a/build/visual-studio/gfx/gfx.vcxproj.filters b/build/visual-studio/gfx/gfx.vcxproj.filters index d55d0d4bb..bfb99449b 100644 --- a/build/visual-studio/gfx/gfx.vcxproj.filters +++ b/build/visual-studio/gfx/gfx.vcxproj.filters @@ -33,12 +33,6 @@ Header Files - - Header Files - - - Header Files - Header Files @@ -60,9 +54,6 @@ Header Files - - Header Files - Header Files @@ -81,9 +72,6 @@ Header Files - - Header Files - @@ -110,12 +98,6 @@ Source Files - - Source Files - - - Source Files - Source Files @@ -152,8 +134,5 @@ Source Files - - Source Files - \ No newline at end of file diff --git a/build/visual-studio/gpu-printing/gpu-printing.vcxproj b/build/visual-studio/gpu-printing/gpu-printing.vcxproj index 1640b22e8..9b8834666 100644 --- a/build/visual-studio/gpu-printing/gpu-printing.vcxproj +++ b/build/visual-studio/gpu-printing/gpu-printing.vcxproj @@ -183,6 +183,9 @@ {222F7498-B40C-4F3F-A704-DDEB91A4484A} + + {3565FE5E-4FA3-11EB-AE93-0242AC130002} + diff --git a/build/visual-studio/graphics-app-framework/graphics-app-framework.vcxproj b/build/visual-studio/graphics-app-framework/graphics-app-framework.vcxproj new file mode 100644 index 000000000..4de3469c6 --- /dev/null +++ b/build/visual-studio/graphics-app-framework/graphics-app-framework.vcxproj @@ -0,0 +1,175 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {3565FE5E-4FA3-11EB-AE93-0242AC130002} + true + Win32Proj + graphics-app-framework + 10.0.14393.0 + + + + StaticLibrary + true + Unicode + v140 + + + StaticLibrary + true + Unicode + v140 + + + StaticLibrary + false + Unicode + v140 + + + StaticLibrary + false + Unicode + v140 + + + + + + + + + + + + + + + + + + + ..\..\..\bin\windows-x86\debug\ + ..\..\..\intermediate\windows-x86\debug\graphics-app-framework\ + graphics-app-framework + .lib + + + ..\..\..\bin\windows-x64\debug\ + ..\..\..\intermediate\windows-x64\debug\graphics-app-framework\ + graphics-app-framework + .lib + + + ..\..\..\bin\windows-x86\release\ + ..\..\..\intermediate\windows-x86\release\graphics-app-framework\ + graphics-app-framework + .lib + + + ..\..\..\bin\windows-x64\release\ + ..\..\..\intermediate\windows-x64\release\graphics-app-framework\ + graphics-app-framework + .lib + + + + NotUsing + Level3 + _DEBUG;%(PreprocessorDefinitions) + ..\..\..;..\..\..\external;..\..\..\source;..\..\..\external\imgui;..\..\..\tools\gfx;%(AdditionalIncludeDirectories) + EditAndContinue + Disabled + MultiThreadedDebug + + + Windows + true + + + + + NotUsing + Level3 + _DEBUG;%(PreprocessorDefinitions) + ..\..\..;..\..\..\external;..\..\..\source;..\..\..\external\imgui;..\..\..\tools\gfx;%(AdditionalIncludeDirectories) + EditAndContinue + Disabled + MultiThreadedDebug + + + Windows + true + + + + + NotUsing + Level3 + NDEBUG;%(PreprocessorDefinitions) + ..\..\..;..\..\..\external;..\..\..\source;..\..\..\external\imgui;..\..\..\tools\gfx;%(AdditionalIncludeDirectories) + Full + true + true + false + true + MultiThreaded + + + Windows + true + true + + + + + NotUsing + Level3 + NDEBUG;%(PreprocessorDefinitions) + ..\..\..;..\..\..\external;..\..\..\source;..\..\..\external\imgui;..\..\..\tools\gfx;%(AdditionalIncludeDirectories) + Full + true + true + false + true + MultiThreaded + + + Windows + true + true + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/visual-studio/graphics-app-framework/graphics-app-framework.vcxproj.filters b/build/visual-studio/graphics-app-framework/graphics-app-framework.vcxproj.filters new file mode 100644 index 000000000..04601b510 --- /dev/null +++ b/build/visual-studio/graphics-app-framework/graphics-app-framework.vcxproj.filters @@ -0,0 +1,36 @@ + + + + + {21EB8090-0D4E-1035-B6D3-48EBA215DCB7} + + + {E9C7FDCE-D52A-8D73-7EB0-C5296AF258F6} + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + Source Files + + + \ No newline at end of file diff --git a/build/visual-studio/hello-world/hello-world.vcxproj b/build/visual-studio/hello-world/hello-world.vcxproj index 9984aca49..60dde7007 100644 --- a/build/visual-studio/hello-world/hello-world.vcxproj +++ b/build/visual-studio/hello-world/hello-world.vcxproj @@ -177,6 +177,9 @@ {222F7498-B40C-4F3F-A704-DDEB91A4484A} + + {3565FE5E-4FA3-11EB-AE93-0242AC130002} + diff --git a/build/visual-studio/heterogeneous-hello-world/heterogeneous-hello-world.vcxproj b/build/visual-studio/heterogeneous-hello-world/heterogeneous-hello-world.vcxproj index b5de40a53..74bd9213b 100644 --- a/build/visual-studio/heterogeneous-hello-world/heterogeneous-hello-world.vcxproj +++ b/build/visual-studio/heterogeneous-hello-world/heterogeneous-hello-world.vcxproj @@ -178,6 +178,9 @@ {222F7498-B40C-4F3F-A704-DDEB91A4484A} + + {3565FE5E-4FA3-11EB-AE93-0242AC130002} + diff --git a/build/visual-studio/model-viewer/model-viewer.vcxproj b/build/visual-studio/model-viewer/model-viewer.vcxproj index f1e17ddca..b7523fe4f 100644 --- a/build/visual-studio/model-viewer/model-viewer.vcxproj +++ b/build/visual-studio/model-viewer/model-viewer.vcxproj @@ -177,6 +177,9 @@ {222F7498-B40C-4F3F-A704-DDEB91A4484A} + + {3565FE5E-4FA3-11EB-AE93-0242AC130002} + diff --git a/build/visual-studio/render-test-tool/render-test-tool.vcxproj b/build/visual-studio/render-test-tool/render-test-tool.vcxproj index c55e7af5e..b9841e122 100644 --- a/build/visual-studio/render-test-tool/render-test-tool.vcxproj +++ b/build/visual-studio/render-test-tool/render-test-tool.vcxproj @@ -99,7 +99,7 @@ NotUsing Level3 _DEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) - ..\..\..;..\..\..\external;..\..\..\source;..\..\..\tools\gfx;%(AdditionalIncludeDirectories) + ..\..\..;..\..\..\external;..\..\..\source;..\..\..\tools\gfx;..\..\..\tools\graphics-app-framework;%(AdditionalIncludeDirectories) EditAndContinue Disabled MultiThreadedDebug @@ -118,7 +118,7 @@ NotUsing Level3 _DEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) - ..\..\..;..\..\..\external;..\..\..\source;..\..\..\tools\gfx;%(AdditionalIncludeDirectories) + ..\..\..;..\..\..\external;..\..\..\source;..\..\..\tools\gfx;..\..\..\tools\graphics-app-framework;%(AdditionalIncludeDirectories) EditAndContinue Disabled MultiThreadedDebug @@ -137,7 +137,7 @@ NotUsing Level3 NDEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) - ..\..\..;..\..\..\external;..\..\..\source;..\..\..\tools\gfx;%(AdditionalIncludeDirectories) + ..\..\..;..\..\..\external;..\..\..\source;..\..\..\tools\gfx;..\..\..\tools\graphics-app-framework;%(AdditionalIncludeDirectories) Full true true @@ -160,7 +160,7 @@ NotUsing Level3 NDEBUG;SLANG_SHARED_LIBRARY_TOOL;%(PreprocessorDefinitions) - ..\..\..;..\..\..\external;..\..\..\source;..\..\..\tools\gfx;%(AdditionalIncludeDirectories) + ..\..\..;..\..\..\external;..\..\..\source;..\..\..\tools\gfx;..\..\..\tools\graphics-app-framework;%(AdditionalIncludeDirectories) Full true true @@ -210,6 +210,9 @@ {222F7498-B40C-4F3F-A704-DDEB91A4484A} + + {3565FE5E-4FA3-11EB-AE93-0242AC130002} + diff --git a/build/visual-studio/shader-toy/shader-toy.vcxproj b/build/visual-studio/shader-toy/shader-toy.vcxproj index a6b07adbc..5c540113b 100644 --- a/build/visual-studio/shader-toy/shader-toy.vcxproj +++ b/build/visual-studio/shader-toy/shader-toy.vcxproj @@ -178,6 +178,9 @@ {222F7498-B40C-4F3F-A704-DDEB91A4484A} + + {3565FE5E-4FA3-11EB-AE93-0242AC130002} + -- cgit v1.2.3