forked from LeenkxTeam/LNXSDK
HaxeJolt
This commit is contained in:
16
lib/haxejolt/kincfile.js
Normal file
16
lib/haxejolt/kincfile.js
Normal file
@ -0,0 +1,16 @@
|
||||
let project = new Project('haxejolt', __dirname);
|
||||
|
||||
project.addFile('JoltPhysics/Jolt/**');
|
||||
project.addIncludeDir('JoltPhysics');
|
||||
|
||||
project.addFile('hl/jolt.cpp');
|
||||
|
||||
project.cppStd = 'c++17';
|
||||
|
||||
if (platform === Platform.Windows || platform === Platform.Linux) {
|
||||
project.addDefine('JPH_USE_SSE4_1');
|
||||
project.addDefine('JPH_USE_SSE4_2');
|
||||
}
|
||||
project.addDefine('JPH_NO_DEBUG');
|
||||
|
||||
resolve(project);
|
||||
Reference in New Issue
Block a user