From: Renaud Barate Date: Tue, 29 Apr 2014 08:35:42 +0000 (+0200) Subject: Compatibility with CMake 2.8.12 X-Git-Tag: V7_4_0rc1~9^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d713a13f379ff6bffe8499c9c05c38556cf830fb;p=modules%2Fmed.git Compatibility with CMake 2.8.12 --- diff --git a/src/MEDOP/gui/dialogs/CMakeLists.txt b/src/MEDOP/gui/dialogs/CMakeLists.txt index 43523210f..7b550727b 100644 --- a/src/MEDOP/gui/dialogs/CMakeLists.txt +++ b/src/MEDOP/gui/dialogs/CMakeLists.txt @@ -21,20 +21,6 @@ ADD_DEFINITIONS(${CAS_DEFINITIONS} ${BOOST_DEFINITIONS} ${OMNIORB_DEFINITIONS}) INCLUDE(UseQt4Ext) -MACRO (QT4_WRAP_UI_XX outfiles ) - QT4_EXTRACT_OPTIONS(ui_files ui_options ${ARGN}) - FOREACH (it ${ui_files}) - GET_FILENAME_COMPONENT(outfile ${it} NAME_WE) - GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE) - SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/ui_${outfile}.hxx) - ADD_CUSTOM_COMMAND(OUTPUT ${outfile} - COMMAND ${QT_UIC_EXECUTABLE} - ARGS ${ui_options} -o ${outfile} ${infile} - MAIN_DEPENDENCY ${infile}) - SET(${outfiles} ${${outfiles}} ${outfile}) - ENDFOREACH (it) -ENDMACRO (QT4_WRAP_UI_XX) - SET(MEDOPGUI_dialogs_FORMS GenericDialog.ui DlgAlias.ui @@ -42,7 +28,7 @@ SET(MEDOPGUI_dialogs_FORMS DlgChangeUnderlyingMesh.ui DlgImageToMed.ui ) -QT4_WRAP_UI_XX(MEDOPGUI_dialogs_FORMS_HEADERS ${MEDOPGUI_dialogs_FORMS}) +QT4_WRAP_UI(MEDOPGUI_dialogs_FORMS_HEADERS ${MEDOPGUI_dialogs_FORMS}) SET(MEDOPGUI_dialogs_FILES GenericDialog.hxx diff --git a/src/MEDOP/gui/dialogs/DlgAlias.hxx b/src/MEDOP/gui/dialogs/DlgAlias.hxx index 81a3df028..c96a27f56 100644 --- a/src/MEDOP/gui/dialogs/DlgAlias.hxx +++ b/src/MEDOP/gui/dialogs/DlgAlias.hxx @@ -2,7 +2,7 @@ #define DLGALIAS_H #include -#include "ui_DlgAlias.hxx" +#include "ui_DlgAlias.h" #include "MEDOPGUIdialogs.hxx" class MEDOPGUI_DIALOGS_EXPORT DlgAlias : public QDialog diff --git a/src/MEDOP/gui/dialogs/DlgChangeUnderlyingMesh.hxx b/src/MEDOP/gui/dialogs/DlgChangeUnderlyingMesh.hxx index ab4bffb4e..914e10be0 100644 --- a/src/MEDOP/gui/dialogs/DlgChangeUnderlyingMesh.hxx +++ b/src/MEDOP/gui/dialogs/DlgChangeUnderlyingMesh.hxx @@ -2,7 +2,7 @@ #define _DlgChangeUnderlyingMesh_HXX #include -#include "ui_DlgChangeUnderlyingMesh.hxx" +#include "ui_DlgChangeUnderlyingMesh.h" #include "GenericDialog.hxx" #include diff --git a/src/MEDOP/gui/dialogs/DlgImageToMed.hxx b/src/MEDOP/gui/dialogs/DlgImageToMed.hxx index 7b396f038..1f5561db0 100644 --- a/src/MEDOP/gui/dialogs/DlgImageToMed.hxx +++ b/src/MEDOP/gui/dialogs/DlgImageToMed.hxx @@ -2,7 +2,7 @@ #define _DlgImageToMed_HXX #include -#include "ui_DlgImageToMed.hxx" +#include "ui_DlgImageToMed.h" #include "GenericDialog.hxx" #include "MEDOPGUIdialogs.hxx" diff --git a/src/MEDOP/gui/dialogs/DlgUseInWorkspace.hxx b/src/MEDOP/gui/dialogs/DlgUseInWorkspace.hxx index 0bf316064..6fb248939 100644 --- a/src/MEDOP/gui/dialogs/DlgUseInWorkspace.hxx +++ b/src/MEDOP/gui/dialogs/DlgUseInWorkspace.hxx @@ -2,7 +2,7 @@ #define _DlgUseInWorkspace_HXX #include -#include "ui_DlgUseInWorkspace.hxx" +#include "ui_DlgUseInWorkspace.h" #include "GenericDialog.hxx" class DlgUseInWorkspace : public GenericDialog diff --git a/src/MEDOP/gui/dialogs/GenericDialog.hxx b/src/MEDOP/gui/dialogs/GenericDialog.hxx index ee946617d..1c9d7ea69 100644 --- a/src/MEDOP/gui/dialogs/GenericDialog.hxx +++ b/src/MEDOP/gui/dialogs/GenericDialog.hxx @@ -2,7 +2,7 @@ #define _GenericDialog_HXX #include -#include "ui_GenericDialog.hxx" +#include "ui_GenericDialog.h" class GenericDialog : public QDialog {