Salome HOME
Various minor fixes
authorvsr <vsr@opencascade.com>
Mon, 1 Jun 2015 15:39:08 +0000 (18:39 +0300)
committervsr <vsr@opencascade.com>
Mon, 1 Jun 2015 15:39:08 +0000 (18:39 +0300)
27 files changed:
CMakeLists.txt
INSTALL
README
SalomeACISPLUGINConfig.cmake.in
adm_local/cmake_files/FindACIS.cmake
doc/CMakeLists.txt [changed mode: 0755->0644]
doc/salome/CMakeLists.txt [changed mode: 0755->0644]
doc/salome/gui/ACISPLUGIN/CMakeLists.txt [changed mode: 0755->0644]
doc/salome/gui/ACISPLUGIN/doxyfile.in [changed mode: 0755->0644]
doc/salome/gui/ACISPLUGIN/doxyfile_py.in [changed mode: 0755->0644]
doc/salome/gui/ACISPLUGIN/images/head.png [changed mode: 0755->0644]
doc/salome/gui/ACISPLUGIN/input/acisplugin_importexport_page.doc
doc/salome/gui/ACISPLUGIN/input/acisplugin_python_interface_page.doc
doc/salome/gui/ACISPLUGIN/static/footer.html [changed mode: 0755->0644]
doc/salome/gui/ACISPLUGIN/static/header.html.in [changed mode: 0755->0644]
doc/salome/gui/ACISPLUGIN/static/salome_extra.css
doc/salome/gui/CMakeLists.txt [changed mode: 0755->0644]
idl/CMakeLists.txt [changed mode: 0755->0644]
resources/SalomeApp.xml
src/ACISPlugin_Engine.hxx [changed mode: 0755->0644]
src/ACISPlugin_ExportDriver.cxx
src/ACISPlugin_GUI.cxx
src/ACISPlugin_IECallBack.cxx [changed mode: 0755->0644]
src/ACISPlugin_ImportDriver.cxx
src/CMakeLists.txt
src/resources/ACISPlugin_msg_fr.ts
src/resources/ACISPlugin_msg_ja.ts

index ccbfedc7a0353d2a9ccece8dc4a193700710f452..45c4d36d7f8a5ce923bf95f096a562c3784c14a1 100644 (file)
@@ -24,7 +24,7 @@ PROJECT(SalomeACISPLUGIN C CXX)
 CMAKE_POLICY(SET CMP0003 NEW)
 
 # Versioning
-# ===========
+# ==========
 # Project name, upper case
 STRING(TOUPPER ${PROJECT_NAME} PROJECT_NAME_UC)
 
@@ -37,16 +37,16 @@ SET(${PROJECT_NAME_UC}_VERSION_DEV 0)
 
 # Find KERNEL
 # ===========
-SET(KERNEL_ROOT_DIR $ENV{KERNEL_ROOT_DIR} CACHE PATH "Path to the Salome KERNEL")
+SET(KERNEL_ROOT_DIR $ENV{KERNEL_ROOT_DIR} CACHE PATH "Path to the SALOME KERNEL")
 IF(EXISTS ${KERNEL_ROOT_DIR})
   LIST(APPEND CMAKE_MODULE_PATH "${KERNEL_ROOT_DIR}/salome_adm/cmake_files")
   INCLUDE(SalomeMacros)
   FIND_PACKAGE(SalomeKERNEL REQUIRED)
-  KERNEL_WITH_CORBA() #check whether KERNEL builded with CORBA
+  KERNEL_WITH_CORBA() #check whether KERNEL is built with CORBA
   ADD_DEFINITIONS(${KERNEL_DEFINITIONS})
   INCLUDE_DIRECTORIES(${KERNEL_INCLUDE_DIRS})
 ELSE(EXISTS ${KERNEL_ROOT_DIR})
-  MESSAGE(FATAL_ERROR "We absolutely need a Salome KERNEL, please define KERNEL_ROOT_DIR")
+  MESSAGE(FATAL_ERROR "We absolutely need a SALOME KERNEL, please define KERNEL_ROOT_DIR")
 ENDIF(EXISTS ${KERNEL_ROOT_DIR})
 
 # Platform setup
@@ -58,61 +58,61 @@ SET(BUILD_SHARED_LIBS TRUE)
 LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/adm_local/cmake_files")
 
 # Find GEOM
