message: mstarch: removing non-target based cmake dictionaries
diff: @@ -38,63 +38,6 @@ function(get_module_name DIRECTORY_PATH)
  set(MODULE_NAME ${TEMP_MODULE_NAME} PARENT_SCOPE)
  endfunction(get_module_name)
  -####
  -# Function `setup_module_dicts`:
  -#
  -# Creates a dictionary target for the module, that is then added to the "dict" and "module"
  -# targets.
  -#
  -# - **MOD_NAME:** name of module being processed
  -# - **AI_XML:** AI_XML that is generating dictionaries
  -# - **DICT_INPUTS:** inputs from auto-coder, used to trigger dictionary generation
  -####
  -function(setup_module_dicts MOD_NAME AI_XML DICT_INPUTS)
  - # UTs don't supply directories
  - if (UT_BUILD)
  - return()
  - endif()
  - set(AI_DICT_NAME "${AI_XML}_dict")
  - set(MOD_DICT_NAME "${MOD_NAME}_dict")
  - # Add the dictionary target for this module, if it doesn't already exist
  - if (NOT TARGET ${MOD_DICT_NAME})
  - add_custom_target(${MOD_DICT_NAME})
  - if (CMAKE_DEBUG_OUTPUT)
  - message(STATUS "\tAdding Dict Target: ${MOD_NAME}_dict")
  - endif()
  - endif()
  - add_custom_target(${AI_DICT_NAME} DEPENDS ${DICT_INPUTS})
  - # Add dependencies upstream
  - add_dependencies(${AI_DICT_NAME} ${CODEGEN_TARGET})
  - add_dependencies(${MOD_DICT_NAME} ${AI_DICT_NAME})
  -endfunction(setup_module_dicts)
  -
  -####
  -# Function `add_dict_deps`:
  -#
  -# Used to track dictionary dependencies, in order to ensure that the fewest number of dictionary
  -# targets are used.
  -#
  -# - **MODULE_NAME:** module receiving a dict dependency
  -# - **DEP_MODULE_NAME:** name of the module whose dictionary will be added
  -####
  -function(add_dict_deps MODULE_NAME DEP_MODULE_NAME)
  - # UTs don't do dictionaries
  - if (UT_BUILD)
  - return()
  - endif()
  - # Skip if there is no dict module to be added
  - if (TARGET "${DEP_MODULE_NAME}_DICT")
  - # We have sub-dictionaries, create a roll-up target
  - if (NOT TARGET "${MODULE_NAME}_DICT")
  - if (CMAKE_DEBUG_OUTPUT)
  - message(STATUS "\tAdding Faux-Dict Target: ${MODULE_NAME}_DICT")
  - endif()
  - add_custom_target("${MODULE_NAME}_DICT")
  - endif()
  - add_dependencies("${MODULE_NAME}_DICT" "${DEP_MODULE_NAME}_DICT")
  - endif()
  -endfunction(add_dict_deps)
  -
  ####
  # Function `add_generated_sources`:
  #
  