Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/app/CMakeLists.txt
| set(INC | set(INC | ||||
| . | . | ||||
| ../device | ../device | ||||
| ../kernel | ../kernel | ||||
| ../kernel/svm | ../kernel/svm | ||||
| ../bvh | ../bvh | ||||
| ../util | ../util | ||||
| ../render | ../render | ||||
| ../subd | ../subd | ||||
| ../../../extern/rapidjson/include | |||||
| ) | ) | ||||
| set(INC_SYS | set(INC_SYS | ||||
| ) | ) | ||||
| set(LIBRARIES | set(LIBRARIES | ||||
| cycles_device | cycles_device | ||||
| cycles_kernel | cycles_kernel | ||||
| cycles_render | cycles_render | ||||
| Show All 30 Lines | |||||
| include_directories(${INC}) | include_directories(${INC}) | ||||
| include_directories(SYSTEM ${INC_SYS}) | include_directories(SYSTEM ${INC_SYS}) | ||||
| if(WITH_CYCLES_STANDALONE) | if(WITH_CYCLES_STANDALONE) | ||||
| set(SRC | set(SRC | ||||
| cycles_standalone.cpp | cycles_standalone.cpp | ||||
| cycles_xml.cpp | cycles_xml.cpp | ||||
| cycles_xml.h | cycles_xml.h | ||||
| cycles_json.h | |||||
| cycles_json.cpp | |||||
| ) | ) | ||||
| add_executable(cycles ${SRC}) | add_executable(cycles ${SRC}) | ||||
| list(APPEND LIBRARIES ${PLATFORM_LINKLIBS}) | list(APPEND LIBRARIES ${PLATFORM_LINKLIBS}) | ||||
| target_link_libraries(cycles ${LIBRARIES} ${CMAKE_DL_LIBS}) | target_link_libraries(cycles ${LIBRARIES} ${CMAKE_DL_LIBS}) | ||||
| if(UNIX AND NOT APPLE) | if(UNIX AND NOT APPLE) | ||||
| set_target_properties(cycles PROPERTIES INSTALL_RPATH $ORIGIN/lib) | set_target_properties(cycles PROPERTIES INSTALL_RPATH $ORIGIN/lib) | ||||
| endif() | endif() | ||||
| Show All 16 Lines | |||||