Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [Manta] Adding a Class to Manta


Chronological Thread 
  • From: Abe Stephens <abe@sci.utah.edu>
  • To: Shreekanth Pavar <shreekanth.pavar@ucl.ac.uk>
  • Cc: MANTA <manta@sci.utah.edu>
  • Subject: Re: [Manta] Adding a Class to Manta
  • Date: Fri, 2 Nov 2007 09:48:25 -0600

Hi, Those instructions are for the Manta project template, not the main repository. You can make a copy of the template using the svn URL on that page; it will have a src directory and the appropriate files..

Abe

On Nov 2, 2007, at 9:29 AM, Shreekanth Pavar <shreekanth.pavar@ucl.ac.uk> wrote:

Hi

I'm trying to add a class to Manta so that it builds as part of the cmake build configuration as a shared library.

After adding the source files into Manta/src I tried following the instructions (below) on the wiki page (Modifying the skeleton): 

  • Add both files to the ADD_LIBRARY command in the root directory's CMakeLists.txt file.
  • If the new code has any additional library dependencies add these both to the TARGET_LINK_LIBRARIES command in the root CMakeLists.txt file
I couldn't find an ADD_LIBRARY command in the root directory's CMakeLists.txt file.

I also couldn't not find the TARGET_LINK_LIBRARIES command.

I'm looking at the CMakeLists.txt file in the Manta root directory.

i.e. Manta/CMakeLists.txt

Is this the wrong file?

Regards

--

Shree Pavar
Centre for Computational Science, UCL
http://www.chem.ucl.ac.uk/ccs/






Archive powered by MHonArc 2.6.16.

Top of page