]> Creatis software - cpPlugins.git/commitdiff
...
authorLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Sun, 13 Sep 2015 13:07:39 +0000 (15:07 +0200)
committerLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Sun, 13 Sep 2015 13:07:39 +0000 (15:07 +0200)
cmake/cpPluginsConfig.cmake.in
lib/cpPlugins/Extensions/Algorithms/KalmanConstantFilter.h
lib/cpPlugins/Extensions/Algorithms/KalmanFilter.h
lib/cpPlugins/Extensions/Algorithms/KalmanVelocityFilter.h

index adbf4d4..e8efd6d 100644 (file)
@@ -24,11 +24,19 @@ INCLUDE_DIRECTORIES(
 # -- Library directories --
 # =========================
 
-LINK_DIRECTORIES(
-  @PROJECT_BINARY_DIR@
-  @CMAKE_INSTALL_PREFIX@/bin
-  @CMAKE_INSTALL_PREFIX@/lib
-  )
+IF(MSVC)
+  LINK_DIRECTORIES(
+    @PROJECT_BINARY_DIR@/$(ConfigurationName)
+    @CMAKE_INSTALL_PREFIX@/bin
+    @CMAKE_INSTALL_PREFIX@/lib
+    )
+ELSE(MSVC)
+  LINK_DIRECTORIES(
+    @PROJECT_BINARY_DIR@
+    @CMAKE_INSTALL_PREFIX@/bin
+    @CMAKE_INSTALL_PREFIX@/lib
+    )
+ENDIF(MSVC)
 
 # ===================
 # -- Library names --
index b8c61bc..74d8ddf 100644 (file)
@@ -16,7 +16,7 @@ namespace cpPlugins
       /**
        */
       template< typename T >
-      class KalmanConstantFilter
+      class cpPlugins_Extensions_EXPORT KalmanConstantFilter
         : public KalmanFilter< T >
       {
       public:
index 74b0f3a..849ac34 100644 (file)
@@ -5,6 +5,8 @@
 #ifndef __CPPLUGINS__EXTENSIONS__ALGORITHMS__KALMANFILTER__H__
 #define __CPPLUGINS__EXTENSIONS__ALGORITHMS__KALMANFILTER__H__
 
+#include <cpPlugins/Extensions/cpPlugins_Extensions_Export.h>
+
 #include <itkObject.h>
 #include <itkObjectFactory.h>
 #include <vnl/vnl_matrix.h>
@@ -57,7 +59,7 @@ namespace cpPlugins
        * for a description of this algorithm.
        */
       template< typename T >
-      class KalmanFilter
+      class cpPlugins_Extensions_EXPORT KalmanFilter
         : public itk::Object
       {
       public:
index 0454ec3..ba34d4d 100644 (file)
@@ -16,7 +16,7 @@ namespace cpPlugins
       /**
        */
       template< typename T >
-      class KalmanVelocityFilter
+      class cpPlugins_Extensions_EXPORT KalmanVelocityFilter
         : public KalmanFilter< T >
       {
       public: