Skip to content

Commit 05ac5a2

Browse files
author
jj
committed
Add OrbbecSDK link library
1 parent 42cbd3f commit 05ac5a2

17 files changed

+1000
-752
lines changed

.gitignore

Lines changed: 752 additions & 752 deletions
Large diffs are not rendered by default.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#----------------------------------------------------------------
2+
# Generated CMake target import file for configuration "Release".
3+
#----------------------------------------------------------------
4+
5+
# Commands may need to know the format version.
6+
set(CMAKE_IMPORT_FILE_VERSION 1)
7+
8+
# Import target "ob::OrbbecSDK" for configuration "Release"
9+
set_property(TARGET ob::OrbbecSDK APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
10+
set_target_properties(ob::OrbbecSDK PROPERTIES
11+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so"
12+
IMPORTED_SONAME_RELEASE "libOrbbecSDK.so"
13+
)
14+
15+
list(APPEND _cmake_import_check_targets ob::OrbbecSDK )
16+
list(APPEND _cmake_import_check_files_for_ob::OrbbecSDK "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so" )
17+
18+
# Commands beyond this point should not need to know the version.
19+
set(CMAKE_IMPORT_FILE_VERSION)
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
# Generated by CMake
2+
3+
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
4+
message(FATAL_ERROR "CMake >= 2.8.0 required")
5+
endif()
6+
if(CMAKE_VERSION VERSION_LESS "2.8.3")
7+
message(FATAL_ERROR "CMake >= 2.8.3 required")
8+
endif()
9+
cmake_policy(PUSH)
10+
cmake_policy(VERSION 2.8.3...3.28)
11+
#----------------------------------------------------------------
12+
# Generated CMake target import file.
13+
#----------------------------------------------------------------
14+
15+
# Commands may need to know the format version.
16+
set(CMAKE_IMPORT_FILE_VERSION 1)
17+
18+
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
19+
set(_cmake_targets_defined "")
20+
set(_cmake_targets_not_defined "")
21+
set(_cmake_expected_targets "")
22+
foreach(_cmake_expected_target IN ITEMS ob::OrbbecSDK)
23+
list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
24+
if(TARGET "${_cmake_expected_target}")
25+
list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
26+
else()
27+
list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
28+
endif()
29+
endforeach()
30+
unset(_cmake_expected_target)
31+
if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
32+
unset(_cmake_targets_defined)
33+
unset(_cmake_targets_not_defined)
34+
unset(_cmake_expected_targets)
35+
unset(CMAKE_IMPORT_FILE_VERSION)
36+
cmake_policy(POP)
37+
return()
38+
endif()
39+
if(NOT _cmake_targets_defined STREQUAL "")
40+
string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
41+
string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
42+
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
43+
endif()
44+
unset(_cmake_targets_defined)
45+
unset(_cmake_targets_not_defined)
46+
unset(_cmake_expected_targets)
47+
48+
49+
# Compute the installation prefix relative to this file.
50+
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
51+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
52+
if(_IMPORT_PREFIX STREQUAL "/")
53+
set(_IMPORT_PREFIX "")
54+
endif()
55+
56+
# Create imported target ob::OrbbecSDK
57+
add_library(ob::OrbbecSDK SHARED IMPORTED)
58+
59+
set_target_properties(ob::OrbbecSDK PROPERTIES
60+
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
61+
)
62+
63+
# Load information for each installed configuration.
64+
file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/OrbbecSDKConfig-*.cmake")
65+
foreach(_cmake_config_file IN LISTS _cmake_config_files)
66+
include("${_cmake_config_file}")
67+
endforeach()
68+
unset(_cmake_config_file)
69+
unset(_cmake_config_files)
70+
71+
# Cleanup temporary variables.
72+
set(_IMPORT_PREFIX)
73+
74+
# Loop over all imported files and verify that they actually exist
75+
foreach(_cmake_target IN LISTS _cmake_import_check_targets)
76+
if(CMAKE_VERSION VERSION_LESS "3.28"
77+
OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
78+
OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
79+
foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
80+
if(NOT EXISTS "${_cmake_file}")
81+
message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
82+
\"${_cmake_file}\"
83+
but this file does not exist. Possible reasons include:
84+
* The file was deleted, renamed, or moved to another location.
85+
* An install or uninstall procedure did not complete successfully.
86+
* The installation package was faulty and contained
87+
\"${CMAKE_CURRENT_LIST_FILE}\"
88+
but not all the files it references.
89+
")
90+
endif()
91+
endforeach()
92+
endif()
93+
unset(_cmake_file)
94+
unset("_cmake_import_check_files_for_${_cmake_target}")
95+
endforeach()
96+
unset(_cmake_target)
97+
unset(_cmake_import_check_targets)
98+
99+
# This file does not depend on other imported targets which have
100+
# been exported from the same project but in a separate export set.
101+
102+
# Commands beyond this point should not need to know the version.
103+
set(CMAKE_IMPORT_FILE_VERSION)
104+
cmake_policy(POP)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
libdepthengine.so.2.0
520 KB
Binary file not shown.
144 KB
Binary file not shown.
203 KB
Binary file not shown.
106 KB
Binary file not shown.
210 KB
Binary file not shown.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#----------------------------------------------------------------
2+
# Generated CMake target import file for configuration "Release".
3+
#----------------------------------------------------------------
4+
5+
# Commands may need to know the format version.
6+
set(CMAKE_IMPORT_FILE_VERSION 1)
7+
8+
# Import target "ob::OrbbecSDK" for configuration "Release"
9+
set_property(TARGET ob::OrbbecSDK APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
10+
set_target_properties(ob::OrbbecSDK PROPERTIES
11+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so"
12+
IMPORTED_SONAME_RELEASE "libOrbbecSDK.so"
13+
)
14+
15+
list(APPEND _cmake_import_check_targets ob::OrbbecSDK )
16+
list(APPEND _cmake_import_check_files_for_ob::OrbbecSDK "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so" )
17+
18+
# Commands beyond this point should not need to know the version.
19+
set(CMAKE_IMPORT_FILE_VERSION)

0 commit comments

Comments
 (0)