| 34 |
|
add_executable(vwright vwright.c) |
| 35 |
|
target_link_libraries(vwright rtrad) |
| 36 |
|
|
| 37 |
+ |
add_executable(dcglare dcglare.c cmbsdf.c cmatrix.c cmglare.c) |
| 38 |
+ |
target_link_libraries(dcglare rtrad) |
| 39 |
+ |
|
| 40 |
|
#the next few libraries all need to include header files from the rt directory |
| 41 |
|
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../rt") |
| 42 |
|
|
| 70 |
|
add_executable(radcompare radcompare.c) |
| 71 |
|
target_link_libraries(radcompare rtrad) |
| 72 |
|
|
| 73 |
< |
add_executable(rcode_depth rcode_depth.c depthcodec.c) |
| 73 |
> |
add_executable(rcode_depth rcode_depth.c) |
| 74 |
|
target_link_libraries(rcode_depth rtrad) |
| 75 |
|
|
| 76 |
< |
add_executable(rcode_norm rcode_norm.c normcodec.c) |
| 76 |
> |
add_executable(rcode_norm rcode_norm.c) |
| 77 |
|
target_link_libraries(rcode_norm rtrad) |
| 78 |
|
|
| 79 |
+ |
add_executable(rcode_ident rcode_ident.c) |
| 80 |
+ |
target_link_libraries(rcode_ident rtrad) |
| 81 |
+ |
|
| 82 |
|
if(X11_FOUND) |
| 83 |
|
add_executable(xglaresrc |
| 84 |
|
xglaresrc.c |
| 129 |
|
endif() |
| 130 |
|
|
| 131 |
|
install(TARGETS |
| 132 |
+ |
dcglare |
| 133 |
|
dctimestep |
| 134 |
|
eplus_adduvf |
| 135 |
|
evalglare |
| 140 |
|
radcompare |
| 141 |
|
ranimate |
| 142 |
|
ranimove |
| 143 |
+ |
rcode_depth |
| 144 |
+ |
rcode_ident |
| 145 |
+ |
rcode_norm |
| 146 |
|
rcollate |
| 147 |
|
rfluxmtx |
| 148 |
|
rmtxop |
| 169 |
|
) |
| 170 |
|
|
| 171 |
|
if(WIN32) |
| 172 |
< |
install(PROGRAMS |
| 173 |
< |
bsdfview.pl |
| 174 |
< |
genBSDF.pl |
| 175 |
< |
genklemsamp.pl |
| 176 |
< |
genskyvec.pl |
| 177 |
< |
ltpict.pl |
| 178 |
< |
ltview.pl |
| 179 |
< |
objpict.pl |
| 180 |
< |
objview.pl |
| 172 |
> |
add_custom_target(bsdfview ALL |
| 173 |
> |
COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/bsdfview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/bsdfview.exe -d |
| 174 |
> |
) |
| 175 |
> |
add_custom_target(genBSDF ALL |
| 176 |
> |
COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genBSDF.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genBSDF.exe -d |
| 177 |
> |
) |
| 178 |
> |
add_custom_target(genklemsamp ALL |
| 179 |
> |
COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genklemsamp.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genklemsamp.exe -d |
| 180 |
> |
) |
| 181 |
> |
add_custom_target(genskyvec ALL |
| 182 |
> |
COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genskyvec.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genskyvec.exe -d |
| 183 |
> |
) |
| 184 |
> |
add_custom_target(ltpict ALL |
| 185 |
> |
COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/ltpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/ltpict.exe -d |
| 186 |
> |
) |
| 187 |
> |
add_custom_target(ltview ALL |
| 188 |
> |
COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/ltview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/ltview.exe -d |
| 189 |
> |
) |
| 190 |
> |
add_custom_target(objpict ALL |
| 191 |
> |
COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/objpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/objpict.exe -d |
| 192 |
> |
) |
| 193 |
> |
add_custom_target(objview ALL |
| 194 |
> |
COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/objview.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/objview.exe -d |
| 195 |
> |
) |
| 196 |
> |
add_custom_target(genambpos ALL |
| 197 |
> |
COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genambpos.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genambpos.exe -d |
| 198 |
> |
) |
| 199 |
> |
add_custom_target(rcode2bmp ALL |
| 200 |
> |
COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/rcode2bmp.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/rcode2bmp.exe -d |
| 201 |
> |
) |
| 202 |
> |
add_custom_target(rtpict ALL |
| 203 |
> |
COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/rtpict.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/rtpict.exe -d |
| 204 |
> |
) |
| 205 |
> |
install(PROGRAMS |
| 206 |
> |
bsdfview.exe |
| 207 |
> |
genBSDF.exe |
| 208 |
> |
genklemsamp.exe |
| 209 |
> |
genskyvec.exe |
| 210 |
> |
ltpict.exe |
| 211 |
> |
ltview.exe |
| 212 |
> |
objpict.exe |
| 213 |
> |
objview.exe |
| 214 |
> |
genambpos.exe |
| 215 |
> |
rcode2bmp.exe |
| 216 |
> |
rtpict.exe |
| 217 |
|
DESTINATION "bin" |
| 218 |
|
) |
| 219 |
|
else() |
| 223 |
|
dayfact.csh |
| 224 |
|
fieldcomb.csh |
| 225 |
|
genBSDF.pl |
| 226 |
< |
genambpos.csh |
| 226 |
> |
genambpos.pl |
| 227 |
|
genklemsamp.pl |
| 228 |
|
genskyvec.pl |
| 229 |
|
glare.csh |
| 233 |
|
objpict.pl |
| 234 |
|
objview.pl |
| 235 |
|
raddepend.csh |
| 236 |
+ |
rcode2bmp.pl |
| 237 |
|
rlux.csh |
| 238 |
|
rtpict.pl |
| 192 |
– |
trad.wsh |
| 239 |
|
vinfo.csh |
| 240 |
+ |
) |
| 241 |
+ |
add_custom_target(trad ALL |
| 242 |
+ |
COMMAND csh -f ${CMAKE_CURRENT_SOURCE_DIR}/tradinstall.csh |
| 243 |
+ |
RUNTIME DESTINATION "bin" |
| 244 |
+ |
${CMAKE_BINARY_DIR}/lib |
| 245 |
|
) |
| 246 |
|
endif() |