ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/CMakeLists.txt
Revision: 1.5
Committed: Tue Aug 18 17:28:11 2015 UTC (8 years, 8 months ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: rad5R0
Changes since 1.4: +2 -0 lines
Log Message:
Commit to support evalglare in cmake build system (Rob G.)

File Contents

# User Rev Content
1 greg 1.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
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
8     image.c instance.c invmat4.c lamps.c linregr.c loadbsdf.c loadvars.c lookup.c
9     mat4.c mesh.c modobject.c multisamp.c myhostname.c objset.c octree.c otypes.c
10     paths.c plocate.c portio.c process.c quit.c readfargs.c readmesh.c readobj.c
11     readoct.c resolu.c rexpr.c savqstr.c savestr.c sceneio.c spec_rgb.c tcos.c
12     tmap16bit.c tmapcolrs.c tmapluv.c timegm.c tmaptiff.c tmesh.c tonemap.c
13 greg 1.4 triangulate.c urand.c urind.c words.c wordfile.c wputs.c xf.c zeroes.c)
14 greg 1.1
15     if(UNIX)
16     list(APPEND rtrad_SOURCES unix_process.c strcmp.c)
17     else()
18     list(APPEND rtrad_SOURCES win_process.c win_popen.c)
19     endif()
20    
21     add_library(rtrad ${rtrad_SOURCES})
22     target_link_libraries(rtrad ${LIB_M})
23     if(WIN32)
24     target_link_libraries(rtrad ws2_32)
25     endif()
26    
27 greg 1.2 add_library(rgl rglfile.c rglmat.c rgldomat.c rglsurf.c rglinst.c rglsrc.c)
28 greg 1.1 add_library(mgf mgf_parser.c mgf_object.c mgf_xf.c mgf_context.c)
29 greg 1.5 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 greg 1.1
32     install(TARGETS rtrad mgf
33     LIBRARY DESTINATION bin
34     ARCHIVE DESTINATION bin)
35 greg 1.3
36     install(FILES tmesh.cal DESTINATION lib)