-# ===========
-SET(GEOM_ROOT_DIR $ENV{GEOM_ROOT_DIR} CACHE PATH "Path to the Salome GEOM")
+# =========
+SET(GEOM_ROOT_DIR $ENV{GEOM_ROOT_DIR} CACHE PATH "Path to the SALOME Geometry")
 IF(EXISTS ${GEOM_ROOT_DIR})
   LIST(APPEND CMAKE_MODULE_PATH "${GEOM_ROOT_DIR}/adm_local/cmake_files")
   FIND_PACKAGE(SalomeGEOM REQUIRED)
   ADD_DEFINITIONS(${GEOM_DEFINITIONS})
   INCLUDE_DIRECTORIES(${GEOM_INCLUDE_DIRS})
 ELSE(EXISTS ${GEOM_ROOT_DIR})
-  MESSAGE(FATAL_ERROR "We absolutely need a Salome GEOM, please define GEOM_ROOT_DIR")
+  MESSAGE(FATAL_ERROR "We absolutely need a SALOME Geometry, please define GEOM_ROOT_DIR")
 ENDIF(EXISTS ${GEOM_ROOT_DIR})
 
-SET(SALOME_BUILD_GUI ${SALOME_GEOM_BUILD_GUI})
+# User options
+# ============
+OPTION(SALOME_BUILD_GUI "Enable GUI" ${SALOME_GEOM_BUILD_GUI})
+OPTION(SALOME_BUILD_DOC "Generate SALOME ACISPLUGIN documentation" ON)
+OPTION(SALOME_BUILD_TESTS "Build SALOME tests" ON)
+OPTION(ACIS_READ_LICENSE  "OCCT SAT/ACIS read license key" "")
+OPTION(ACIS_WRITE_LICENSE "OCCT SAT/ACIS write license key" "")
 
-# Find GUI(optional)
+# Find GUI (optional)
+# ===================
 IF(SALOME_BUILD_GUI)
-  SET(GUI_ROOT_DIR $ENV{GUI_ROOT_DIR} CACHE PATH "Path to the Salome GUI")
+  SET(GUI_ROOT_DIR $ENV{GUI_ROOT_DIR} CACHE PATH "Path to the SALOME GUI")
   IF(EXISTS ${GUI_ROOT_DIR})
     LIST(APPEND CMAKE_MODULE_PATH "${GUI_ROOT_DIR}/adm_local/cmake_files")
     FIND_PACKAGE(SalomeGUI)
-    FULL_GUI(FALSE) #check whether GUI builded in full mode and with CORBA
+    FULL_GUI(FALSE)
     ADD_DEFINITIONS(${GUI_DEFINITIONS})
     INCLUDE_DIRECTORIES(${GUI_INCLUDE_DIRS})
   ELSE(EXISTS ${GUI_ROOT_DIR})
-    MESSAGE(STATUS "GUI_ROOT_DIR is not well defined, ACISPLUGIN will be built without GUI!!!")
+    MESSAGE(FATAL_ERROR "We absolutely need a SALOME GUI, please define GUI_ROOT_DIR")
   ENDIF(EXISTS ${GUI_ROOT_DIR})
+  IF(NOT SALOME_GEOM_BUILD_GUI)
+    MESSAGE(FATAL_ERROR "SALOME Geometry module is built without GUI")
+  ENDIF(NOT SALOME_GEOM_BUILD_GUI)
   SALOME_LOG_OPTIONAL_PACKAGE(SalomeGUI SALOME_BUILD_GUI)
 ENDIF(SALOME_BUILD_GUI)
 
-# User options
-# ============
-OPTION(SALOME_BUILD_DOC "Generate SALOME ACISPLUGIN documentation" ON)
-OPTION(SALOME_BUILD_TESTS "Build SALOME tests" ON)
-
 IF(SALOME_BUILD_TESTS)
   ENABLE_TESTING()
 ENDIF()
 
-OPTION(ACIS_READ_LICENSE "ACIS read license key" "")
-OPTION(ACIS_WRITE_LICENSE "ACIS write license key" "")
-
 IF(ACIS_READ_LICENSE OR ACIS_WRITE_LICENSE)
   IF(NOT ACIS_READ_LICENSE)
