ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/CMakeLists.txt
(Generate patch)

Comparing ray/src/cv/CMakeLists.txt (file contents):
Revision 1.13 by greg, Sat Aug 19 14:16:15 2017 UTC vs.
Revision 1.14 by greg, Mon Jan 8 16:51:32 2018 UTC

# Line 25 | Line 25 | add_executable(mgfilt mgfilt.c)
25   target_link_libraries(mgfilt mgf rtrad)
26  
27   add_executable(mgf2inv mgf2inv.c)
28 < target_link_libraries(mgf2inv mgf rtrad)
28 > target_link_libraries(mgf2inv mgf rtrad)
29  
30   add_executable(3ds2mgf 3ds2mgf.c rayopt3ds.c vect3ds.c)
31 < target_link_libraries(3ds2mgf rtrad)
31 > target_link_libraries(3ds2mgf rtrad)
32  
33 < if (BUILD_PABOPTO_UTILS)
34 <
33 > if(BUILD_PABOPTO_UTILS)
34    add_executable(pabopto2bsdf pabopto2bsdf.c bsdfrep.c bsdfrbf.c bsdfmesh.c bsdftrans.cpp)
35 <  target_link_libraries(pabopto2bsdf rtrad)
35 >  target_link_libraries(pabopto2bsdf rtrad)
36  
37    #add_executable(pabopto2xyz pabopto2xyz.c)
38    #target_link_libraries(pabopto2xyz rtrad)
39  
40 <  add_executable(pabopto2rad    pabopto2bsdf.c bsdfrep.c bsdfrbf.c bsdfmesh.c bsdftrans.cpp)
40 >  add_executable(pabopto2rad pabopto2bsdf.c bsdfrep.c bsdfrbf.c bsdfmesh.c bsdftrans.cpp)
41    target_link_libraries(pabopto2rad rtrad)
42    set_target_properties(pabopto2rad PROPERTIES COMPILE_DEFINITIONS TEST_MAIN)
44
43   endif()
44  
45   add_executable(bsdf2rad bsdf2rad.c bsdfrep.c bsdfinterp.c)
# Line 65 | Line 63 | include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../met
63   add_executable(mgf2meta mgf2meta.c)
64   target_link_libraries(mgf2meta mgf meta rtrad)
65  
66 < install(TARGETS
67 <        ies2rad nff2rad lampcolor tmesh2rad obj2rad
68 <        mgf2rad rad2mgf mgf2meta mgfilt mgf2inv 3ds2mgf
69 <        bsdf2ttree bsdf2klems pkgBSDF epw2wea
70 <  RUNTIME DESTINATION bin)
66 > install(TARGETS
67 >  3ds2mgf
68 >  bsdf2klems
69 >  bsdf2ttree
70 >  epw2wea
71 >  ies2rad
72 >  lampcolor
73 >  mgf2inv
74 >  mgf2meta
75 >  mgf2rad
76 >  mgfilt
77 >  nff2rad
78 >  obj2rad
79 >  pkgBSDF
80 >  rad2mgf
81 >  tmesh2rad
82 >  RUNTIME DESTINATION "bin"
83 > )
84  
85 < INSTALL(FILES source.cal tilt.cal lamp.tab window.cal bsdf2rad.cal
86 <  DESTINATION lib)
85 > file(COPY
86 >  bsdf2rad.cal
87 >  lamp.tab
88 >  source.cal
89 >  tilt.cal
90 >  window.cal
91 >  DESTINATION "${CMAKE_BINARY_DIR}/lib"
92 > )
93  
94 < if (NOT WIN32)
95 <  INSTALL(PROGRAMS optics2rad.csh DESTINATION bin RENAME optics2rad)
96 <  endif()
94 > if(NOT WIN32)
95 >  install(PROGRAMS optics2rad.csh
96 >    DESTINATION "bin"
97 >    RENAME optics2rad
98 >  )
99 > endif()
100  
101 < if (BUILD_PABOPTO_UTILS)
102 <  INSTALL(TARGETS pabopto2rad pabopto2bsdf DESTINATION bin)
101 > if(BUILD_PABOPTO_UTILS)
102 >  install(TARGETS pabopto2bsdf pabopto2rad
103 >    DESTINATION "bin"
104 >  )
105   endif()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines