Hi Hans,

I am including a simple Makefile I used for a small project. You must have 
RDBASE defined and pointing to the root of your RDKit source tree if you did an 
in-tree installation. You might need to change the output filename and the list 
of libraries you are linking against.

Regards,
Eddie


CXXFLAGS=-I ${RDBASE}/Code
LDFLAGS=-L${RDBASE}/lib -lGraphMol -lRDGeneral -lSmilesParse -lDepictor  
-lSmilesParse -lstdc++

all: app
app: app.o


On Jul 18, 2011, at 11:17 AM, Hans De Winter wrote:

> Dear all,
> 
> a rather newby question on compiling/linking on C++ sources using the RDKit 
> API: does anyone has an example CMakeLists.txt file that I can use to get all 
> the parameters right (I already succesfully installed RDKit and the python 
> bindings on my OS X system - I now want to compile/link my own C++ code)?
> 
> Thx,
> Hans
> 
> 
> 
> <Logo SilicosIT Email2.jpg>
> 
> 
> Silicos-IT is a division of Imacosi bvba
> De Roskam 35
> 2970 Schilde
> Belgium
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Storage Efficiency Calculator
> This modeling tool is based on patent-pending intellectual property that
> has been used successfully in hundreds of IBM storage optimization engage-
> ments, worldwide.  Store less, Store more with what you own, Move data to 
> the right place. Try It Now! 
> http://www.accelacomm.com/jaw/sfnl/114/51427378/_______________________________________________
> Rdkit-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to