#
ADD_SUBDIRECTORY(dlgfactory)
-ADD_SUBDIRECTORY(CurvePlot)
##
# Python-based packages, part 1 (generic)
SET(PYCONSOLE_INSTALL_RES "${SALOME_GUI_INSTALL_RES_DATA}" CACHE PATH "")
ADD_SUBDIRECTORY(../tools/PyConsole) # will bring in PyInterp automatically
+
+ ADD_SUBDIRECTORY(CurvePlot)
+
ENDIF(SALOME_USE_PYCONSOLE)
IF(SALOME_USE_PYVIEWER)
#ifndef SRC_CPP_CURVEPLOT_HXX_
#define SRC_CPP_CURVEPLOT_HXX_
+#ifdef WIN32
+# if defined CURVEPLOT_EXPORTS || defined CurvePlot_EXPORTS
+# define CURVEPLOT_EXPORT __declspec(dllexport)
+# else
+# define CURVEPLOT_EXPORT __declspec(dllimport)
+# endif
+#else // WIN32
+# define CURVEPLOT_EXPORT
+#endif // WIN32
+
+
#include <string>
#include <vector>
/**
* This function should be called before doing anything in the CURVEPLOT namespace.
*/
- void* InitializeCurvePlot();
+ CURVEPLOT_EXPORT void* InitializeCurvePlot();
- class ColumnVector
+ class CURVEPLOT_EXPORT ColumnVector
{
public:
friend class CurvePlot;
/**
* C++ wrapping of the public API exposed in the Python package curveplot. See doc there.
*/
- class CurvePlot
+ class CURVEPLOT_EXPORT CurvePlot
{
public:
static PlotID AddCurve(const ColumnVector & x, const ColumnVector & y,