Riccardo,

Thank you very much!

Yingfeng

On Wed, Mar 16, 2016 at 4:08 AM, Riccardo Vianello <
riccardo.viane...@gmail.com> wrote:

> Hi Yingfeng,
>
> do you use cmake to build your own project? in case you did, some cmake
> configuration files are usually installed together with the RDKit libraries
> and may help manage these details:
>
> rdkit-config.cmake
> rdkit-config-version.cmake
> rdkit-targets.cmake
> rdkit-targets-release.cmake
>
> The location of these files (matching the libraries installation path in
> the current RDKit version) should be passed on the cmake command line:
>
> $ cmake -D RDKit_DIR=/rdkit/libraries/installation/path/lib [...]
>
> And the CMakeLists.txt script can then use the information from these
> files to configure the build:
>
> find_package(RDKit REQUIRED)
> include_directories(${RDKit_INCLUDE_DIRS})
> [...]
> add_library(mylibrary [...])
> target_link_libraries(mylibrary Descriptors Fingerprints GraphMol)
>
> Specifying the most direct dependencies should be usually sufficient, and
> cmake should be able to complement this information with the target
> dependencies originally collected during the RDKit build and then tracked
> in the configuration files.
>
> Best,
> Riccardo
>
>
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to