2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-17 07:21:43 +00:00

chore: add build log for zcg

This commit is contained in:
Jan Laupetin
2026-03-05 20:20:00 +00:00
parent 027d47d549
commit f8b3361bbe
6 changed files with 41 additions and 3 deletions
+4
View File
@@ -347,6 +347,7 @@ function ZoneCode:project()
.. ' -h "' .. path.join(path.getabsolute(ProjectFolder()), 'ZoneCode/Game/%{file.basename}/%{file.basename}_ZoneCode.h') .. '"'
.. ' -c "' .. path.join(path.getabsolute(ProjectFolder()), 'ZoneCode/Game/%{file.basename}/%{file.basename}_Commands.txt') .. '"'
.. ' -o "%{wks.location}/src/ZoneCode/Game/%{file.basename}"'
.. ' --build-log "%{wks.location}/src/ZoneCode/Game/%{file.basename}.log"'
.. ' -g ZoneLoad'
.. ' -g ZoneMark'
.. ' -g ZoneWrite'
@@ -358,6 +359,9 @@ function ZoneCode:project()
path.join(ProjectFolder(), "Common/Game/%{file.basename}/%{file.basename}_Assets.h"),
TargetDirectoryBuildTools .. "/" .. ExecutableByOs('ZoneCodeGenerator')
}
buildoutputs {
"%{wks.location}/src/ZoneCode/Game/%{file.basename}.log"
}
filter {}
filter "files:**/IW3.gen"