Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CMakeLists.txt « draco « extern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 09bc6efd29f0f7559f49305b70091398589ed0da (plain)
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
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright 2019 Blender Foundation. All rights reserved.

# Build Draco library.
add_subdirectory(draco)

# Build Draco-Blender bridging module.
set(SRC
  src/common.cpp
  src/common.h
  src/decoder.cpp
  src/decoder.h
  src/encoder.cpp
  src/encoder.h
)

set(INC
  draco/src
)

set(LIB
  draco
)

add_library(extern_draco SHARED "${SRC}")
target_include_directories(extern_draco PUBLIC "${INC}")
target_link_libraries(extern_draco PUBLIC "${LIB}")

blender_source_group(extern_draco "${SRC}")