When adding a library in the Khafile like this:
project.addLibrary("D:/dev/armsdk/armory");
The hxml define looks like this:
instead of this:
This is especially problematic when the Khafile uses absolute paths and is automatically generated like Armory does it. The flag will likely be different on different machines so there is no way to use it properly in the code.
|
addLibrary(library: string): string { |
|
this.addDefine(library); |
Link with armory3d/armory#1858 (comment)
When adding a library in the Khafile like this:
The hxml define looks like this:
instead of this:
This is especially problematic when the Khafile uses absolute paths and is automatically generated like Armory does it. The flag will likely be different on different machines so there is no way to use it properly in the code.
khamake/src/Project.ts
Lines 207 to 208 in 25a96e9
Link with armory3d/armory#1858 (comment)