Skip to content

Commit

Permalink
Update khacpp
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Sep 7, 2023
1 parent e9a1848 commit af57645
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Backends/Kinc-hxcpp/kfile.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
let project = new Project('Kha');

const pcreVersion = '10.42';
const tlsVersion = '2.9.0';
const zlibVersion = '1.2.11';
const tlsVersion = '2.28.2';
const zlibVersion = '1.2.13';

project.addFiles('khacpp/src/**.h', 'khacpp/src/**.cpp', 'khacpp/include/**.h');
project.addFiles('khacpp/project/libs/common/**.h', 'khacpp/project/libs/common/**.cpp');
Expand Down Expand Up @@ -63,6 +63,7 @@ project.addExcludes('khacpp/src/hx/libs/sqlite/**');
project.addExcludes('khacpp/src/hx/libs/mysql/**');

project.addIncludeDirs('khacpp/include', 'khacpp/project/thirdparty/pcre2-' + pcreVersion + '/src', 'khacpp/project/thirdparty/zlib-' + zlibVersion, 'khacpp/project/libs/nekoapi', 'khacpp/project/thirdparty/mbedtls-' + tlsVersion + '/include');
project.addIncludeDir('khacpp/src/hx/libs/ssl');

//if (options.vrApi == "rift") {
// out += "project.addIncludeDirs('C:/khaviar/LibOVRKernel/Src/');\n";
Expand Down Expand Up @@ -120,6 +121,7 @@ project.addDefine('ROTATE90');
project.addDefine('HAVE_CONFIG_H');
project.addDefine('SUPPORT_UTF');
project.addDefine('SUPPORT_UCP');
project.addDefine('MBEDTLS_USER_CONFIG_FILE="mbedtls_config.h"');

//if (Options.vrApi === "gearvr") {
// out += "project.addDefine('VR_GEAR_VR');\n";
Expand Down
2 changes: 1 addition & 1 deletion Backends/Kinc-hxcpp/khacpp
Submodule khacpp updated 574 files

0 comments on commit af57645

Please sign in to comment.