Add WinToast submodule

This commit is contained in:
momo5502 2020-12-13 19:54:03 +01:00
parent 03303ac830
commit 7c3bf2a26d
3 changed files with 36 additions and 0 deletions

3
.gitmodules vendored
View File

@ -41,3 +41,6 @@
[submodule "deps/lua"]
path = deps/lua
url = https://github.com/lua/lua.git
[submodule "deps/WinToast"]
path = deps/WinToast
url = https://github.com/mohabouje/WinToast.git

1
deps/WinToast vendored Submodule

@ -0,0 +1 @@
Subproject commit 09227c72f16ccefc36e9d430dea3b435346dbcbc

32
deps/premake/wintoast.lua vendored Normal file
View File

@ -0,0 +1,32 @@
wintoast = {
source = path.join(dependencies.basePath, "WinToast"),
}
function wintoast.import()
links { "WinToast" }
wintoast.includes()
end
function wintoast.includes()
includedirs {
path.join(wintoast.source, "src"),
}
end
function wintoast.project()
project "WinToast"
language "C++"
wintoast.includes()
rapidjson.import();
files {
path.join(wintoast.source, "src/*.h"),
path.join(wintoast.source, "src/*.cpp"),
}
warnings "Off"
kind "StaticLib"
end
table.insert(dependencies, wintoast)