Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
06933d0a6a | ||
|
|
1a834a63c6 | ||
|
|
c6a8715ad2 | ||
|
|
d38351ef50 | ||
|
|
8942d8ab78 | ||
|
|
8e78d49253 | ||
|
|
bc1c652c93 | ||
|
|
9dd70571cf | ||
|
|
12c8d3051c | ||
|
|
b1d2c74774 | ||
|
|
23cbc65185 | ||
|
|
8069d9713b | ||
|
|
f8b31659de |
@@ -160,6 +160,17 @@ else()
|
||||
set(PhysXSDK)
|
||||
endif()
|
||||
|
||||
if(USE_AR_MODULE)
|
||||
set(ARSDK libAR)
|
||||
add_library(libAR STATIC IMPORTED GLOBAL)
|
||||
set_target_properties(libAR PROPERTIES
|
||||
IMPORTED_LOCATION ${platform_spec_path}/ar/libar.a
|
||||
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_CURRENT_LIST_DIR}/../../cocos/xr
|
||||
)
|
||||
else()
|
||||
set(ARSDK)
|
||||
endif()
|
||||
|
||||
if (USE_DEBUG_RENDERER)
|
||||
list(APPEND CC_EXTERNAL_LIBS
|
||||
freetype
|
||||
@@ -173,6 +184,7 @@ list(APPEND CC_EXTERNAL_LIBS
|
||||
uv
|
||||
android_platform
|
||||
${PhysXSDK}
|
||||
${ARSDK}
|
||||
)
|
||||
|
||||
if(USE_JOB_SYSTEM_TBB OR CC_USE_VULKAN) ## VKDevice.cpp use tbb_allocator.h
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -206,6 +206,17 @@ else()
|
||||
set(PhysXSDK)
|
||||
endif()
|
||||
|
||||
if(USE_AR_MODULE)
|
||||
set(ARSDK libAR)
|
||||
add_library(libAR STATIC IMPORTED GLOBAL)
|
||||
set_target_properties(libAR PROPERTIES
|
||||
IMPORTED_LOCATION ${CMAKE_CURRENT_LIST_DIR}/libs/ar/libar.a
|
||||
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_CURRENT_LIST_DIR}/../../cocos/xr
|
||||
)
|
||||
else()
|
||||
set(ARSDK)
|
||||
endif()
|
||||
|
||||
list(APPEND CC_EXTERNAL_INCLUDES
|
||||
${CMAKE_CURRENT_LIST_DIR}/include
|
||||
)
|
||||
@@ -224,6 +235,7 @@ list(APPEND CC_EXTERNAL_LIBS
|
||||
${spirv-cross_libs_name}
|
||||
${tbb_libs_name}
|
||||
${PhysXSDK}
|
||||
${ARSDK}
|
||||
)
|
||||
|
||||
set(ZLIB z)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -278,6 +278,7 @@ SE_DECLARE_FINALIZE_FUNC(js_delete_$jsdtor) %}
|
||||
%{
|
||||
bool js_register_$jsmangledname(se::Object* obj) {
|
||||
$jsclass_inheritance
|
||||
cls->defineStaticProperty("__isJSB", se::Value(true), se::PropertyAttribute::READ_ONLY | se::PropertyAttribute::DONT_ENUM | se::PropertyAttribute::DONT_DELETE);
|
||||
$jsclassvariables
|
||||
$jsclassfunctions
|
||||
$jsstaticclassvariables
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -278,6 +278,7 @@ SE_DECLARE_FINALIZE_FUNC(js_delete_$jsdtor) %}
|
||||
%{
|
||||
bool js_register_$jsmangledname(se::Object* obj) {
|
||||
$jsclass_inheritance
|
||||
cls->defineStaticProperty("__isJSB", se::Value(true), se::PropertyAttribute::READ_ONLY | se::PropertyAttribute::DONT_ENUM | se::PropertyAttribute::DONT_DELETE);
|
||||
$jsclassvariables
|
||||
$jsclassfunctions
|
||||
$jsstaticclassvariables
|
||||
|
||||
+4
-4
@@ -131,7 +131,7 @@ glslang (Built using https://github.com/YunHsiao/glslang/tree/build)
|
||||
ios: 11.5.0 (commit: 1978c76)
|
||||
linux: 11.5.0
|
||||
|
||||
swig (Built using https://github.com/dumganhar/swig/tree/cocos-se)
|
||||
win64: cocos-v1.1.0 (commit: fac0dbb)
|
||||
mac: cocos-v1.1.0 (commit: fac0dbb)
|
||||
linux: cocos-v1.1.0 (commit: fac0dbb)
|
||||
swig ( Built using https://github.com/cocos/swig/tree/cocos-se, executable files are downloaded from https://github.com/cocos/swig/releases/tag/cocos-v1.1.2 )
|
||||
win64: cocos-v1.1.2 (commit: 5c7c430)
|
||||
mac: cocos-v1.1.2 (commit: 5c7c430)
|
||||
linux: cocos-v1.1.2 (commit: 5c7c430)
|
||||
|
||||
Binary file not shown.
@@ -278,6 +278,7 @@ SE_DECLARE_FINALIZE_FUNC(js_delete_$jsdtor) %}
|
||||
%{
|
||||
bool js_register_$jsmangledname(se::Object* obj) {
|
||||
$jsclass_inheritance
|
||||
cls->defineStaticProperty("__isJSB", se::Value(true), se::PropertyAttribute::READ_ONLY | se::PropertyAttribute::DONT_ENUM | se::PropertyAttribute::DONT_DELETE);
|
||||
$jsclassvariables
|
||||
$jsclassfunctions
|
||||
$jsstaticclassvariables
|
||||
|
||||
Reference in New Issue
Block a user