Skip to content
Snippets Groups Projects
Commit a09ccf92 authored by juergen's avatar juergen
Browse files

export fixes for win32

disabling wiggle code for the moment
added option definition for option COMPOUND_LIB for master CMakeLists.txt 
updated win32 build config


git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2069 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 3d5fad27
Branches
Tags
No related merge requests found
......@@ -29,6 +29,7 @@ option(ENABLE_SPNAV "whether 3DConnexion devices should be supported"
OFF)
option(STATIC_PROPERTY_WORKAROUND "workaround for static property bug with some boost/boost_python combinations" OFF)
option(DEPLOYMENT "switch on deployment settings" OFF)
option(COMPOUND_LIB "location of the compound library to enable rule based builder based on the chemical component dictionary")
if (PREFIX)
......
......@@ -22,3 +22,4 @@ set(USE_SHADER "OFF" CACHE PATH "use GLSL shaders")
set(OPTIMIZE "ON" CACHE PATH "Release Code optimisations")
set(ENABLE_IPLT "ON" CACHE PATH "include IPLT functionality")
set(DEPLOYMENT "ON" CACHE PATH "activate deployment scripts" )
set(COMPOUND_LIB "${USER_DIR}/compound_lib" CACHE PATH "location of compound lib for rule based builder" )
......@@ -21,7 +21,7 @@
namespace ost { namespace gfx {
OffscreenBuffer::OffscreenBuffer(unsigned int width, unsigned int height, const OffscreenBufferFormat& f, bool shared=true):
OffscreenBuffer::OffscreenBuffer(unsigned int width, unsigned int height, const OffscreenBufferFormat& f, bool shared):
width_(width), height_(height), valid_(false), active_(false)
{}
......
......@@ -19,7 +19,6 @@
#ifndef OST_GFX_WGL_OFFSCREEN_BUFFER_HH
#define OST_GFX_WGL_OFFSCREEN_BUFFER_HH
#include <ost/gfx/GL/wglew.h>
namespace ost { namespace gfx {
......@@ -46,13 +45,6 @@ private:
int height_;
bool valid_;
bool active_;
HPBUFFERARB pbuffer_;
HGLRC context_; //rendering context
HGLRC old_context_;
HDC dev_context_;//device context
HDC old_dev_context_;
};
}} // ns
......
......@@ -23,10 +23,11 @@
*/
#include "overlay_base.hh"
#include <ost/gui/module_config.hh>
namespace ost { namespace img { namespace gui {
class DLLEXPORT NullOverlay: public Overlay
class DLLEXPORT_OST_GUI NullOverlay: public Overlay
{
Q_OBJECT;
public:
......
......@@ -72,7 +72,7 @@ class DLLEXPORT_OST_GUI PointlistOverlayBaseSettings: public QDialog
QPushButton* passive_color_b_;
};
class DLLEXPORT PointlistOverlayBase: public Overlay
class DLLEXPORT_OST_GUI PointlistOverlayBase: public Overlay
{
Q_OBJECT;
public:
......
......@@ -70,6 +70,8 @@ private:
};
DLLEXPORT_OST_INFO std::ostream& operator<<(std::ostream&, const InfoPath& p);
#ifndef _MSC_VER
DLLEXPORT_OST_INFO InfoPath operator+(const InfoPath& p1, const InfoPath& p2);
#endif
}} // ns
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment