Commit e5e3ee11 authored by Henderson, Shane's avatar Henderson, Shane
Browse files

Slight changes to make python bindings build

parent 5741555d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -15,6 +15,14 @@ INCLUDE_DIRECTORIES(${PYTHON_INCLUDE_PATH})
SET(HEADERS "SalinePy.hh")
SET(SOURCES "SalinePy.cc")

SET(SWIG_RUNTIME swigpyrun.h)
ADD_CUSTOM_COMMAND(
  OUTPUT ${SWIG_RUNTIME}
  COMMAND ${SWIG_EXECUTABLE} -python -external-runtime
)
LIST(APPEND HEADERS ${CMAKE_CURRENT_BINARY_DIR}/${SWIG_RUNTIME})


TRIBITS_ADD_LIBRARY(SalinePy
 SHARED
 HEADERS ${HEADERS}
+0 −1
Original line number Diff line number Diff line
@@ -41,7 +41,6 @@ class R_Kister_Data_Store : public Data_Store
    void load();
    void load(const std::string& fPath);
    void load(std::istream& inFile);
    void load(Data_Store* ds);
    // >>> ACCESSORS

    // the number of entries in the data store