Files
rdkit/Code/GraphMol/CMakeLists.txt
Greg Landrum 5cf8a6a9b7 Support for a JSON-based molecule interchange format (#1798)
* expose addRing to python

* backup commit

* basics of atom and bond loading

* basics of atom and bond loading

* do bond stereo too

* Loads of cleanups
Read conformers and molecule properties
Better tests
update one of the test values so that we aren't always testing ccw

* enable auto-download of rapidjson distrib

* reader now mostly done (still missing atomic/bond properties)

* a bit of optimization

* a bit of cleanup

* a bit more optimization

* backup

* test zero-order bonds

* prep work for writer (not done)

* add isotope support

* backup

* getting there with the writing

* progress on writing; still need to do the RDKit part though

* can now roundtrip, including chirality.
double bond stereo needs to wait for backend fixes

* add a timing test for benchmarking

* add a timing test for benchmarking

* add another template

* add parse params; optionally set bond types to aromatic; add python wrapper

* disable benchmark run by default

* write conformers

* refactoring

* docs

* port to commonchem

* switch representation

* start reading and writing properties

* fix a memory problem

* set a common_property for gasteiger charges

* parse partial charges

* add partial charge writing

* reformatting

* add support for disabling parts of the parsing

* remove the "name" property from files

* editing

* more post-review changes

* make the molinterchange build optional

* make them really optional
2018-04-02 05:12:03 +02:00

137 lines
4.5 KiB
CMake

rdkit_library(GraphMol
Atom.cpp QueryAtom.cpp QueryBond.cpp Bond.cpp
MolOps.cpp FindRings.cpp ROMol.cpp RWMol.cpp PeriodicTable.cpp
atomic_data.cpp QueryOps.cpp MolPickler.cpp Canon.cpp
AtomIterators.cpp BondIterators.cpp Aromaticity.cpp Kekulize.cpp
MolDiscriminators.cpp ConjugHybrid.cpp AddHs.cpp
Matrices.cpp Chirality.cpp RingInfo.cpp Conformer.cpp
Renumber.cpp AdjustQuery.cpp Resonance.cpp
new_canon.cpp
SHARED
LINK_LIBRARIES RDGeometryLib RDGeneral
${RDKit_THREAD_LIBS})
target_link_libraries(GraphMol PUBLIC ${RDKit_THREAD_LIBS})
rdkit_headers(Atom.h
atomic_data.h
AtomIterators.h
Bond.h
BondIterators.h
Canon.h
Chirality.h
Conformer.h
details.h
GraphMol.h
MolOps.h
MolPickler.h
PeriodicTable.h
QueryAtom.h
QueryBond.h
QueryOps.h
RDKitBase.h
RDKitQueries.h
Resonance.h
RingInfo.h
Rings.h
ROMol.h
RWMol.h
SanitException.h
MonomerInfo.h
new_canon.h
MolBundle.h
DEST GraphMol)
add_subdirectory(Depictor)
add_subdirectory(SmilesParse)
add_subdirectory(FileParsers)
add_subdirectory(Substruct)
add_subdirectory(ChemReactions)
add_subdirectory(ChemTransforms)
add_subdirectory(Subgraphs)
add_subdirectory(FilterCatalog)
add_subdirectory(FragCatalog)
add_subdirectory(Descriptors)
add_subdirectory(Fingerprints)
add_subdirectory(PartialCharges)
add_subdirectory(MolTransforms)
add_subdirectory(ForceFieldHelpers)
add_subdirectory(DistGeomHelpers)
add_subdirectory(MolAlign)
add_subdirectory(MolChemicalFeatures)
add_subdirectory(ShapeHelpers)
add_subdirectory(MolCatalog)
add_subdirectory(MolDrawing)
add_subdirectory(MolDraw2D)
add_subdirectory(FMCS)
add_subdirectory(MolHash)
add_subdirectory(MMPA)
add_subdirectory(StructChecker)
add_subdirectory(ReducedGraphs)
add_subdirectory(Trajectory)
add_subdirectory(SubstructLibrary)
add_subdirectory(RGroupDecomposition)
if(RDK_BUILD_MOLINTERCHANGE_SUPPORT)
add_subdirectory(MolInterchange)
endif(RDK_BUILD_MOLINTERCHANGE_SUPPORT)
if(RDK_BUILD_SLN_SUPPORT AND NOT CMAKE_COMPILER_IS_CLANG)
if(CMAKE_COMPILER_IS_GNUCC AND NOT CMAKE_CXX_COMPILER_VERSION GREATER 4.8)
message("Skipping SLN build with gcc version <= 4.8")
else()
add_subdirectory(SLNParse)
endif()
endif()
add_subdirectory(Wrap)
rdkit_test(graphmolTest1 test1.cpp LINK_LIBRARIES FileParsers SmilesParse GraphMol
RDGeometryLib RDGeneral SubstructMatch ForceFieldHelpers ForceField)
rdkit_test(graphmolcpTest cptest.cpp LINK_LIBRARIES SmilesParse GraphMol RDGeometryLib RDGeneral)
rdkit_test(graphmolqueryTest querytest.cpp LINK_LIBRARIES SubstructMatch SmilesParse GraphMol RDGeometryLib RDGeneral)
rdkit_test(graphmolMolOpsTest molopstest.cpp
LINK_LIBRARIES SubstructMatch FileParsers
SmilesParse GraphMol RDGeometryLib RDGeneral)
rdkit_test(graphmoltestCanon testCanon.cpp
LINK_LIBRARIES SubstructMatch SmilesParse GraphMol RDGeometryLib RDGeneral)
rdkit_test(graphmoltestChirality testChirality.cpp
LINK_LIBRARIES SmilesParse FileParsers
GraphMol RDGeometryLib RDGeneral)
rdkit_test(graphmoltestPickler testPickler.cpp
LINK_LIBRARIES SmilesParse SubstructMatch FileParsers GraphMol RDGeometryLib RDGeneral)
rdkit_test(graphmoltestPicklerGlobalSetting testPicklerGlobalSettings.cpp
LINK_LIBRARIES SmilesParse SubstructMatch FileParsers GraphMol RDGeometryLib RDGeneral)
rdkit_test(graphmolIterTest itertest.cpp LINK_LIBRARIES SmilesParse GraphMol RDGeometryLib RDGeneral)
rdkit_test(hanoiTest hanoitest.cpp LINK_LIBRARIES
SubstructMatch SmilesParse FileParsers GraphMol
RDGeometryLib RDGeneral ${RDKit_THREAD_LIBS} )
rdkit_test(graphmolMemTest1 memtest1.cpp LINK_LIBRARIES SmilesParse GraphMol RDGeometryLib RDGeneral)
rdkit_test(resMolSupplierTest resMolSupplierTest.cpp
LINK_LIBRARIES SmilesParse GraphMol RDGeometryLib RDGeneral SubstructMatch FileParsers)
rdkit_test(molBundleTest testMolBundle.cpp
LINK_LIBRARIES SmilesParse GraphMol RDGeometryLib RDGeneral SubstructMatch FileParsers)
rdkit_test(test-valgrind test-valgrind.cpp LINK_LIBRARIES SmilesParse GraphMol RDGeneral)