1 |
|
set(rtrad_SOURCES |
2 |
|
addobjnotify.c badarg.c biggerlib.c bmalloc.c bmpfile.c bsdf.c bsdf_m.c |
3 |
|
bsdf_t.c byteswap.c caldefn.c calexpr.c calfunc.c calprnt.c ccolor.c ccyrgb.c |
4 |
< |
chanvalue.c clip.c color.c colrops.c cone.c dircode.c disk2square.c ealloc.c |
4 |
> |
chanvalue.c clip.c color.c colrops.c cone.c cvtcmd.c dircode.c disk2square.c ealloc.c |
5 |
|
eputs.c erf.c error.c expandarg.c ezxml.c face.c falsecolor.c fdate.c |
6 |
|
fgetline.c fgetval.c fgetword.c fixargv0.c font.c fputword.c free_os.c |
7 |
|
fropen.c fvect.c gethomedir.c getlibpath.c getpath.c header.c hilbert.c |
28 |
|
add_library(mgf mgf_parser.c mgf_object.c mgf_xf.c mgf_context.c) |
29 |
|
add_library(libreetz g3affine.c g3affine.h g3flist.c g3flist.h g3list.h g3nlist.h |
30 |
|
g3sphere.c g3sphere.h g3vector.c g3vector.h gbasic.c gbasic.h) |
31 |
+ |
|
32 |
+ |
if (BUILD_TESTING) |
33 |
+ |
add_executable(testBSDF testBSDF.c bsdf.c rtio.h) |
34 |
+ |
target_link_libraries(testBSDF radiance rtrad) |
35 |
+ |
endif() |
36 |
|
|
37 |
|
install(TARGETS rtrad mgf |
38 |
|
LIBRARY DESTINATION bin |