]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/CMakeLists.txt
Salome HOME
Copyright update 2020
[modules/shaper.git] / src / ModuleBase / CMakeLists.txt
index fe127695dd545764b0db4fc78ec1d351b1d8b041..2f06c5f28339fba69d6909f9f637e63ecbd5d5c5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -55,7 +55,6 @@ SET(PROJECT_HEADERS
   ModuleBase_ListView.h
   ModuleBase_ModelWidget.h
   ModuleBase_Operation.h
-  ModuleBase_OperationAction.h
   ModuleBase_OperationDescription.h
   ModuleBase_OperationFeature.h
   ModuleBase_PageBase.h
@@ -108,6 +107,7 @@ SET(PROJECT_HEADERS
   ModuleBase_WidgetSelectionFilter.h
   ModuleBase_IStepPrs.h
   ModuleBase_SelectionFilterType.h
+  ModuleBase_WidgetUndoLabel.h
 )
 
 SET(PROJECT_MOC_HEADERS
@@ -124,7 +124,6 @@ SET(PROJECT_MOC_HEADERS
   ModuleBase_ModelDialogWidget.h
   ModuleBase_ModelWidget.h
   ModuleBase_Operation.h
-  ModuleBase_OperationAction.h
   ModuleBase_OperationFeature.h
   ModuleBase_PagedContainer.h
   ModuleBase_PageGroupBox.h
@@ -158,6 +157,7 @@ SET(PROJECT_MOC_HEADERS
   ModuleBase_WidgetRadiobox.h
   ModuleBase_WidgetPointInput.h
   ModuleBase_WidgetSelectionFilter.h
+  ModuleBase_WidgetUndoLabel.h
 )
 
 SET(PROJECT_SOURCES
@@ -180,7 +180,6 @@ SET(PROJECT_SOURCES
   ModuleBase_ListView.cpp
   ModuleBase_ModelWidget.cpp
   ModuleBase_Operation.cpp
-  ModuleBase_OperationAction.cpp
   ModuleBase_OperationDescription.cpp
   ModuleBase_OperationFeature.cpp
   ModuleBase_PageBase.cpp
@@ -228,10 +227,11 @@ SET(PROJECT_SOURCES
   ModuleBase_WidgetPointInput.cpp
   ModuleBase_WidgetSelectionFilter.cpp
   ModuleBase_IStepPrs.cpp
+  ModuleBase_WidgetUndoLabel.cpp
 )
 
 SET(TEXT_RESOURCES
-#    ModuleBase_msg_fr.ts
+    ModuleBase_msg_fr.ts
 )
 
 SET(PROJECT_LIBRARIES
@@ -258,10 +258,12 @@ IF (${UPDATE_TRANSLATION})
     QT5_CREATE_TRANSLATION(QM_RESOURCES
                            ${PROJECT_FILES}
                            ${TEXT_RESOURCES}
-                           OPTIONS -extensions cpp -no-recursive
+                           OPTIONS -extensions cpp -no-recursive -locations none
                           )
 ELSE(${UPDATE_TRANSLATION})
-    QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
+    IF(${MAKE_TRANSLATION})
+        QT5_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
+    ENDIF(${MAKE_TRANSLATION})
 ENDIF(${UPDATE_TRANSLATION})
 
 SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES} ${QM_RESOURCES})