Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [MANTA] Adding -I/path/to/teem to scene build


Chronological Thread 
  • From: Abe Stephens <abe@sci.utah.edu>
  • To: Christiaan Paul Gribble <cgribble@sci.utah.edu>
  • Cc: manta@sci.utah.edu
  • Subject: Re: [MANTA] Adding -I/path/to/teem to scene build
  • Date: Mon, 15 May 2006 18:55:38 -0700

Christiaan Paul Gribble wrote:

Actually, I need to do this in Model/Readers, but only if the CMake variable that indicates use of this option is turned on. Specifically, I need to add to files to the source string indicating which files to compile, I need to add /path/to/teem to the include directories, and I need to be able to link against the teem library.

This is a bit of a problem given cmake's scoping rules and manta's directory structure (since a variable defined in scene/ will be out of scope in Readers/. So you either need to move the reader into scene/ or make the inclusion of the reader depend on another cmake variable like FOUND_TEEM.

Abe






Archive powered by MHonArc 2.6.16.

Top of page