mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-25 13:51:58 +00:00
Add premake scripts for projects
This commit is contained in:
32
test/ZoneCommonTests.lua
Normal file
32
test/ZoneCommonTests.lua
Normal file
@ -0,0 +1,32 @@
|
||||
ZoneCommonTests = {}
|
||||
|
||||
function ZoneCommonTests:include()
|
||||
|
||||
end
|
||||
|
||||
function ZoneCommonTests:link()
|
||||
|
||||
end
|
||||
|
||||
function ZoneCommonTests:project()
|
||||
local folder = TestFolder();
|
||||
|
||||
project "ZoneCommonTests"
|
||||
targetdir(TargetDirectoryTest)
|
||||
location "%{wks.location}/test"
|
||||
kind "SharedLib"
|
||||
language "C++"
|
||||
|
||||
files {
|
||||
path.join(folder, "ZoneCommonTests/**.h"),
|
||||
path.join(folder, "ZoneCommonTests/**.cpp")
|
||||
}
|
||||
|
||||
self:include()
|
||||
ZoneCommon:include()
|
||||
|
||||
ZoneCommon:link()
|
||||
|
||||
-- Disable warnings. They do not have any value to us since it is not our code.
|
||||
warnings "off"
|
||||
end
|
Reference in New Issue
Block a user