Permalink
Browse files

CMake 3.10 introduces more checking for AUTO_MOC and deprecates the c…

…urrent method we are using for MOC'ing the source files.
  • Loading branch information...
imikejackson committed Dec 5, 2017
1 parent 96966e7 commit 5b1523df3420b4ec76938482978f6fb4eb5e3682
Showing with 146 additions and 17 deletions.
  1. +6 −1 Source/Plugins/EMMPM/FilterParameterWidgets/SourceList.cmake
  2. +4 −0 Source/Plugins/EMMPM/Resources/SourceList.cmake
  3. +4 −0 Source/Plugins/EMMPM/Widgets/SourceList.cmake
  4. +6 −1 Source/Plugins/Generic/FilterParameterWidgets/SourceList.cmake
  5. +4 −0 Source/Plugins/Generic/Resources/SourceList.cmake
  6. +4 −0 Source/Plugins/Generic/Widgets/SourceList.cmake
  7. +6 −1 Source/Plugins/IO/FilterParameterWidgets/SourceList.cmake
  8. +4 −0 Source/Plugins/IO/Resources/SourceList.cmake
  9. +4 −0 Source/Plugins/IO/Widgets/SourceList.cmake
  10. +6 −1 Source/Plugins/ImageIO/FilterParameterWidgets/SourceList.cmake
  11. +4 −0 Source/Plugins/ImageIO/Resources/SourceList.cmake
  12. +6 −3 Source/Plugins/OrientationAnalysis/FilterParameterWidgets/SourceList.cmake
  13. +4 −0 Source/Plugins/OrientationAnalysis/Resources/SourceList.cmake
  14. +5 −1 Source/Plugins/OrientationAnalysis/Widgets/SourceList.cmake
  15. +6 −1 Source/Plugins/Processing/FilterParameterWidgets/SourceList.cmake
  16. +4 −0 Source/Plugins/Processing/Resources/SourceList.cmake
  17. +6 −1 Source/Plugins/Reconstruction/FilterParameterWidgets/SourceList.cmake
  18. +4 −0 Source/Plugins/Reconstruction/Resources/SourceList.cmake
  19. +6 −1 Source/Plugins/Sampling/FilterParameterWidgets/SourceList.cmake
  20. +4 −0 Source/Plugins/Sampling/Resources/SourceList.cmake
  21. +6 −1 Source/Plugins/Statistics/FilterParameterWidgets/SourceList.cmake
  22. +4 −0 Source/Plugins/Statistics/Resources/SourceList.cmake
  23. +6 −1 Source/Plugins/StatsGenerator/FilterParameterWidgets/SourceList.cmake
  24. +4 −1 Source/Plugins/StatsGenerator/Resources/SourceList.cmake
  25. +4 −0 Source/Plugins/StatsGenerator/Widgets/SourceList.cmake
  26. +6 −1 Source/Plugins/SurfaceMeshing/FilterParameterWidgets/SourceList.cmake
  27. +4 −0 Source/Plugins/SurfaceMeshing/Resources/SourceList.cmake
  28. +6 −1 Source/Plugins/SyntheticBuilding/FilterParameterWidgets/SourceList.cmake
  29. +4 −0 Source/Plugins/SyntheticBuilding/Resources/SourceList.cmake
  30. +5 −1 Source/Plugins/SyntheticBuilding/Widgets/SourceList.cmake
