2010-06-04 11:34:57 +00:00
|
|
|
# ***** BEGIN GPL LICENSE BLOCK *****
|
|
|
|
|
#
|
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
|
#
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
#
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
|
# along with this program; if not, write to the Free Software Foundation,
|
|
|
|
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
|
#
|
|
|
|
|
# Contributor(s): Jacques Beaurain.
|
|
|
|
|
#
|
|
|
|
|
# ***** END GPL LICENSE BLOCK *****
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
set(INC
|
2010-06-05 23:27:49 +00:00
|
|
|
../include
|
|
|
|
|
../../blenfont
|
|
|
|
|
../../blenkernel
|
|
|
|
|
../../blenlib
|
2015-08-16 17:32:01 +10:00
|
|
|
../../blentranslation
|
2017-06-08 10:14:53 +02:00
|
|
|
../../depsgraph
|
2018-05-03 15:31:03 +02:00
|
|
|
../../draw
|
2010-06-05 23:27:49 +00:00
|
|
|
../../gpu
|
|
|
|
|
../../imbuf
|
|
|
|
|
../../makesdna
|
|
|
|
|
../../makesrna
|
|
|
|
|
../../python
|
2010-06-04 11:34:57 +00:00
|
|
|
../../windowmanager
|
|
|
|
|
../../../../intern/guardedalloc
|
2014-10-07 15:46:19 -05:00
|
|
|
../../../../intern/glew-mx
|
2011-05-31 01:15:44 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(INC_SYS
|
2011-04-06 03:02:40 +00:00
|
|
|
${GLEW_INCLUDE_PATH}
|
2010-06-04 11:34:57 +00:00
|
|
|
)
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
set(SRC
|
2010-10-23 04:05:55 +00:00
|
|
|
interface.c
|
2015-11-06 18:39:56 +01:00
|
|
|
interface_align.c
|
2010-10-23 04:05:55 +00:00
|
|
|
interface_anim.c
|
|
|
|
|
interface_draw.c
|
2013-10-08 15:07:52 +00:00
|
|
|
interface_eyedropper.c
|
2017-12-12 15:16:13 +11:00
|
|
|
interface_eyedropper_color.c
|
|
|
|
|
interface_eyedropper_colorband.c
|
|
|
|
|
interface_eyedropper_datablock.c
|
|
|
|
|
interface_eyedropper_depth.c
|
|
|
|
|
interface_eyedropper_driver.c
|
2010-10-23 04:05:55 +00:00
|
|
|
interface_handlers.c
|
|
|
|
|
interface_icons.c
|
|
|
|
|
interface_layout.c
|
|
|
|
|
interface_ops.c
|
|
|
|
|
interface_panel.c
|
|
|
|
|
interface_regions.c
|
2017-11-03 20:26:35 +11:00
|
|
|
interface_region_color_picker.c
|
|
|
|
|
interface_region_menu_pie.c
|
|
|
|
|
interface_region_menu_popup.c
|
2018-04-22 17:16:39 +02:00
|
|
|
interface_region_popover.c
|
2017-11-03 20:26:35 +11:00
|
|
|
interface_region_popup.c
|
|
|
|
|
interface_region_search.c
|
|
|
|
|
interface_region_tooltip.c
|
2010-10-23 04:05:55 +00:00
|
|
|
interface_style.c
|
|
|
|
|
interface_templates.c
|
|
|
|
|
interface_utils.c
|
|
|
|
|
interface_widgets.c
|
|
|
|
|
resources.c
|
|
|
|
|
view2d.c
|
|
|
|
|
view2d_ops.c
|
2010-11-29 04:35:56 +00:00
|
|
|
|
2018-02-09 13:48:34 +11:00
|
|
|
interface_eyedropper_intern.h
|
2010-11-29 04:35:56 +00:00
|
|
|
interface_intern.h
|
2018-02-09 13:48:34 +11:00
|
|
|
interface_regions_intern.h
|
2010-10-23 04:05:55 +00:00
|
|
|
)
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_INTERNATIONAL)
|
2011-09-26 10:35:47 +00:00
|
|
|
add_definitions(-DWITH_INTERNATIONAL)
|
2010-12-08 08:43:06 +00:00
|
|
|
endif()
|
2010-06-04 11:34:57 +00:00
|
|
|
|
2011-06-05 07:55:18 +00:00
|
|
|
if(WITH_HEADLESS)
|
|
|
|
|
add_definitions(-DWITH_HEADLESS)
|
|
|
|
|
endif()
|
|
|
|
|
|
2018-02-12 17:37:39 +11:00
|
|
|
if(WITH_CYCLES)
|
|
|
|
|
add_definitions(-DWITH_CYCLES)
|
|
|
|
|
endif()
|
|
|
|
|
|
2010-12-08 08:43:06 +00:00
|
|
|
if(WITH_PYTHON)
|
|
|
|
|
add_definitions(-DWITH_PYTHON)
|
|
|
|
|
endif()
|
2010-06-04 11:34:57 +00:00
|
|
|
|
2014-12-07 00:58:17 +01:00
|
|
|
if(WIN32)
|
|
|
|
|
if(WITH_INPUT_IME)
|
|
|
|
|
add_definitions(-DWITH_INPUT_IME)
|
|
|
|
|
endif()
|
|
|
|
|
endif()
|
|
|
|
|
|
2014-10-07 15:46:19 -05:00
|
|
|
add_definitions(${GL_DEFINITIONS})
|
|
|
|
|
|
2011-05-31 01:15:44 +00:00
|
|
|
blender_add_lib(bf_editor_interface "${SRC}" "${INC}" "${INC_SYS}")
|