From 0289f6db1145cbcafc406e2cc835db8ec1f164ca Mon Sep 17 00:00:00 2001 From: momo5502 Date: Wed, 7 Jun 2017 11:18:59 +0200 Subject: [PATCH] [Submodules] Delete WinToast --- .gitmodules | 3 --- deps/WinToast | 1 - premake/WinToast.lua | 45 -------------------------------------------- premake5.lua | 7 ------- 4 files changed, 56 deletions(-) delete mode 160000 deps/WinToast delete mode 100644 premake/WinToast.lua diff --git a/.gitmodules b/.gitmodules index feadfaf1..499c064a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/deps/WinToast b/deps/WinToast deleted file mode 160000 index 2a35d367..00000000 --- a/deps/WinToast +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2a35d367c54e34c8beef62c2a0b1022688a2b8cc diff --git a/premake/WinToast.lua b/premake/WinToast.lua deleted file mode 100644 index ed049ce0..00000000 --- a/premake/WinToast.lua +++ /dev/null @@ -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 diff --git a/premake5.lua b/premake5.lua index 6453417c..32e4fb83 100644 --- a/premake5.lua +++ b/premake5.lua @@ -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"