--- ray/src/util/CMakeLists.txt 2018/01/08 16:51:32 1.25 +++ ray/src/util/CMakeLists.txt 2019/09/09 17:19:51 1.36 @@ -34,6 +34,9 @@ target_link_libraries(vwrays rtrad) add_executable(vwright vwright.c) target_link_libraries(vwright rtrad) +add_executable(dcglare dcglare.c cmbsdf.c cmatrix.c cmglare.c) +target_link_libraries(dcglare rtrad) + #the next few libraries all need to include header files from the rt directory include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../rt") @@ -64,6 +67,18 @@ target_link_libraries(rfluxmtx rtrad) add_executable(evalglare evalglare.c pictool.c) target_link_libraries(evalglare rtrad libreetz) +add_executable(radcompare radcompare.c) +target_link_libraries(radcompare rtrad) + +add_executable(rcode_depth rcode_depth.c) +target_link_libraries(rcode_depth rtrad) + +add_executable(rcode_norm rcode_norm.c) +target_link_libraries(rcode_norm rtrad) + +add_executable(rcode_ident rcode_ident.c) +target_link_libraries(rcode_ident rtrad) + if(X11_FOUND) add_executable(xglaresrc xglaresrc.c @@ -79,11 +94,11 @@ endif() if(APPLE) find_library(OPENGL_gl_LIBRARY NAMES GL MesaGL - PATHS /usr/X11R6/lib + PATHS ${X11_LIB_SEARCH_PATH} ) find_library(OPENGL_glu_LIBRARY NAMES GLU MesaGLU - PATHS /usr/X11R6/lib + PATHS ${X11_LIB_SEARCH_PATH} ) set(OPENGL_LIBRARIES ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}) else() @@ -121,6 +136,7 @@ install(TARGETS getinfo glarendx rad + radcompare ranimate ranimove rcollate @@ -177,7 +193,9 @@ else() objpict.pl objview.pl raddepend.csh + rcode2bmp.pl rlux.csh + rtpict.pl trad.wsh vinfo.csh )