-    MESSAGE(WARNING "ACIS read license key is not specified! Runtime license will be required!")
+    MESSAGE(WARNING "OCCT ACIS read license key is not specified! Runtime license will be required!")
   ELSEIF(NOT ACIS_WRITE_LICENSE)
-    MESSAGE(WARNING "ACIS write license key is not specified! Runtime license will be required!") 
+    MESSAGE(WARNING "OCCT ACIS write license key is not specified! Runtime license will be required!") 
   ENDIF() 
   ADD_DEFINITIONS(-DACIS_HASLICENSE)
 ELSE()
-  MESSAGE(WARNING "ACIS read/write license keys are not specified! Runtime license will be required!")
+  MESSAGE(WARNING "OCCT ACIS read/write license keys are not specified! Runtime license will be required!")
 ENDIF()
 
-##
-## ACISPLUGIN specifics
-##
-
+# Pre-requisites
+# ==============
 FIND_PACKAGE(SalomePython REQUIRED)
 FIND_PACKAGE(SalomeCAS REQUIRED)
 FIND_PACKAGE(SalomeACIS REQUIRED)
@@ -120,16 +120,20 @@ FIND_PACKAGE(SalomeOmniORB REQUIRED)
 FIND_PACKAGE(SalomeOmniORBPy REQUIRED)
 IF(SALOME_BUILD_GUI)
   FIND_PACKAGE(SalomeQt4 REQUIRED COMPONENTS QtCore QtGui)
-ENDIF()
+ENDIF(SALOME_BUILD_GUI)
 IF(SALOME_BUILD_DOC)
   FIND_PACKAGE(SalomeDoxygen)
   SALOME_LOG_OPTIONAL_PACKAGE(Doxygen SALOME_BUILD_DOC)
 ENDIF()
 
+# Detection summary:
+SALOME_PACKAGE_REPORT_AND_CHECK()
+
 # Directories
 # ===========
 SET(SALOME_INSTALL_BINS bin/salome CACHE PATH "Install path: SALOME binaries")
 SET(SALOME_INSTALL_LIBS lib/salome CACHE PATH "Install path: SALOME libs")
+SET(SALOME_INSTALL_IDLS idl/salome CACHE PATH "Install path: SALOME IDL files")
 SET(SALOME_INSTALL_HEADERS include/salome CACHE PATH "Install path: SALOME headers")
 SET(SALOME_INSTALL_CMAKE_LOCAL adm_local/cmake_files CACHE PATH 
     "Install path: local SALOME CMake files")
@@ -141,22 +145,23 @@ SET(SALOME_INSTALL_PYTHON "${SALOME_INSTALL_PYTHON}" CACHE PATH "Install path: S
 SET(SALOME_ACISPLUGIN_INSTALL_RES_DATA "${SALOME_INSTALL_RES}/acisplugin" CACHE PATH.
     "Install path: SALOME ACISPLUGIN specific data")
 
-MARK_AS_ADVANCED(SALOME_INSTALL_BINS SALOME_INSTALL_LIBS SALOME_INSTALL_HEADERS)
+MARK_AS_ADVANCED(SALOME_INSTALL_BINS SALOME_INSTALL_LIBS SALOME_INSTALL_IDLS SALOME_INSTALL_HEADERS)
 MARK_AS_ADVANCED(SALOME_INSTALL_CMAKE_LOCAL SALOME_INSTALL_RES SALOME_INSTALL_DOC)
+MARK_AS_ADVANCED(SALOME_INSTALL_PYTHON SALOME_ACISPLUGIN_INSTALL_RES_DATA)
 
 # Accumulate environment variables for ACISPLUGIN module
 SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH NOCHECK ${CMAKE_INSTALL_PREFIX}/${SALOME_INSTALL_PYTHON})
 SALOME_ACCUMULATE_ENVIRONMENT(LD_LIBRARY_PATH NOCHECK ${CMAKE_INSTALL_PREFIX}/${SALOME_INSTALL_LIBS})
 
 # Sources 
-# ========
+# =======
 ADD_SUBDIRECTORY(idl)
 ADD_SUBDIRECTORY(adm_local)
 ADD_SUBDIRECTORY(resources)
 ADD_SUBDIRECTORY(src)
 IF(SALOME_BUILD_DOC)
   ADD_SUBDIRECTORY(doc)
-ENDIF()
+ENDIF(SALOME_BUILD_DOC)
 
 # Header configuration
 # ====================
