-IF(WIN32)
- SET(CMAKE_INSTALL_PREFIX C:/CreaTools/creaImageIO)
-ENDIF(WIN32)
#-----------------------------------------------------------------------------
SET(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_MINOR_VERSION})
SET(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_BUILD_VERSION})
-SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CreaTools\\\\creaImageIO-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
+
+
+#SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CreaTools\\\\creaImageIO-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
+
+
+
+#IF (BUILD_BBTK_PACKAGE_creaImageIO)
+#
+# SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CreaTools\\\\bbtk-${BBTK_VERSION}")
+# IF(WIN32)
+# SET(CMAKE_INSTALL_PREFIX C:/CreaTools/bbtk-${BBTK_VERSION})
+# ENDIF(WIN32)
+
+#ELSE (BUILD_BBTK_PACKAGE_creaImageIO)
+
+ SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CreaTools\\\\creaImageIO-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
+ IF(WIN32)
+ SET(CMAKE_INSTALL_PREFIX C:/CreaTools/creaImageIO)
+ ENDIF(WIN32)
+
+
+#ENDIF (BUILD_BBTK_PACKAGE_creaImageIO)
+
+
+
IF(WIN32 AND NOT UNIX)
# There is a bug in NSI that does not handle full unix paths properly. Make
# sure there is at least one set of four (4) backlasshes.
# SET(CPACK_STRIP_FILES "bin/bbi")
SET(CPACK_SOURCE_STRIP_FILES "")
ENDIF(WIN32 AND NOT UNIX)
-SET(CPACK_PACKAGE_EXECUTABLES "TestWxGimmickDialog.exe" "Gimmick!")
+SET(CPACK_PACKAGE_EXECUTABLES "TestWxGimmickDialog" "Gimmick!")
INCLUDE(CPack)
# Aditional INSTALL for CPACK mecanism.
+IF (WIN32)
+
+ INSTALL( FILES ${PROJECT_SOURCE_DIR}/win32/sqlite3.dll DESTINATION bin )
+
+ENDIF (WIN32)
+
+
+
+
+
+
IF(EXWIN32)
INSTALL(
FILES ${HEADERS}
DESTINATION include/creaImageIO
- )
+ )
+IF (WIN32)
+ SET(CREAIMAGEIO_LIB_PATH bin)
+ELSE (WIN32)
+ SET(CREAIMAGEIO_LIB_PATH lib)
+ENDIF(WIN32)
+
INSTALL(
TARGETS creaImageIO
- DESTINATION lib)
+ DESTINATION ${CREAIMAGEIO_LIB_PATH})
CREA_INSTALL_LIBRARY_FOR_CMAKE(creaImageIO)
#-----------------------------------------------------------------------------
rpanel->Layout();
// previewer
- mInteractor = new wxVTKRenderWindowInteractor(mPanelImage,-1);
+ mInteractor = new crea::creawxVTKRenderWindowInteractor(mPanelImage,-1);
mInteractor->UseCaptureMouseOn();
mViewer = vtkImageViewer2::New();
// For image preview
// vtk and wxvtk classes
-#include "wxVTKRenderWindowInteractor.h"
+#include "creawxVTKRenderWindowInteractor.h"
#include "vtkImageViewer2.h"
// multi-thread image reader
#include <creaImageIOMultiThreadImageReader.h>
// Previewer
vtkImageViewer2* mViewer;
// Associated wxvtk interactor
- crea::wxVTKRenderWindowInteractor *mInteractor;
+ crea::creawxVTKRenderWindowInteractor *mInteractor;
int mx1,mx2,my1,my2,mz1,mz2;
double mspx,mspy,mspz;