khamake
khamake copied to clipboard
Kha's build tool.
For example, if you add this before `resolve(project);`: ``` const fs = require("fs"); const res = fs.readFileSync(__dirname + "/doesnotexist").toString(); console.log(res); ``` build folder will not be generated, i guess because...
There are situations where one cannot use Kha's asset macros, e.g. if you don't know the asset names at the time of writing the code but only upon compilation or...
When adding a library in the Khafile like this: ```js project.addLibrary("D:/dev/armsdk/armory"); ``` The hxml define looks like this: ``` -D D:/dev/armsdk/armory ``` instead of this: ``` -D armory ``` This...
Basically, I was able to test that my flags were being ignored when they were declared in an added library. The library khafile.js ```js let project = new Project('tests'); project.addDefine('hxp_test_message_lib');...
`C:\...somethingsomething...\build\windows-build\Sources\src\kha\_Assets\SoundList.cpp : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj` Khamake (Koremake probably as well) needs an option to pass additional compiler/linker flags. Currently...
Kore targets, for example `node Kha/make android-native --compile --noproject` give an error: ```events.js:112 throw er; // Unhandled 'error' event ^ Error: spawn bash ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:201:19) at onErrorNT (internal/child_process.js:379:16)...
main project: khafile.js ```js prj.addProject('libs/subproject'); ``` sub projects khafile: ``` prj.addAssets('assets/**', { notInList: true, nameBaseDir: 'assets', destination: '{dir}/{name}', name: '{dir}/{name}', }); ``` Converted assets will be written to `./build/libs/subproject/assets/...` instead...
Yes, it does generate hxproj files, but I'd prefer having proper Kha platform template. I already partially made it with a batch wrapper monstrosity, but without few changes/additions in khamake...
Hi, I have installed nodejs on my android phone and wanted to build my game on it. khamake fails at ```binding.futimes(fd, atime, mtime);``` upon exporting assets for html5 This happen...
from irc: - dave: i just updated the wiki section for kha's asset management to include the "advanced" options. come to think of it, maybe they should be the default,...