mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-04 11:25:34 +00:00
Add code generation on compiling to premake scripts using custom build commands
This commit is contained in:
1 parent
d93b4f5fac
commit
034de70bbc
27 files changed
+345
-325
No files matched your search
@@ -5,7 +5,11 @@ function ZoneCommonTests:include()
|
||||
end
|
||||
|
||||
function ZoneCommonTests:link()
|
||||
|
||||
links "ZoneCommonTests"
|
||||
end
|
||||
|
||||
function ZoneCommonTests:use()
|
||||
|
||||
end
|
||||
|
||||
function ZoneCommonTests:project()
|
||||
@@ -19,11 +23,21 @@ function ZoneCommonTests:project()
|
||||
|
||||
files {
|
||||
path.join(folder, "ZoneCommonTests/**.h"),
|
||||
path.join(folder, "ZoneCommonTests/**.cpp")
|
||||
path.join(folder, "ZoneCommonTests/**.cpp"),
|
||||
ZoneCode:allTestFiles()
|
||||
}
|
||||
|
||||
vpaths {
|
||||
["*"] = {
|
||||
path.join(folder, "ZoneCommonTests"),
|
||||
path.join(BuildFolder(), "src/ZoneCode")
|
||||
}
|
||||
}
|
||||
|
||||
self:include()
|
||||
ZoneCommon:include()
|
||||
|
||||
ZoneCommon:link()
|
||||
|
||||
ZoneCode:use()
|
||||
end
|
||||
Reference in new issue
Block a user