The following CMake options have been added (enabled by default), except for the lite build configuration. - WITH_IO_STL - WITH_IO_WAVEFRONT_OBJ - WITH_IO_GPENCIL (for grease pencil SVG importing). Note that it was already possible to disable grease pencil export by disabling WITH_PUGIXML & WITH_HARU. This is intended to keep the lite builds fast and small for building, linking & execution. Reviewed By: iyadahmed2001, aras_p, antoniov, mont29 Ref D15141
35 lines
611 B
CMake
35 lines
611 B
CMake
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright 2020 Blender Foundation. All rights reserved.
|
|
|
|
if(WITH_IO_WAVEFRONT_OBJ OR WITH_IO_STL OR WITH_IO_GPENCIL OR WITH_ALEMBIC OR WITH_USD)
|
|
add_subdirectory(common)
|
|
endif()
|
|
|
|
if(WITH_IO_WAVEFRONT_OBJ)
|
|
add_subdirectory(wavefront_obj)
|
|
endif()
|
|
|
|
if(WITH_IO_STL)
|
|
add_subdirectory(stl)
|
|
endif()
|
|
|
|
if(WITH_IO_GPENCIL)
|
|
add_subdirectory(gpencil)
|
|
endif()
|
|
|
|
if(WITH_ALEMBIC)
|
|
add_subdirectory(alembic)
|
|
endif()
|
|
|
|
if(WITH_CODEC_AVI)
|
|
add_subdirectory(avi)
|
|
endif()
|
|
|
|
if(WITH_OPENCOLLADA)
|
|
add_subdirectory(collada)
|
|
endif()
|
|
|
|
if(WITH_USD)
|
|
add_subdirectory(usd)
|
|
endif()
|