forked from pytorch/executorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
49 lines (42 loc) · 1.3 KB
/
CMakeLists.txt
File metadata and controls
49 lines (42 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright (c) Qualcomm Innovation Center, Inc.
# All rights reserved
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# executorch_backend
target_sources(
executorch_backend INTERFACE ${EXECUTORCH_SOURCE_DIR}/backends/backend.h
)
# qnn_executorch_header
target_sources(
qnn_executorch_header INTERFACE ${CMAKE_CURRENT_LIST_DIR}/QnnExecuTorch.h
)
# qnn_executorch_backend
target_sources(
qnn_executorch_backend
INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/QnnExecuTorchBackend.h>
PRIVATE ${CMAKE_CURRENT_LIST_DIR}/QnnExecuTorchBackend.cpp
)
# qnn_manager
target_sources(
qnn_manager
INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/QnnManager.h>
PRIVATE ${CMAKE_CURRENT_LIST_DIR}/QnnManager.cpp
)
# qnn_backend_options
target_sources(
qnn_backend_options
INTERFACE ${CMAKE_CURRENT_LIST_DIR}/QnnBackendOptions.h
PRIVATE ${CMAKE_CURRENT_LIST_DIR}/QnnBackendOptions.cpp
)
# logging
target_sources(
qnn_executorch_logging
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/Logging.h>
PRIVATE ${CMAKE_CURRENT_LIST_DIR}/Logging.cpp
)
# shared_buffer
target_sources(
shared_buffer PRIVATE ${CMAKE_CURRENT_LIST_DIR}/SharedBuffer.h
${CMAKE_CURRENT_LIST_DIR}/SharedBuffer.cpp
)