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/