diff options
author | Thomas Dinges <blender@dingto.org> | 2013-08-27 06:37:48 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-08-27 06:37:48 +0400 |
commit | ff4e0187531b577a12484c82774fc4229dd2a76a (patch) | |
tree | f5272b74793d98558a342819ee0bf851a699abf8 /intern/cycles/app | |
parent | defb8812a7c3fbd05bd644009fda442cdd795b74 (diff) |
Cycles / Standalone:
* Rename test to standalone.
Note: New CMAKE flag is WITH_CYCLES_STANDALONE.
Diffstat (limited to 'intern/cycles/app')
-rw-r--r-- | intern/cycles/app/CMakeLists.txt | 12 | ||||
-rw-r--r-- | intern/cycles/app/cycles_standalone.cpp (renamed from intern/cycles/app/cycles_test.cpp) | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/intern/cycles/app/CMakeLists.txt b/intern/cycles/app/CMakeLists.txt index 3fb8aaf934f..347da075d05 100644 --- a/intern/cycles/app/CMakeLists.txt +++ b/intern/cycles/app/CMakeLists.txt @@ -27,7 +27,7 @@ set(LIBRARIES link_directories(${OPENIMAGEIO_LIBPATH} ${BOOST_LIBPATH}) -if(WITH_CYCLES_TEST) +if(WITH_CYCLES_STANDALONE) list(APPEND LIBRARIES ${GLUT_LIBRARIES}) endif() @@ -38,17 +38,17 @@ endif() include_directories(${INC}) include_directories(SYSTEM ${INC_SYS}) -if(WITH_CYCLES_TEST) +if(WITH_CYCLES_STANDALONE) set(SRC - cycles_test.cpp + cycles_standalone.cpp cycles_xml.cpp cycles_xml.h ) - add_executable(cycles_test ${SRC}) - target_link_libraries(cycles_test ${LIBRARIES}) + add_executable(cycles ${SRC}) + target_link_libraries(cycles ${LIBRARIES}) if(UNIX AND NOT APPLE) - set_target_properties(cycles_test PROPERTIES INSTALL_RPATH $ORIGIN/lib) + set_target_properties(cycles PROPERTIES INSTALL_RPATH $ORIGIN/lib) endif() unset(SRC) endif() diff --git a/intern/cycles/app/cycles_test.cpp b/intern/cycles/app/cycles_standalone.cpp index df655b536ec..9a193548d7a 100644 --- a/intern/cycles/app/cycles_test.cpp +++ b/intern/cycles/app/cycles_standalone.cpp @@ -229,7 +229,7 @@ static void options_parse(int argc, const char **argv) ArgParse ap; bool help = false; - ap.options ("Usage: cycles_test [options] file.xml", + ap.options ("Usage: cycles [options] file.xml", "%*", files_parse, "", "--device %s", &devicename, ("Devices to use: " + device_names).c_str(), "--shadingsys %s", &ssname, "Shading system to use: svm, osl", |