Browse Source

When interrogating under CMake, record INTERROGATE_DATABASE as a target property.

Sam Edwards 12 years ago
parent
commit
c9a4228811
1 changed files with 2 additions and 1 deletions
  1. 2 1
      cmake/macros/Interrogate.cmake

+ 2 - 1
cmake/macros/Interrogate.cmake

@@ -126,8 +126,9 @@ function(target_interrogate target)
       endif()
       endif()
     endforeach(source)
     endforeach(source)
 
 
-    # Now record INTERROGATE_SOURCES to the target:
+    # Now record INTERROGATE_SOURCES and INTERROGATE_DATABASE to the target:
     set_target_properties("${target}" PROPERTIES INTERROGATE_SOURCES ${igate_sources})
     set_target_properties("${target}" PROPERTIES INTERROGATE_SOURCES ${igate_sources})
+    set_target_properties("${target}" PROPERTIES INTERROGATE_DATABASE "${target}.in")
 
 
 
 
     # HACK: This is REALLY ugly, but we can't add the _igate.cxx to the existing
     # HACK: This is REALLY ugly, but we can't add the _igate.cxx to the existing