@@ -178,7 +183,7 @@ IF(SALOME_BUILD_GUI)
   LIST(APPEND _${PROJECT_NAME}_exposed_targets 
     ACISPluginGUI
     )
-ENDIF()
+ENDIF(SALOME_BUILD_GUI)
 
 # Add all targets to the build-tree export set
 EXPORT(TARGETS ${_${PROJECT_NAME}_exposed_targets}
@@ -205,7 +210,7 @@ CONFIGURE_PACKAGE_CONFIG_FILE(${PROJECT_NAME}Config.cmake.in
 WRITE_BASIC_PACKAGE_VERSION_FILE(${PROJECT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
     VERSION ${${PROJECT_NAME_UC}_VERSION}
     COMPATIBILITY AnyNewerVersion)
-  
+
 # Install the CMake configuration files:
 INSTALL(FILES
   "${PROJECT_BINARY_DIR}/${PROJECT_NAME}Config.cmake"
diff --git a/INSTALL b/INSTALL
index 8739dd4d6f70ba39c10c81ca6fd23b51509f36e6..df15d836a520d00160afddd227614621ce0644f2 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -26,9 +26,10 @@ Pre-requisites
 
 ACIS plugin for SALOME Geometry module requires:
 
-- SALOME, at least KERNEL module (http://www.salome-platform.org).
+- SALOME, at least KERNEL and GEOM modules (http://www.salome-platform.org).
 - Open CASCADE Technology and OCCT ACIS/SAT Import/Export XDE product
   (http://www.opencascade.org).
+- Other pre-requisite products, according to the SALOME pre-requisites list.
 
 ==================
 Basic Installation
@@ -58,12 +59,12 @@ In order to build the plugin you have to do the following actions:
 
    - for csh:
 
-   % setenv OCCLICENSE_ROOT_DIR /path/to/the/OCCLicense-6.7.0
+   % setenv OCCLICENSE_ROOT_DIR /path/to/the/OCCLicense-6.9.0
    % setenv LD_LIBRARY_PATH ${OCCLICENSE_ROOT_DIR}/lib:${LD_LIBRARY_PATH}
 
    - for bash:
    
-   % export OCCLICENSE_ROOT_DIR=/path/to/the/OCCLicense-6.7.0
+   % export OCCLICENSE_ROOT_DIR=/path/to/the/OCCLicense-6.9.0
    % export LD_LIBRARY_PATH=${OCCLICENSE_ROOT_DIR}/lib:${LD_LIBRARY_PATH}
 
 2. Create a build directory (in the example below, it is assumed
diff --git a/README b/README
index fe7dd3cc5d1a7b21c99256ed992b717f04ed9b52..f99fafa34b39ddbb78c3fa01d14793882e394ce3 100644 (file)
--- a/README
+++ b/README
@@ -74,12 +74,12 @@ Usage
 
    - for csh:
 
-   % setenv OCCLICENSE_ROOT_DIR /path/to/the/OCCLicense-6.7.0
+   % setenv OCCLICENSE_ROOT_DIR /path/to/the/OCCLicense-6.9.0
    % setenv LD_LIBRARY_PATH ${OCCLICENSE_ROOT_DIR}/lib:${LD_LIBRARY_PATH}
 
    - for bash:
    
-   % export OCCLICENSE_ROOT_DIR=/path/to/the/OCCLicense-6.7.0
+   % export OCCLICENSE_ROOT_DIR=/path/to/the/OCCLicense-6.9.0
    % export LD_LIBRARY_PATH=${OCCLICENSE_ROOT_DIR}/lib:${LD_LIBRARY_PATH}
 
    * Set CSF_SATDefaults variable to point to the OCCT ACIS/SAT XDE product
@@ -93,7 +93,7 @@ Usage
 
    % export CSF_SATDefaults=${ACIS_ROOT_DIR}/src/XSTEPResourceAdv
 
-2. Using in SALOME
+2. Usage in SALOME
 
    * Run SALOME and activate Geometry module.
 
index ad13705480eaf6a16fd15e1a86910411da9d8492..a4fa39437dff31228fc42900b78fb948ef254327 100644 (file)
@@ -1,5 +1,6 @@
 # Config file for the @PROJECT_NAME@ package
 # It defines the following variables:
+# Specific to the pacakge @PROJECT_NAME@ itself:
 #   @PROJECT_NAME_UC@_ROOT_DIR_EXP - the root path of the installation providing this CMake file
 #
 
@@ -39,7 +40,6 @@ SET_AND_CHECK(ACISPLUGIN_ROOT_DIR_EXP "@PACKAGE_CMAKE_INSTALL_PREFIX@")
 # Include directories
 SET_AND_CHECK(ACISPLUGIN_INCLUDE_DIRS "${ACISPLUGIN_ROOT_DIR_EXP}/@SALOME_INSTALL_HEADERS@")
 SET(ACISPLUGIN_INCLUDE_DIRS "${ACISPLUGIN_INCLUDE_DIRS};@_SalomeACISPLUGIN_EXTRA_HEADERS@")
-SET(ACISPLUGIN_DEFINITIONS)
 
 # Package specific environment variables
 @_SalomeACISPLUGIN_EXTRA_ENV_FULL@
@@ -49,6 +49,7 @@ SET(ACISPLUGIN_DEFINITIONS)
 # Options exported by the package:
 SET(SALOME_ACISPLUGIN_BUILD_DOC   @SALOME_BUILD_DOC@)
 SET(SALOME_ACISPLUGIN_BUILD_TESTS @SALOME_BUILD_TESTS@)
+SET(SALOME_ACISPLUGIN_BUILD_GUI   @SALOME_BUILD_GUI@)
 
 # Level 1 prerequisites:
 SET_AND_CHECK(KERNEL_ROOT_DIR_EXP "@PACKAGE_KERNEL_ROOT_DIR@")
@@ -90,10 +91,17 @@ ENDIF()
 # Installation directories
 SET(SALOME_INSTALL_BINS "@SALOME_INSTALL_BINS@")
 SET(SALOME_INSTALL_LIBS "@SALOME_INSTALL_LIBS@")
+SET(SALOME_INSTALL_IDLS "@SALOME_INSTALL_IDLS@")
 SET(SALOME_INSTALL_HEADERS "@SALOME_INSTALL_HEADERS@")
 SET(SALOME_INSTALL_CMAKE_LOCAL "@SALOME_INSTALL_CMAKE_LOCAL@")
 SET(SALOME_INSTALL_RES "@SALOME_INSTALL_RES@")
 SET(SALOME_INSTALL_DOC "@SALOME_INSTALL_DOC@")
+SET(SALOME_INSTALL_PYTHON "@SALOME_INSTALL_PYTHON@")
+
+# Include GEOM targets if they were not already loaded:
+IF(NOT (TARGET GEOMEngine)) 
+  INCLUDE("${GEOM_ROOT_DIR_EXP}/${SALOME_INSTALL_CMAKE}/SalomeGEOMTargets.cmake")
+ENDIF()
 
 # Exposed ACISPLUGIN targets:
 SET(ACISPLUGIN_SalomeIDLACISPlugin SalomeIDLACISPlugin)
index 776f3bf56d8093d21dc6a4d9739869e4d7ca18e9..60eda278d808e2745d21a0dbdc90d7aeaa5b5441 100644 (file)
@@ -1,7 +1,7 @@
 # - Find OCCT ACIS/SAT XDE product
 # Sets the following variables:
-#   ACIS_INCLUDE_DIRS - path to the ACIS include directory
-#   ACIS_LIBRARIES    - path to the ACIS libraries to be linked against
+#   ACIS_INCLUDE_DIRS - path to the OCCT SAT/ACIS XDE include directory
+#   ACIS_LIBRARIES    - OCCT SAT/ACIS XDE libraries to be linked against
 #
 
 #########################################################################
@@ -46,7 +46,6 @@ IF(OCCTLICENSE_INCLUDE_DIRS)
   LIST(APPEND ACIS_INCLUDE_DIRS ${OCCTLICENSE_INCLUDE_DIRS})
 ENDIF(OCCTLICENSE_INCLUDE_DIRS)
 
-
 FIND_LIBRARY(ACIS_TKACIS NAMES TKACIS)
 FIND_LIBRARY(ACIS_TKSAT NAMES TKSAT)
 FIND_LIBRARY(ACIS_TKXDESAT NAMES TKXDESAT)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index dc3f208..9965b85
@@ -18,4 +18,4 @@
 #
 
 ADD_SUBDIRECTORY(examples)
-ADD_SUBDIRECTORY(gui)
\ No newline at end of file
+ADD_SUBDIRECTORY(gui)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index e3fae44..00779e4
@@ -96,7 +96,7 @@ EXAMPLE_RECURSIVE      = NO
 #---------------------------------------------------------------------------
 #Input related options
 #---------------------------------------------------------------------------
-INPUT             = tmp @CMAKE_SOURCE_DIR@/idl/ACISPlugin_Gen.idl
+INPUT             = tmp @CMAKE_SOURCE_DIR@/idl/ACISPlugin.idl
 FILE_PATTERNS     = 
 IMAGE_PATH        = @CMAKE_CURRENT_SOURCE_DIR@/images
 RECURSIVE         = NO
old mode 100755 (executable)
new mode 100644 (file)
index 84d30b647f1fcdc5530cfb204230759abf5d5c0e..d1538d41b3deafeca10d81520ec21fe3976c4de9 100644 (file)
@@ -2,11 +2,11 @@
 
 \page acisplugin_importexport_page Import/Export ACIS
 
-For using ACISPLUGIN functionalities in SALOME:
+To use ACISPLUGIN functionalities in SALOME:
 
 - Run SALOME and activate Geometry module.
 
-- Import the ACIS file from menu <b>File/Import/ACIS</b>.
+- Import the ACIS file from menu \b File - \b Import - \b ACIS.
 
   \image html import_acis.png
   
@@ -14,18 +14,18 @@ For using ACISPLUGIN functionalities in SALOME:
   will appear in the SALOME object browser.
   
   \note If the file contains named shapes, the user will be asked if it is 
-  necessary to group these shapes accordingly to their type (see the picture below).
+  necessary to group these shapes accordingly to their type:
 
   \image html group_acis.png
 
   \note It is possible to re-load a previously imported shape from the initial file if 
-  the file has been changed on disk. For this, select <b>Reload From Disk</b> item
+  the file has been changed on disk. To do this, select <b>Reload From Disk</b> item
   in the Object browser's context menu of the imported shape. The reloaded shape will
   have the same representation parameters as before this operation.
 
   \image html reopen_acis.png
   
-- Export selected shape to the ACIS file via <b>File/Export/ACIS</b> menu.
+- Export selected shape to the ACIS file via \b File - \b Export - \b ACIS menu.
   
   \image html export_acis.png
   
index 1c251be29141b0a096e7716dba92edb81a9c438a..c233f38d71fea077c865bfea42eedd2fff91e85d 100644 (file)
@@ -5,15 +5,13 @@
 Python package ACISPluginBuilder defines several functions that allow 
 importing and exporting CAD models in ACIS format (*.sat files).
 
-ACISPLUGIN dynamically adds several methods to the geomBuilder.
+ACISPLUGIN dynamically adds these methods to the geomBuilder.
 
 Below you can see an example of usage of the ACISPluginBuilder package for 
 import and export CAD models:
 
 \anchor example_ACISPlugin
-<h2>Example of import CAD model stored in ACIS format (*.sat files) with ACISPLUGIN:</h2>
+<h2>Example: importing CAD model stored in ACIS format (*.sat files) with ACISPLUGIN:</h2>
 \tui_script{ACISPlugindemo.py}
 
 */
-
-
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 3e8b838a651192a92258e0f43a1a1bc284644721..802088e85af0188ec35e8be0c378ca8a0808e4c1 100644 (file)
@@ -26,4 +26,4 @@ div.version {
 .navpath li.footer {
        line-height:15px;
        text-align: right;
-}
\ No newline at end of file
+}
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index c93b2ec..aaa6a75
@@ -37,7 +37,6 @@ SET(SalomeIDLACISPlugin_IDLSOURCES
 SET(IDL_INCLUDE_DIRS
   ${KERNEL_ROOT_DIR}/idl/salome
   ${GEOM_ROOT_DIR}/idl/salome
-  ${CMAKE_CURRENT_SOURCE_DIR}
 )
 SET(IDL_LINK_FLAGS
   ${KERNEL_SalomeIDLKernel}
index c2d06d030d1b946e07ea13c98fc9f1f9f91f848c..6ebee83c3cf1040a23e9580f0e9aaa66aca35b53 100644 (file)
@@ -4,7 +4,7 @@
   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
-  version 2.1 of the License.
+  version 2.1 of the License, or (at your option) any later version.
 
   This library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
old mode 100755 (executable)
new mode 100644 (file)
index 57807a756a2ed3a9dff5833d8a6ac6c3dffb5730..5ce24209079c8b8b3236dcf0c2f18cce3fa9f2d0 100644 (file)
@@ -33,6 +33,7 @@
 #include <SatControl_Writer.hxx>
 #include <TCollection_AsciiString.hxx>
 #include <TopoDS_Shape.hxx>
+#include <Standard_Version.hxx>
 
 #ifdef ACIS_HASLICENSE
 #include "ACISPlugin_license.h"
@@ -70,7 +71,7 @@ Standard_Integer ACISPlugin_ExportDriver::Execute( TFunction_Logbook& log ) cons
       OCCLicense_Activate("SAT-W-"OCC_VERSION_STRING, ACIS_WRITE_LICENSE);
     }
     catch (Standard_LicenseError) {
-      return 1;
+      return 0;
     }
 #endif // ACIS_HASLICENSE
 
index f36893c4d1353ebffc628a1d739391d0a92c6cba..4e268dfcb3a516522fa5f544c13257b761fb747b 100644 (file)
@@ -275,7 +275,7 @@ bool ACISPlugin_GUI::exportACIS( SUIT_Desktop* parent )
 extern "C"
 {
 #ifdef WIN32
-    __declspec( dllexport )
+  __declspec( dllexport )
 #endif
   GEOMGUI* GetLibGUI( GeometryGUI* parent )
   {
old mode 100755 (executable)
new mode 100644 (file)
index 966b0cd..9be23eb
@@ -68,4 +68,3 @@ ACISPlugin_IECallBack::Import( int theDocId,
   ACISPlugin_IOperations* aPluginOperations = ACISPlugin_OperationsCreator::get( GetEngine(), theDocId );
   return aPluginOperations->ImportACIS( theFileName );
 }
-
index d23aad49717379722b42ed031f21cd7975bd436a..6f8af8ae5482fd8c129ad3c87642abc61fdf5e84 100644 (file)
@@ -47,6 +47,7 @@
 #include <XSControl_WorkSession.hxx>
 
 #include <StdFail_NotDone.hxx>
+#include <Standard_Version.hxx>
 
 #ifdef ACIS_HASLICENSE
 #include "ACISPlugin_license.h"
@@ -94,7 +95,7 @@ Standard_Integer ACISPlugin_ImportDriver::Execute( TFunction_Logbook& log ) cons
     OCCLicense_Activate( "SAT-R-"OCC_VERSION_STRING, ACIS_READ_LICENSE);
   }
   catch (Standard_LicenseError) {
-    return aResShape;
+    return 0;
   }
 #endif // ACIS_HASLICENSE
 
index 70cfe703770c14d2e83c7960c559c0c8e842c2c8..997ae52b55ba78bcd6a129578392530ce1656085 100644 (file)
@@ -29,15 +29,16 @@ INCLUDE_DIRECTORIES(
   ${CAS_INCLUDE_DIRS}
   ${ACIS_INCLUDE_DIRS}
   ${KERNEL_INCLUDE_DIRS}
+  ${GEOM_INCLUDE_DIRS}
   ${PROJECT_BINARY_DIR}
   ${PROJECT_BINARY_DIR}/idl
+  ${CMAKE_CURRENT_BINARY_DIR}
   )
   
 IF(SALOME_BUILD_GUI)
   INCLUDE_DIRECTORIES(
     ${QT_INCLUDE_DIRS}
     ${GUI_INCLUDE_DIRS}
-    ${GEOM_INCLUDE_DIRS}
     )
 ENDIF()
 
index 49a94137e08c0ac1c1be89923d7725b404c904bc..77173a5f88c4eb8cb4e70df9478ef09a408bfb66 100644 (file)
@@ -43,4 +43,4 @@
         <translation>Importer ACIS</translation>
     </message>
 </context>
-</TS>
\ No newline at end of file
+</TS>
index e796fe93b801e17edcea97a4bfb22f73a55f11ef..d68a3c6d4931320c032c80d60dfae0beb175c153 100644 (file)
@@ -43,4 +43,4 @@
         <translation type="unfinished">Import ACIS</translation>
     </message>
 </context>
-</TS>
\ No newline at end of file
+</TS>