Files
test2/source/blender/editors/space_script/CMakeLists.txt
Jacques Lucke 75322803df Cleanup: move more editors folders to c++
This moves `space_script`, `space_statusbar`, `space_topbar`,
`space_userpref`, `space_view3d` and `util`.

Also see #103343.

Pull Request: https://projects.blender.org/blender/blender/pulls/110015
2023-07-12 18:02:56 +02:00

42 lines
601 B
CMake

# SPDX-FileCopyrightText: 2023 Blender Foundation
#
# SPDX-License-Identifier: GPL-2.0-or-later
set(INC
../include
../../blenloader
../../blentranslation
../../gpu
../../makesrna
../../windowmanager
)
set(INC_SYS
)
set(SRC
script_edit.cc
script_ops.cc
space_script.cc
script_intern.h
)
set(LIB
PRIVATE bf::blenkernel
PRIVATE bf::blenlib
PRIVATE bf::dna
PRIVATE bf::intern::guardedalloc
)
if(WITH_PYTHON)
list(APPEND INC
../../python
)
add_definitions(-DWITH_PYTHON)
endif()
blender_add_lib(bf_editor_space_script "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")