diff options
author | Ray Molenkamp <github@lazydodo.com> | 2018-02-04 02:38:27 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2018-02-04 02:38:27 +0300 |
commit | 36c1122b96ca550a541f9cea9ed2673319c7467b (patch) | |
tree | 84ca501e92f836c81736e56ca9979b95799efd1c /intern/cycles/kernel/CMakeLists.txt | |
parent | a5052770b85fefe00511886429e6fc1f5056e1e8 (diff) |
msvc: Use source folder structure for project file.
This patch changes the huge list of projects in visual studio into a nice tree matching the source folder structure. see D2823 for details.
Differential Revision: http://developer.blender.org/D2823
Diffstat (limited to 'intern/cycles/kernel/CMakeLists.txt')
-rw-r--r-- | intern/cycles/kernel/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/cycles/kernel/CMakeLists.txt b/intern/cycles/kernel/CMakeLists.txt index 3b76b3403e7..d981b67559e 100644 --- a/intern/cycles/kernel/CMakeLists.txt +++ b/intern/cycles/kernel/CMakeLists.txt @@ -435,6 +435,7 @@ if(WITH_CYCLES_CUDA_BINARIES) endforeach() add_custom_target(cycles_kernel_cuda ALL DEPENDS ${cuda_cubins}) + cycles_set_solution_folder(cycles_kernel_cuda) endif() # OSL module @@ -477,7 +478,7 @@ if(CXX_HAS_AVX2) set_source_files_properties(kernels/cpu/filter_avx2.cpp PROPERTIES COMPILE_FLAGS "${CYCLES_AVX2_KERNEL_FLAGS}") endif() -add_library(cycles_kernel +cycles_add_library(cycles_kernel ${SRC_CPU_KERNELS} ${SRC_CUDA_KERNELS} ${SRC_OPENCL_KERNELS} |