This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/python/generic/CMakeLists.txt
Dalai Felinto f1c4688e25 renaming blf_api.h to blf_py_api.h
In windows this was producing Linking dependence errors because we have BLF_api.h in the /blenfont/ and blf_api.h in /python/generic/. It doesn't produces crash out of the box but I was trying to link both "api" files to the same project (Ketjsi folder). For the linking order was determining what header to use. A workaround is to "include" the file using some ../../ relative folder. But renaming it is less error prone.

Probably Ketsji folder shouldn't link to BLF_api.h anyways, but this is something I will look better later before another commit. In the mean time it's not a good idea to have 2 api files with the same name (for non case-sensitive systems).
2010-12-09 17:31:42 +00:00

61 lines
1.4 KiB
CMake

# ***** 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): Campbell Barton
#
# ***** END GPL LICENSE BLOCK *****
set(INC
.
../../blenlib
../../makesdna
../../blenkernel
../../../../intern/guardedalloc
../../../../extern/glew/include
${PYTHON_INC}
)
set(SRC
IDProp.c
bgl.c
blf_py_api.c
bpy_internal_import.c
mathutils.c
mathutils_color.c
mathutils_euler.c
mathutils_geometry.c
mathutils_matrix.c
mathutils_quat.c
mathutils_vector.c
noise.c
py_capi_utils.c
IDProp.h
bgl.h
blf_py_api.h
bpy_internal_import.h
mathutils.h
mathutils_color.h
mathutils_euler.h
mathutils_geometry.h
mathutils_matrix.h
mathutils_quat.h
mathutils_vector.h
py_capi_utils.h
)
blenderlib(bf_python_ext "${SRC}" "${INC}")