Browse Source

CMake: Deprecate the FOO_composite pseudotarget -- the hack that needed it is no longer around.

Sam Edwards 11 years ago
parent
commit
1421627dd9
1 changed files with 0 additions and 6 deletions
  1. 0 6
      cmake/macros/CompositeSources.cmake

+ 0 - 6
cmake/macros/CompositeSources.cmake

@@ -93,12 +93,6 @@ function(composite_sources target sources_var)
     endif()
   endwhile()
 
-  # This exists for Interrogate's benefit, which needs the composite files to
-  # exist before it can run. Unfortunately, CMake does not expose the
-  # add_custom_command outputs as targets outside of the directory, so we have
-  # to create our own pseudotarget that gets exposed.
-  add_custom_target(${target}_composite DEPENDS ${composite_files})
-
   #set_source_files_properties(${composite_files} PROPERTIES GENERATED YES)
 
   # The new files are added to the existing files, which means the old files