Files
rdkit/Code/GraphMol/SubstructLibrary/CMakeLists.txt
Paolo Tosco c08ea49bda - enable building DLLs on Windows (#1861)
* - enable building DLLs on Windows

* - export.h and test.h are now auto-generated by CMake
2018-05-16 08:42:41 +02:00

20 lines
714 B
CMake

if(RDK_BUILD_THREADSAFE_SSS)
remove_definitions(-DRDKIT_GRAPHMOL_BUILD)
add_definitions(-DRDKIT_SUBSTRUCTLIBRARY_BUILD)
rdkit_library(SubstructLibrary
SubstructLibrary.cpp
LINK_LIBRARIES Fingerprints SubstructMatch SmilesParse
GraphMol RDGeometryLib Catalogs RDGeneral DataStructs )
rdkit_headers(SubstructLibrary.h
DEST GraphMol/SubstructLibrary)
add_subdirectory(Wrap)
rdkit_test(substructLibraryTest substructLibraryTest.cpp
LINK_LIBRARIES SubstructLibrary Fingerprints
SubstructMatch FileParsers SmilesParse GraphMol RDGeometryLib RDGeneral DataStructs
${Boost_SERIALIZATION_LIBRARY})
endif(RDK_BUILD_THREADSAFE_SSS)