* add test export heder to gitignore

* define export macros in separate file

* install new header

* patch GA with the new macros

* fix struct declarations

* fix conformerparser exports

* fix MolSGroupParsing ParseV3000Array export

* fix java wrappers

* export exceptions

* remove duplicated exports

* Build RDGeneral exceptions into lib

* export queries, only for *nix

* fix RingDecomposerLib header manipulation

* fix CIP labeler test issues
This commit is contained in:
Ric
2021-02-15 08:29:04 -05:00
committed by GitHub
parent bd00fda39e
commit c9199cf1da
34 changed files with 150 additions and 93 deletions

View File

@@ -11,10 +11,11 @@
#include <RDGeneral/export.h>
#include <exception>
#include <string>
namespace RDKit {
class GenericRDKitException : public std::exception {
class RDKIT_RDGENERAL_EXPORT GenericRDKitException : public std::exception {
public:
GenericRDKitException(const std::string &i) : _value(i){};
GenericRDKitException(const char *msg) : _value(msg){};

View File

@@ -70,6 +70,7 @@
%include <boost/smart_ptr/shared_array.hpp>
/* undefine RDKIT_<LIBNAME>_EXPORT macros */
%include <RDGeneral/RDExportMacros.h>
%include <RDGeneral/export.h>
/* Include the base types before anything that will utilize them */
#ifdef SWIGWIN

View File

@@ -69,6 +69,7 @@
%include <boost/smart_ptr/shared_array.hpp>
/* undefine RDKIT_<LIBNAME>_EXPORT macros */
%include <RDGeneral/RDExportMacros.h>
%include <RDGeneral/export.h>
/* Include the base types before anything that will utilize them */
#ifdef SWIGWIN