diff options
| author | Yong He <yonghe@outlook.com> | 2021-03-08 10:01:20 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-08 10:01:20 -0800 |
| commit | fc9968dc4fd58fab37476f48e4405c2743c5349c (patch) | |
| tree | 6119b293a5a5cc24401dde5ff54287beb28fe63b /premake5.lua | |
| parent | 95ca93938f5d45f4eaf340867965bd77a1724d6c (diff) | |
Refactor window library. (#1739)
* Refactor window library.
* Fix project file
* Fix warnings.
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/premake5.lua b/premake5.lua index e4f9b91cc..bd5c72c63 100644 --- a/premake5.lua +++ b/premake5.lua @@ -525,7 +525,7 @@ function example(name) -- and the `gfx` abstraction layer (which in turn -- depends on the `core` library). We specify all of that here, -- rather than in each example. - links { "slang", "core", "gfx", "gfx-util", "graphics-app-framework" } + links { "slang", "core", "gfx", "gfx-util", "platform" } end -- @@ -695,8 +695,8 @@ toolSharedLibrary "slang-reflection-test" toolSharedLibrary "render-test" uuid "61F7EB00-7281-4BF3-9470-7C2EA92620C3" - includedirs { ".", "external", "source", "tools/gfx", "tools/graphics-app-framework" } - links { "core", "slang", "gfx", "gfx-util", "graphics-app-framework" } + includedirs { ".", "external", "source", "tools/gfx", "tools/platform" } + links { "core", "slang", "gfx", "gfx-util", "platform" } if isTargetWindows then addSourceDir "tools/render-test/windows" @@ -824,21 +824,21 @@ tool "gfx-util" addSourceDir "tools/gfx-util" -- --- `graphics-app-framework` contains all the utils for a simple graphics application. +-- `platform` contains all the platform abstractions for a GUI application. -- -tool "graphics-app-framework" +tool "platform" uuid "3565fe5e-4fa3-11eb-ae93-0242ac130002" kind "StaticLib" pic "On" includedirs { ".", "external", "source", "external/imgui", "tools/gfx" } - addSourceDir "tools/graphics-app-framework" - + addSourceDir "tools/platform" + addSourceDir "tools/platform/linux" + addSourceDir "tools/platform/windows" -- Include windowing support on Windows. if isTargetWindows then systemversion "10.0.14393.0" - addSourceDir "tools/graphics-app-framework/windows" end -- |
