mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 16:15:43 +00:00
44 lines
663 B
Lua
44 lines
663 B
Lua
Utils = {}
|
|
|
|
function Utils:include()
|
|
if References:include("Utils") then
|
|
includedirs {
|
|
path.join(ProjectFolder(), "Utils")
|
|
}
|
|
end
|
|
end
|
|
|
|
function Utils:link()
|
|
if References:link("Utils") then
|
|
links "Utils"
|
|
end
|
|
end
|
|
|
|
function Utils:use()
|
|
|
|
end
|
|
|
|
function Utils:project()
|
|
References:reset()
|
|
local folder = ProjectFolder();
|
|
|
|
project "Utils"
|
|
targetdir(TargetDirectoryLib)
|
|
location "%{wks.location}/src/%{prj.name}"
|
|
kind "StaticLib"
|
|
language "C++"
|
|
|
|
files {
|
|
path.join(folder, "Utils/**.h"),
|
|
path.join(folder, "Utils/**.cpp")
|
|
}
|
|
|
|
vpaths {
|
|
["*"] = {
|
|
path.join(folder, "Utils")
|
|
}
|
|
}
|
|
|
|
self:include()
|
|
end
|