Changeset View
Changeset View
Standalone View
Standalone View
extern/draco/CMakeLists.txt
| Show All 13 Lines | |||||
| # along with this program; if not, write to the Free Software Foundation, | # along with this program; if not, write to the Free Software Foundation, | ||||
| # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
| # | # | ||||
| # The Original Code is Copyright (C) 2019, Blender Foundation | # The Original Code is Copyright (C) 2019, Blender Foundation | ||||
| # All rights reserved. | # All rights reserved. | ||||
| # ***** END GPL LICENSE BLOCK ***** | # ***** END GPL LICENSE BLOCK ***** | ||||
| # Build Draco library. | # Build Draco library. | ||||
| add_subdirectory(dracoenc) | add_subdirectory(draco) | ||||
| # Build blender-draco-exporter module. | # Build Draco-Blender bridging module. | ||||
| set(SRC | set(SRC | ||||
| src/draco-compressor.cpp | src/common.cpp | ||||
| src/draco-compressor.h | src/common.h | ||||
| src/decoder.cpp | |||||
| src/decoder.h | |||||
| src/encoder.cpp | |||||
| src/encoder.h | |||||
| ) | ) | ||||
| set(INC | set(INC | ||||
| dracoenc/src | draco/src | ||||
| ) | ) | ||||
| set(LIB | set(LIB | ||||
| dracoenc | draco | ||||
| ) | ) | ||||
| add_library(extern_draco SHARED "${SRC}") | add_library(extern_draco SHARED "${SRC}") | ||||
| target_include_directories(extern_draco PUBLIC "${INC}") | target_include_directories(extern_draco PUBLIC "${INC}") | ||||
| target_link_libraries(extern_draco PUBLIC "${LIB}") | target_link_libraries(extern_draco PUBLIC "${LIB}") | ||||
| blender_source_group(extern_draco "${SRC}") | blender_source_group(extern_draco "${SRC}") | ||||