[Submodules] Delete WinToast
This commit is contained in:
parent
eb8c141ad9
commit
0289f6db11
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -26,9 +26,6 @@
|
||||
path = deps/protobuf
|
||||
url = https://github.com/google/protobuf.git
|
||||
branch = master
|
||||
[submodule "deps/WinToast"]
|
||||
path = deps/WinToast
|
||||
url = https://github.com/mohabouje/WinToast.git
|
||||
[submodule "deps/udis86"]
|
||||
path = deps/udis86
|
||||
url = ../udis86.git
|
||||
|
1
deps/WinToast
vendored
1
deps/WinToast
vendored
@ -1 +0,0 @@
|
||||
Subproject commit 2a35d367c54e34c8beef62c2a0b1022688a2b8cc
|
@ -1,45 +0,0 @@
|
||||
WinToast = {
|
||||
settings = nil,
|
||||
}
|
||||
|
||||
function WinToast.setup(settings)
|
||||
if not settings.source then error("Missing source.") end
|
||||
|
||||
WinToast.settings = settings
|
||||
end
|
||||
|
||||
function WinToast.import()
|
||||
if not WinToast.settings then error("Run WinToast.setup first") end
|
||||
|
||||
links { "WinToast" }
|
||||
WinToast.includes()
|
||||
end
|
||||
|
||||
function WinToast.includes()
|
||||
if not WinToast.settings then error("Run WinToast.setup first") end
|
||||
|
||||
includedirs { path.join(WinToast.settings.source, "src"), }
|
||||
end
|
||||
|
||||
function WinToast.project()
|
||||
if not WinToast.settings then error("Run WinToast.setup first") end
|
||||
|
||||
project "WinToast"
|
||||
language "C++"
|
||||
|
||||
includedirs
|
||||
{
|
||||
WinToast.settings.source,
|
||||
}
|
||||
|
||||
files
|
||||
{
|
||||
path.join(WinToast.settings.source, "src/*.cpp"),
|
||||
path.join(WinToast.settings.source, "src/*.h"),
|
||||
}
|
||||
|
||||
-- not our code, ignore POSIX usage warnings for now
|
||||
warnings "Off"
|
||||
|
||||
kind "StaticLib"
|
||||
end
|
@ -185,7 +185,6 @@ require "premake/mongoose"
|
||||
require "premake/pdcurses"
|
||||
require "premake/protobuf"
|
||||
require "premake/zlib"
|
||||
require "premake/WinToast"
|
||||
require "premake/udis86"
|
||||
require "premake/glm"
|
||||
|
||||
@ -228,10 +227,6 @@ zlib.setup
|
||||
},
|
||||
source = path.join(depsBasePath, "zlib"),
|
||||
}
|
||||
WinToast.setup
|
||||
{
|
||||
source = path.join(depsBasePath, "WinToast"),
|
||||
}
|
||||
udis86.setup
|
||||
{
|
||||
source = path.join(depsBasePath, "udis86"),
|
||||
@ -331,7 +326,6 @@ workspace "iw4x"
|
||||
pdcurses.import()
|
||||
protobuf.import()
|
||||
zlib.import()
|
||||
WinToast.import()
|
||||
udis86.import()
|
||||
glm.import();
|
||||
|
||||
@ -444,7 +438,6 @@ workspace "iw4x"
|
||||
pdcurses.project()
|
||||
protobuf.project()
|
||||
zlib.project()
|
||||
WinToast.project()
|
||||
udis86.project()
|
||||
|
||||
rule "ProtobufCompiler"
|
||||
|
Loading…
Reference in New Issue
Block a user