From 8f4a145c3c107667bb0f891e040275baefd654b3 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Tue, 13 Jun 2017 17:00:23 +0200 Subject: [PATCH] [Premake] Clean files --- premake/boost.lua | 83 ---------------------------------------------- premake/udis86.lua | 3 +- 2 files changed, 1 insertion(+), 85 deletions(-) delete mode 100644 premake/boost.lua diff --git a/premake/boost.lua b/premake/boost.lua deleted file mode 100644 index c880e524..00000000 --- a/premake/boost.lua +++ /dev/null @@ -1,83 +0,0 @@ -boost = { - settings = nil, -} - -function boost.setup(settings) - if not settings.source then error("Missing source.") end - - boost.settings = settings -end - -function boost.import() - if not boost.settings then error("Run boost.setup first") end - - --links { "boost" } - boost.includes() -end - -function boost.includes() - if not boost.settings then error("Run boost.setup first") end - - submodules = { - "mpl", - "core", - "move", - "tuple", - "assert", - "predef", - "config", - "detail", - "winapi", - "integer", - "utility", - "iterator", - "container", - "unordered", - "date_time", - "smart_ptr", - "intrusive", - "functional", - "type_traits", - "interprocess", - "preprocessor", - "static_assert", - "throw_exception", - } - - for i, submodule in ipairs(submodules) do - includedirs { path.join(boost.settings.source, string.format("%s/include", submodule)) } - end - - includedirs { boost.settings.source } -end - -function boost.project() - if not boost.settings then error("Run boost.setup first") end - ---[[ - project "boost" - language "C++" - - includedirs - { - boost.settings.source, - } - - files - { - path.join(boost.settings.source, "*.cpp"), - path.join(boost.settings.source, "*.hpp"), - } - removefiles - { - path.join(boost.settings.source, "test*"), - } - - -- not our code, ignore POSIX usage warnings for now - warnings "Off" - - defines { "_LIB" } - removedefines { "_USRDLL", "_DLL" } - kind "StaticLib" -]] -end diff --git a/premake/udis86.lua b/premake/udis86.lua index c9732b42..72ec93a3 100644 --- a/premake/udis86.lua +++ b/premake/udis86.lua @@ -40,6 +40,5 @@ function udis86.project() -- not our code, ignore POSIX usage warnings for now warnings "Off" - kind "SharedLib" - kind "StaticLib" + kind "StaticLib" end \ No newline at end of file