@@ -79,8 +79,13 @@ set_source_files_properties( ${${PLUGIN_NAME}_ParameterWidgets_Generated_MOC_SRC
# QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${DREAM3DProj_SOURCE_DIR}/Documentation/Filters/Generated_FilterDocs.qrc" )
# --------------------------------------------------------------------
# Continue on with our Qt4 section
# Wrap UI files so they are AUTO UIC'ed
QT5_WRAP_UI( ${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS ${${PLUGIN_NAME}_ParameterWidgets_UIS} )
foreach(h ${${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
# --------------------------------------------------------------------
#-- Put the Qt generated files into their own group for IDEs
@@ -1,2 +1,6 @@
QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${${PLUGIN_NAME}_SOURCE_DIR}/Resources/${PLUGIN_NAME}.qrc" )
cmp_IDE_SOURCE_PROPERTIES( "Generated/Qt_Qrc" "${${PLUGIN_NAME}_Generated_RC_SRCS}" "" "0")
foreach(h ${${PLUGIN_NAME}_Generated_RC_SRCS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
@@ -48,6 +48,10 @@ set_source_files_properties( ${${PLUGIN_NAME}_Widgets_Generated_MOC_SRCS} PROPER
# --------------------------------------------------------------------
# -- Run UIC on the necessary files
QT5_WRAP_UI( ${PLUGIN_NAME}_Widgets_Generated_UI_HDRS ${${PLUGIN_NAME}_Widgets_UIS} )
foreach(h ${${PLUGIN_NAME}_Widgets_Generated_UI_HDRS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
# --------------------------------------------------------------------
#-- Put the Qt generated files into their own group for IDEs
@@ -80,8 +80,13 @@ set_source_files_properties( ${${PLUGIN_NAME}_ParameterWidgets_Generated_MOC_SRC
# QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${DREAM3DProj_SOURCE_DIR}/Documentation/Filters/Generated_FilterDocs.qrc" )
# --------------------------------------------------------------------
# Continue on with our Qt4 section
# Wrap UI files so they are AUTO UIC'ed
QT5_WRAP_UI( ${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS ${${PLUGIN_NAME}_ParameterWidgets_UIS} )
foreach(h ${${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
# --------------------------------------------------------------------
#-- Put the Qt generated files into their own group for IDEs
@@ -1,2 +1,6 @@
QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${${PLUGIN_NAME}_SOURCE_DIR}/Resources/${PLUGIN_NAME}.qrc" )
cmp_IDE_SOURCE_PROPERTIES( "Generated/Qt_Qrc" "${${PLUGIN_NAME}_Generated_RC_SRCS}" "" "0")
foreach(h ${${PLUGIN_NAME}_Generated_RC_SRCS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
@@ -48,6 +48,10 @@ set_source_files_properties( ${${PLUGIN_NAME}_Widgets_Generated_MOC_SRCS} PROPER
# --------------------------------------------------------------------
# -- Run UIC on the necessary files
QT5_WRAP_UI( ${PLUGIN_NAME}_Widgets_Generated_UI_HDRS ${${PLUGIN_NAME}_Widgets_UIS} )
foreach(h ${${PLUGIN_NAME}_Widgets_Generated_UI_HDRS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
# --------------------------------------------------------------------
#-- Put the Qt generated files into their own group for IDEs
@@ -79,8 +79,13 @@ cmp_IDE_GENERATED_PROPERTIES("FilterParameterWidgets/UI_Files" "${${PLUGIN_NAME}
# QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${DREAM3DProj_SOURCE_DIR}/Documentation/Filters/Generated_FilterDocs.qrc" )
# --------------------------------------------------------------------
# Continue on with our Qt4 section
# Wrap UI files so they are AUTO UIC'ed
QT5_WRAP_UI( ${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS ${${PLUGIN_NAME}_ParameterWidgets_UIS} )
foreach(h ${${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
# --------------------------------------------------------------------
#-- Put the Qt generated files into their own group for IDEs
@@ -1,2 +1,6 @@
QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${${PLUGIN_NAME}_SOURCE_DIR}/Resources/${PLUGIN_NAME}.qrc" )
cmp_IDE_SOURCE_PROPERTIES( "Generated/Qt_Qrc" "${${PLUGIN_NAME}_Generated_RC_SRCS}" "" "0")
foreach(h ${${PLUGIN_NAME}_Generated_RC_SRCS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
@@ -62,6 +62,10 @@ cmp_IDE_GENERATED_PROPERTIES("Widgets/UI_Files" "${${PLUGIN_NAME}_Widgets_UIS}"
# --------------------------------------------------------------------
# -- Run UIC on the necessary files
QT5_WRAP_UI( ${PLUGIN_NAME}_Widgets_Generated_UI_HDRS ${${PLUGIN_NAME}_Widgets_UIS} )
foreach(h ${${PLUGIN_NAME}_Widgets_Generated_UI_HDRS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
# --------------------------------------------------------------------
#-- Put the Qt generated files into their own group for IDEs
@@ -79,8 +79,13 @@ cmp_IDE_GENERATED_PROPERTIES("FilterParameterWidgets/UI_Files" "${${PLUGIN_NAME}
# QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${DREAM3DProj_SOURCE_DIR}/Documentation/Filters/Generated_FilterDocs.qrc" )
# --------------------------------------------------------------------
# Continue on with our Qt4 section
# Wrap UI files so they are AUTO UIC'ed
QT5_WRAP_UI( ${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS ${${PLUGIN_NAME}_ParameterWidgets_UIS} )
foreach(h ${${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
# --------------------------------------------------------------------
#-- Put the Qt generated files into their own group for IDEs
@@ -1,2 +1,6 @@
QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${${PLUGIN_NAME}_SOURCE_DIR}/Resources/${PLUGIN_NAME}.qrc" )
cmp_IDE_SOURCE_PROPERTIES( "Generated/Qt_Qrc" "${${PLUGIN_NAME}_Generated_RC_SRCS}" "" "0")
foreach(h ${${PLUGIN_NAME}_Generated_RC_SRCS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
@@ -91,8 +91,8 @@ cmp_IDE_GENERATED_PROPERTIES("FilterParameterWidgets/UI_Files" "${${PLUGIN_NAME}
# --------------------------------------------------------------------
# and finally this will run moc:
# QT5_WRAP_CPP( ${PLUGIN_NAME}_ParameterWidgets_Generated_MOC_SRCS ${${PLUGIN_NAME}_ParameterWidgets_MOC_HDRS} )
set_source_files_properties( ${${PLUGIN_NAME}_ParameterWidgets_MOC_HDRS} PROPERTIES GENERATED TRUE)
set_source_files_properties( ${${PLUGIN_NAME}_ParameterWidgets_MOC_HDRS} PROPERTIES HEADER_FILE_ONLY TRUE)
# set_source_files_properties( ${${PLUGIN_NAME}_ParameterWidgets_MOC_HDRS} PROPERTIES GENERATED TRUE)
# set_source_files_properties( ${${PLUGIN_NAME}_ParameterWidgets_MOC_HDRS} PROPERTIES HEADER_FILE_ONLY TRUE)
# These generated moc files will be #include in the FilterWidget source file that
# are generated so we need to tell the build system to NOT compile these files
@@ -102,8 +102,11 @@ set_source_files_properties( ${${PLUGIN_NAME}_ParameterWidgets_MOC_HDRS} PROPERT
# QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${DREAM3DProj_SOURCE_DIR}/Documentation/Filters/Generated_FilterDocs.qrc" )
# --------------------------------------------------------------------
# Continue on with our Qt4 section
# Wrap UI files so they are AUTO UIC'ed
QT5_WRAP_UI( ${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS ${${PLUGIN_NAME}_ParameterWidgets_UIS} )
foreach(h ${${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
# --------------------------------------------------------------------
#-- Put the Qt generated files into their own group for IDEs
@@ -1,2 +1,6 @@
QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${${PLUGIN_NAME}_SOURCE_DIR}/Resources/${PLUGIN_NAME}.qrc" )
cmp_IDE_SOURCE_PROPERTIES( "Generated/Qt_Qrc" "${${PLUGIN_NAME}_Generated_RC_SRCS}" "" "0")
foreach(h ${${PLUGIN_NAME}_Generated_RC_SRCS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
@@ -70,8 +70,12 @@ cmp_IDE_GENERATED_PROPERTIES("Widgets/UI_Files" "${${PLUGIN_NAME}_Widgets_UIS}"
# QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${DREAM3DProj_SOURCE_DIR}/Documentation/Filters/Generated_FilterDocs.qrc" )
# --------------------------------------------------------------------
# Continue on with our Qt4 section
# Wrap UI files so they are AUTO UIC'ed
QT5_WRAP_UI( ${PLUGIN_NAME}_Widgets_Generated_UI_HDRS ${${PLUGIN_NAME}_Widgets_UIS} )
foreach(h ${${PLUGIN_NAME}_Widgets_Generated_UI_HDRS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
# --------------------------------------------------------------------
#-- Put the Qt generated files into their own group for IDEs
@@ -79,8 +79,13 @@ set_source_files_properties( ${${PLUGIN_NAME}_ParameterWidgets_Generated_MOC_SRC
# QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${DREAM3DProj_SOURCE_DIR}/Documentation/Filters/Generated_FilterDocs.qrc" )
# --------------------------------------------------------------------
# Continue on with our Qt4 section
# Wrap UI files so they are AUTO UIC'ed
QT5_WRAP_UI( ${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS ${${PLUGIN_NAME}_ParameterWidgets_UIS} )
foreach(h ${${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
# --------------------------------------------------------------------
#-- Put the Qt generated files into their own group for IDEs
@@ -1,2 +1,6 @@
QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${${PLUGIN_NAME}_SOURCE_DIR}/Resources/${PLUGIN_NAME}.qrc" )
cmp_IDE_SOURCE_PROPERTIES( "Generated/Qt_Qrc" "${${PLUGIN_NAME}_Generated_RC_SRCS}" "" "0")
foreach(h ${${PLUGIN_NAME}_Generated_RC_SRCS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
@@ -72,8 +72,13 @@ cmp_IDE_GENERATED_PROPERTIES("FilterParameterWidgets/UI_Files" "${${PLUGIN_NAME}
set_source_files_properties( ${${PLUGIN_NAME}_ParameterWidgets_Generated_MOC_SRCS} PROPERTIES HEADER_FILE_ONLY TRUE)
# --------------------------------------------------------------------
# Continue on with our Qt4 section
# Wrap UI files so they are AUTO UIC'ed
QT5_WRAP_UI( ${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS ${${PLUGIN_NAME}_ParameterWidgets_UIS} )
foreach(h ${${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
# --------------------------------------------------------------------
#-- Put the Qt generated files into their own group for IDEs
@@ -1,2 +1,6 @@
QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${${PLUGIN_NAME}_SOURCE_DIR}/Resources/${PLUGIN_NAME}.qrc" )
cmp_IDE_SOURCE_PROPERTIES( "Generated/Qt_Qrc" "${${PLUGIN_NAME}_Generated_RC_SRCS}" "" "0")
foreach(h ${${PLUGIN_NAME}_Generated_RC_SRCS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
@@ -80,8 +80,13 @@ set_source_files_properties( ${${PLUGIN_NAME}_ParameterWidgets_Generated_MOC_SRC
# QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${DREAM3DProj_SOURCE_DIR}/Documentation/Filters/Generated_FilterDocs.qrc" )
# --------------------------------------------------------------------
# Continue on with our Qt4 section
# Wrap UI files so they are AUTO UIC'ed
QT5_WRAP_UI( ${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS ${${PLUGIN_NAME}_ParameterWidgets_UIS} )
foreach(h ${${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
# --------------------------------------------------------------------
#-- Put the Qt generated files into their own group for IDEs
@@ -1,2 +1,6 @@
QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${${PLUGIN_NAME}_SOURCE_DIR}/Resources/${PLUGIN_NAME}.qrc" )
cmp_IDE_SOURCE_PROPERTIES( "Generated/Qt_Qrc" "${${PLUGIN_NAME}_Generated_RC_SRCS}" "" "0")
foreach(h ${${PLUGIN_NAME}_Generated_RC_SRCS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
@@ -80,8 +80,13 @@ set_source_files_properties( ${${PLUGIN_NAME}_ParameterWidgets_Generated_MOC_SRC
# QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${DREAM3DProj_SOURCE_DIR}/Documentation/Filters/Generated_FilterDocs.qrc" )
# --------------------------------------------------------------------
# Continue on with our Qt4 section
# Wrap UI files so they are AUTO UIC'ed
QT5_WRAP_UI( ${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS ${${PLUGIN_NAME}_ParameterWidgets_UIS} )
foreach(h ${${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
# --------------------------------------------------------------------
#-- Put the Qt generated files into their own group for IDEs
@@ -1,2 +1,6 @@
QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${${PLUGIN_NAME}_SOURCE_DIR}/Resources/${PLUGIN_NAME}.qrc" )
cmp_IDE_SOURCE_PROPERTIES( "Generated/Qt_Qrc" "${${PLUGIN_NAME}_Generated_RC_SRCS}" "" "0")
foreach(h ${${PLUGIN_NAME}_Generated_RC_SRCS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
@@ -83,8 +83,13 @@ cmp_IDE_GENERATED_PROPERTIES("FilterParameterWidgets/UI_Files" "${${PLUGIN_NAME}
# QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${DREAM3DProj_SOURCE_DIR}/Documentation/Filters/Generated_FilterDocs.qrc" )
# --------------------------------------------------------------------
# Continue on with our Qt4 section
# Wrap UI files so they are AUTO UIC'ed
QT5_WRAP_UI( ${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS ${${PLUGIN_NAME}_ParameterWidgets_UIS} )
foreach(h ${${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
# --------------------------------------------------------------------
#-- Put the Qt generated files into their own group for IDEs
@@ -1,2 +1,5 @@
QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${${PLUGIN_NAME}_SOURCE_DIR}/Resources/${PLUGIN_NAME}.qrc" )
cmp_IDE_SOURCE_PROPERTIES( "Generated/Qt_Qrc" "${${PLUGIN_NAME}_Generated_RC_SRCS}" "" "0")
cmp_IDE_SOURCE_PROPERTIES( "Generated/Qt_Qrc" "${${PLUGIN_NAME}_Generated_RC_SRCS}" "" "0")
foreach(h ${${PLUGIN_NAME}_Generated_RC_SRCS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
@@ -150,6 +150,10 @@ set_source_files_properties( ${${PLUGIN_NAME}_Widgets_Generated_MOC_SRCS} PROPER
# --------------------------------------------------------------------
# -- Run UIC on the necessary files
QT5_WRAP_UI( ${PLUGIN_NAME}_Widgets_Generated_UI_HDRS ${${PLUGIN_NAME}_Widgets_UIS} )
foreach(h ${${PLUGIN_NAME}_Widgets_Generated_UI_HDRS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
# --------------------------------------------------------------------
#-- Put the Qt generated files into their own group for IDEs
@@ -80,8 +80,13 @@ set_source_files_properties( ${${PLUGIN_NAME}_ParameterWidgets_Generated_MOC_SRC
# QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${DREAM3DProj_SOURCE_DIR}/Documentation/Filters/Generated_FilterDocs.qrc" )
# --------------------------------------------------------------------
# Continue on with our Qt4 section
# Wrap UI files so they are AUTO UIC'ed
QT5_WRAP_UI( ${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS ${${PLUGIN_NAME}_ParameterWidgets_UIS} )
foreach(h ${${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
# --------------------------------------------------------------------
#-- Put the Qt generated files into their own group for IDEs
@@ -1,2 +1,6 @@
QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${${PLUGIN_NAME}_SOURCE_DIR}/Resources/${PLUGIN_NAME}.qrc" )
cmp_IDE_SOURCE_PROPERTIES( "Generated/Qt_Qrc" "${${PLUGIN_NAME}_Generated_RC_SRCS}" "" "0")
foreach(h ${${PLUGIN_NAME}_Generated_RC_SRCS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
@@ -79,8 +79,13 @@ cmp_IDE_GENERATED_PROPERTIES("FilterParameterWidgets/UI_Files" "${${PLUGIN_NAME}
# QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${DREAM3DProj_SOURCE_DIR}/Documentation/Filters/Generated_FilterDocs.qrc" )
# --------------------------------------------------------------------
# Continue on with our Qt4 section
# Wrap UI files so they are AUTO UIC'ed
QT5_WRAP_UI( ${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS ${${PLUGIN_NAME}_ParameterWidgets_UIS} )
foreach(h ${${PLUGIN_NAME}_ParameterWidgets_Generated_UI_HDRS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
# --------------------------------------------------------------------
#-- Put the Qt generated files into their own group for IDEs
@@ -1,2 +1,6 @@
QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${${PLUGIN_NAME}_SOURCE_DIR}/Resources/${PLUGIN_NAME}.qrc" )
cmp_IDE_SOURCE_PROPERTIES( "Generated/Qt_Qrc" "${${PLUGIN_NAME}_Generated_RC_SRCS}" "" "0")
foreach(h ${${PLUGIN_NAME}_Generated_RC_SRCS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
@@ -51,8 +51,12 @@ set_source_files_properties( ${${PLUGIN_NAME}_Widgets_Generated_MOC_SRCS} PROPER
# QT5_ADD_RESOURCES( ${PLUGIN_NAME}_Generated_RC_SRCS "${DREAM3DProj_SOURCE_DIR}/Documentation/Filters/Generated_FilterDocs.qrc" )
# --------------------------------------------------------------------
# Continue on with our Qt4 section
# Wrap UI files so they are AUTO UIC'ed
QT5_WRAP_UI( ${PLUGIN_NAME}_Widgets_Generated_UI_HDRS ${${PLUGIN_NAME}_Widgets_UIS} )
foreach(h ${${PLUGIN_NAME}_Widgets_Generated_UI_HDRS})
set_property(SOURCE ${h} PROPERTY SKIP_AUTOMOC ON)
endforeach()
# --------------------------------------------------------------------
#-- Put the Qt generated files into their own group for IDEs

0 comments on commit 5b1523d

Please sign in to comment.