Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/io/CMakeLists.txt
| Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | set(SRC | ||||
| io_ops.h | io_ops.h | ||||
| io_usd.h | io_usd.h | ||||
| io_stl_ops.h | io_stl_ops.h | ||||
| ) | ) | ||||
| set(LIB | set(LIB | ||||
| bf_blenkernel | bf_blenkernel | ||||
| bf_blenlib | bf_blenlib | ||||
| bf_wavefront_obj | |||||
| bf_stl | |||||
| ) | ) | ||||
| if(WITH_OPENCOLLADA) | if(WITH_OPENCOLLADA) | ||||
| list(APPEND LIB | list(APPEND LIB | ||||
| bf_collada | bf_collada | ||||
| ) | ) | ||||
| add_definitions(-DWITH_COLLADA) | add_definitions(-DWITH_COLLADA) | ||||
| endif() | endif() | ||||
| if(WITH_IO_WAVEFRONT_OBJ) | |||||
| list(APPEND LIB | |||||
| bf_wavefront_obj | |||||
| ) | |||||
| add_definitions(-DWITH_IO_WAVEFRONT_OBJ) | |||||
| endif() | |||||
| if(WITH_IO_STL) | |||||
| list(APPEND LIB | |||||
| bf_stl | |||||
| ) | |||||
| add_definitions(-DWITH_IO_STL) | |||||
| endif() | |||||
| if(WITH_IO_GPENCIL) | |||||
| list(APPEND LIB | |||||
| bf_gpencil | |||||
| ) | |||||
| add_definitions(-DWITH_IO_GPENCIL) | |||||
| endif() | |||||
| if(WITH_ALEMBIC) | if(WITH_ALEMBIC) | ||||
| list(APPEND LIB | list(APPEND LIB | ||||
| bf_alembic | bf_alembic | ||||
| ) | ) | ||||
| add_definitions(-DWITH_ALEMBIC) | add_definitions(-DWITH_ALEMBIC) | ||||
| endif() | endif() | ||||
| if(WITH_USD) | if(WITH_USD) | ||||
| list(APPEND LIB | list(APPEND LIB | ||||
| bf_usd | bf_usd | ||||
| ) | ) | ||||
| add_definitions(-DWITH_USD) | add_definitions(-DWITH_USD) | ||||
| endif() | endif() | ||||
| if(WITH_PUGIXML) | if(WITH_PUGIXML) | ||||
| add_definitions(-DWITH_PUGIXML) | add_definitions(-DWITH_PUGIXML) | ||||
| endif() | endif() | ||||
| if(WITH_HARU) | if(WITH_HARU) | ||||
| add_definitions(-DWITH_HARU) | add_definitions(-DWITH_HARU) | ||||
| endif() | endif() | ||||
| list(APPEND LIB bf_gpencil) | |||||
| blender_add_lib(bf_editor_io "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") | blender_add_lib(bf_editor_io "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") | ||||