diff options
author | Ray Molenkamp <github@lazydodo.com> | 2019-08-30 17:40:08 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2019-08-30 17:40:08 +0300 |
commit | 66ec72045f8c25ec9e9710f4d70aed9fb1514df6 (patch) | |
tree | 676d5f94863224c8a0de0dec3337a73fb7707dc6 /source/blender/blendthumb/CMakeLists.txt | |
parent | 26c110f2d243eddcb5bf80c1214d00d810181f1a (diff) |
Windows: Move building of blendthumb into the blender codebase.
Previously this was done in the deps builder due to the fact we needed
both 32 and 64 bit versions of this dll and CMAKE does not support that
in a single build folder. Now that 32 bit support has been dropped, this
can be safely moved into the codebase.
Reviewers: brecht
Differential Revision: https://developer.blender.org/D5633
Diffstat (limited to 'source/blender/blendthumb/CMakeLists.txt')
-rw-r--r-- | source/blender/blendthumb/CMakeLists.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/source/blender/blendthumb/CMakeLists.txt b/source/blender/blendthumb/CMakeLists.txt new file mode 100644 index 00000000000..3f9e0b1bff5 --- /dev/null +++ b/source/blender/blendthumb/CMakeLists.txt @@ -0,0 +1,32 @@ +# ***** 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. +# +# The Original Code is Copyright (C) 2006, Blender Foundation +# All rights reserved. +# ***** END GPL LICENSE BLOCK ***** + +#----------------------------------------------------------------------------- +include_directories(${ZLIB_INCLUDE_DIRS}) + +set(SRC + src/BlenderThumb.cpp + src/BlendThumb.def + src/BlendThumb.rc + src/Dll.cpp +) + +add_library(BlendThumb SHARED ${SRC}) +target_link_libraries(BlendThumb ${ZLIB_LIBRARIES}) |