]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Compatibility with CMake 2.8.12 rbe/compat-cmake-2.8.12
authorRenaud Barate <renaud.barate@edf.fr>
Tue, 29 Apr 2014 08:35:42 +0000 (10:35 +0200)
committerRenaud Barate <renaud.barate@edf.fr>
Tue, 29 Apr 2014 08:35:42 +0000 (10:35 +0200)
src/MEDOP/gui/dialogs/CMakeLists.txt

index 43523210f5480a67b5e8a8e88a0af39bd1b825dc..7b550727b950b1354a08eac5be28640d7514c647 100644 (file)
@@ -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