Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Adding a Class to Manta


Chronological Thread 
  • From: Shreekanth Pavar <shreekanth.pavar@ucl.ac.uk>
  • To: MANTA <manta@sci.utah.edu>
  • Subject: [Manta] Adding a Class to Manta
  • Date: Fri, 02 Nov 2007 15:29:26 +0000

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