CMAKE_POLICY(SET CMP0005 NEW)
ENDIF(COMMAND cmake_policy AND ${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 4)
-PROJECT(CreaMaracasVisu)
+PROJECT(creaMaracasVisu)
SET(PROJECT_MAJOR_VERSION 1)
SET(PROJECT_MINOR_VERSION 0)
#SUBDIRS(appli)
SUBDIRS(lib)
SUBDIRS(bbtk)
+SUBDIRS(install)
CREA_MANAGE_SHARED_LIBRARY(${LIBRARY_NAME})
# CREATE THE TARGET
- ADD_LIBRARY(${LIBRARY_NAME} ${${LIBRARY_NAME}_SHARED} ${${LIBRARY_NAME}_SOURCES})
+ ADD_LIBRARY(${LIBRARY_NAME} ${${LIBRARY_NAME}_SHARED} ${${LIBRARY_NAME}_SOURCES} ${${LIBRARY_NAME}_HEADERS})
# LINK
TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${${LIBRARY_NAME}_LINK_LIBRARIES})
)
INSTALL(
TARGETS ${LIBRARY_NAME}
- DESTINATION lib)
+ DESTINATION bin )
Program: wxMaracas
Module: $RCSfile: wxMaracasMPR.h,v $
Language: C++
- Date: $Date: 2008/10/31 16:32:10 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2008/11/24 10:47:10 $
+ Version: $Revision: 1.2 $
Copyright: (c) 2002, 2003
License:
#include "widgets/wxMPRWidget.h"
-class MAR_INTERFACEWX_EXPORT wxMaracasMPR : public wxPanel
+class MARACASVISULIB_EXPORTS wxMaracasMPR : public wxPanel
{
public:
wxMaracasMPR( wxWindow* parent, marImageData* marimagedata,double voxelSize);
Program: wxMaracas
Module: $RCSfile: marDynData.h,v $
Language: C++
- Date: $Date: 2008/10/31 16:32:55 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2008/11/24 10:47:12 $
+ Version: $Revision: 1.2 $
Copyright: (c) 2002, 2003
License:
#include <vtkImageData.h>
-class MAR_KERNEL_EXPORT marDynData : public marObject
+class MARACASVISULIB_EXPORTS marDynData : public marObject
{
public:
Program: wxMaracas
Module: $RCSfile: marObject.h,v $
Language: C++
- Date: $Date: 2008/11/06 10:00:59 $
- Version: $Revision: 1.2 $
+ Date: $Date: 2008/11/24 10:47:12 $
+ Version: $Revision: 1.3 $
Copyright: (c) 2002, 2003
License:
/** /def marObject
* \brief General maracas object.
*/
-class MAR_KERNEL_EXPORT marObject
+class MARACASVISULIB_EXPORTS marObject
{
public:
Program: wxMaracas
Module: $RCSfile: marParameters.h,v $
Language: C++
- Date: $Date: 2008/10/31 16:32:56 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2008/11/24 10:47:12 $
+ Version: $Revision: 1.2 $
Copyright: (c) 2002, 2003
License:
/** /def marParameters
* \brief Parameters class definition.
*/
-class MAR_KERNEL_EXPORT marParameters
+class MARACASVISULIB_EXPORTS marParameters
{
public:
Program: wxMaracas
Module: $RCSfile: marTypes.h,v $
Language: C++
- Date: $Date: 2008/11/14 15:57:12 $
- Version: $Revision: 1.3 $
+ Date: $Date: 2008/11/24 10:47:12 $
+ Version: $Revision: 1.4 $
Copyright: (c) 2002, 2003
License:
* this fairy tale :-).
*/
+
//JHCL - Start
//If we're using windows
#if defined(WIN32)
-//If we're using a dynamic library
-# ifdef maracasVisuLib_BUILD_SHARED
-# define MARACASVISULIB_EXPORTS __declspec( dllexport )
-# else
-# define MARACASVISULIB_EXPORTS //__declspec( dllimport )
-# endif //maracasvisulib_EXPORTS
+ //If we're using a dynamic library
+ #ifdef creaMaracasVisu_BUILD_SHARED
+ #define MARACASVISULIB_EXPORTS __declspec( dllexport )
+ #else
+ #define MARACASVISULIB_EXPORTS //__declspec( dllimport )
+ #endif //maracasvisulib_EXPORTS
#else
-# define MARACASVISULIB_EXPORTS
+ #define MARACASVISULIB_EXPORTS
#endif
//JHCL - End
+
+/*
#if defined(WIN32) //&& defined(MARACAS_BUILD_SHARED_LIBS)
-//guerapa0
# ifdef MaracasKernel_EXPORTS
-//querapa1
# define MAR_KERNEL_EXPORT __declspec( dllexport )
# else
# define MAR_KERNEL_EXPORT //__declspec( dllimport )
# define MAR_INTERFACEWX_EXPORT
#endif //WIN32
+*/
+
// Other ridiculous constants and typedefs. Just for fun!
#define MAR_DEFAULT_FILE_PARAMETERS "params.dat"
#define MAR_DEFAULT_FILE_DICTIONARY "marDict.txt"
Program: wxMaracas
Module: $RCSfile: volume.hxx,v $
Language: C++
- Date: $Date: 2008/10/31 16:32:56 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2008/11/24 10:47:12 $
+ Version: $Revision: 1.2 $
Copyright: (c) 2002, 2003
License:
#include <vtkImageData.h>
#endif // KGFO_USE_VTK
-class MAR_KERNEL_EXPORT kVolume
+class MARACASVISULIB_EXPORTS kVolume
{
public: