diff options
author | Jacques Lucke <jacques@blender.org> | 2022-02-23 18:56:27 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-02-23 18:56:27 +0300 |
commit | 226f0c4fef7e7792c16458cd3e456b169ddce918 (patch) | |
tree | 25c9a8214b66bbb06e86e0953189bb303e561323 /source/blender/editors/sculpt_paint/CMakeLists.txt | |
parent | 120f16fa1f1efd3cbb4da191d2912e0a6ce3ea59 (diff) |
Curves: initial brush implementations for curves sculpt mode
The main goal here is to add the boilerplate code to make it possible
to add the actual sculpt tools more easily. Both brush implementations
added by this patch are meant to be prototypes which will be removed
or refined in the coming weeks.
Ref T95773.
Differential Revision: https://developer.blender.org/D14180
Diffstat (limited to 'source/blender/editors/sculpt_paint/CMakeLists.txt')
-rw-r--r-- | source/blender/editors/sculpt_paint/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/CMakeLists.txt b/source/blender/editors/sculpt_paint/CMakeLists.txt index de7888aa1e8..59fbc3a64fb 100644 --- a/source/blender/editors/sculpt_paint/CMakeLists.txt +++ b/source/blender/editors/sculpt_paint/CMakeLists.txt @@ -9,6 +9,7 @@ set(INC ../../bmesh ../../depsgraph ../../draw + ../../functions ../../gpu ../../imbuf ../../makesdna @@ -78,5 +79,16 @@ set(LIB bf_blenlib ) +if(WITH_TBB) + list(APPEND INC_SYS + ${TBB_INCLUDE_DIRS} + ) + add_definitions(-DWITH_TBB) + if(WIN32) + # TBB includes Windows.h which will define min/max macros + # that will collide with the stl versions. + add_definitions(-DNOMINMAX) + endif() +endif() blender_add_lib(bf_editor_sculpt_paint "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") |