Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/subd/CMakeLists.txt')
-rw-r--r--intern/cycles/subd/CMakeLists.txt21
1 files changed, 15 insertions, 6 deletions
diff --git a/intern/cycles/subd/CMakeLists.txt b/intern/cycles/subd/CMakeLists.txt
index 79ed73134f2..75f70753ddf 100644
--- a/intern/cycles/subd/CMakeLists.txt
+++ b/intern/cycles/subd/CMakeLists.txt
@@ -1,16 +1,23 @@
-include_directories(. ../util ../kernel ../kernel/svm ../render)
+set(INC
+ .
+ ../util
+ ../kernel
+ ../kernel/svm
+ ../render
+)
-set(sources
+set(SRC
subd_build.cpp
subd_dice.cpp
subd_mesh.cpp
subd_patch.cpp
subd_ring.cpp
subd_split.cpp
- subd_stencil.cpp)
+ subd_stencil.cpp
+)
-set(headers
+set(SRC_HEADERS
subd_build.h
subd_dice.h
subd_edge.h
@@ -20,7 +27,9 @@ set(headers
subd_ring.h
subd_split.h
subd_stencil.h
- subd_vert.h)
+ subd_vert.h
+)
-add_library(cycles_subd ${sources} ${headers})
+include_directories(${INC})
+add_library(cycles_subd ${SRC} ${SRC_HEADERS})