Skip to content
Snippets Groups Projects
Commit 80d18a48 authored by Van Herck, Walter's avatar Van Herck, Walter
Browse files

Fix for template specializations in BasicVector3D; part 2

parent de135b1a
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,9 @@ TARGET = BornAgainCore
TEMPLATE = lib
CONFIG += lib # to remove versions from file name
QT -= core gui
#QMAKE_EXTENSION_SHLIB = so # making standard *.so extension
macx|unix {
QMAKE_EXTENSION_SHLIB = so # making standard *.so extension
}
CONFIG += BORNAGAIN_PYTHON
# -----------------------------------------------------------------------------
......
......@@ -328,6 +328,12 @@ inline bool
operator!=(const BasicVector3D<T>& a, const BasicVector3D<T>& b)
{ return (a.x()!=b.x() || a.y()!=b.y() || a.z()!=b.z()); }
template<> std::complex<double> BasicVector3D<std::complex<double> >::dot(
const BasicVector3D<std::complex<double> >& v) const;
template<> double BasicVector3D<double>::dot(
const BasicVector3D<double>& v) const;
} // namespace Geometry
#endif /* GEOMETRY_BASICVECTOR3D_H */
......
......@@ -5,7 +5,9 @@ TARGET = BornAgainFit
TEMPLATE = lib
CONFIG += plugin # to remove versions from file name
QT -= core gui
#QMAKE_EXTENSION_SHLIB = so # making standard *.so extension
macx|unix {
QMAKE_EXTENSION_SHLIB = so # making standard *.so extension
}
#CONFIG += BORNAGAIN_PYTHON
CONFIG += BORNAGAIN_ROOT
......
......@@ -51,4 +51,4 @@ for(dep, MY_DEPENDENCY_LIB) {
###############################################################################
# runs automatically tests right after linking
###############################################################################
QMAKE_POST_LINK = $$PWD/$(DESTDIR_TARGET)
QMAKE_POST_LINK = $$PWD/$(TARGET)
......@@ -6,7 +6,9 @@ TEMPLATE = lib
CONFIG += lib #plugin
QT -= gui core
#QMAKE_EXTENSION_SHLIB = so
macx|unix {
QMAKE_EXTENSION_SHLIB = so # making standard *.so extension
}
include(../../shared.pri)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment