This file is indexed.

/usr/share/dune/cmake/scripts/BuildTests.cmake.in is in libdune-common-dev 2.4.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
3
4
5
6
7
8
MACRO(get_directory_test_target _target _dir)
  string(REPLACE "@CMAKE_BINARY_DIR@" "" _relative_dir "${_dir}")
  string(REPLACE "/" "_" ${_target} "${_relative_dir}")
ENDMACRO(get_directory_test_target _target _dir)

get_directory_test_target(_build_test_target "@CMAKE_CURRENT_BINARY_DIR@")
execute_process(COMMAND @CMAKE_COMMAND@ --build @CMAKE_BINARY_DIR@ 
  --target ${_build_test_target})