diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-09 00:27:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-09 00:27:37 +0400 |
commit | 33814e0093f0d8d5d8dca46dfc3a13a39a256227 (patch) | |
tree | 4bc801ca44b0c1d8aa75d829e3482c7eabd7b018 /intern/cycles/kernel/osl/CMakeLists.txt | |
parent | 76f77514d3ffbb9697154bb5d12a1bee1b57b607 (diff) |
edits to cycles cmake files so cmake_consistency_check.py can parse them.
Diffstat (limited to 'intern/cycles/kernel/osl/CMakeLists.txt')
-rw-r--r-- | intern/cycles/kernel/osl/CMakeLists.txt | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/intern/cycles/kernel/osl/CMakeLists.txt b/intern/cycles/kernel/osl/CMakeLists.txt index 4a3a6f6798a..b010bba4d25 100644 --- a/intern/cycles/kernel/osl/CMakeLists.txt +++ b/intern/cycles/kernel/osl/CMakeLists.txt @@ -1,7 +1,14 @@ -include_directories(. ../ ../svm ../../render ../../util ../../device) +set(INC + . + ../ + ../svm + ../../render + ../../util + ../../device +) -set(sources +set(SRC background.cpp bsdf_ashikhmin_velvet.cpp bsdf_diffuse.cpp @@ -17,17 +24,20 @@ set(sources osl_closures.cpp osl_services.cpp osl_shader.cpp - vol_subsurface.cpp) + vol_subsurface.cpp +) -set(headers +set(HEADER_SRC osl_closures.h osl_globals.h osl_services.h - osl_shader.h) + osl_shader.h +) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}") -add_library(cycles_kernel_osl ${sources} ${headers}) +include_directories(${INC}) -add_subdirectory(nodes) +add_library(cycles_kernel_osl ${SRC} ${HEADER_SRC}) +add_subdirectory(nodes) |