cmake get_source_file_property examples

Signatures

get_source_file_property(<variable> <file>
  [DIRECTORY <dir> | TARGET_DIRECTORY <target>]
<property>)

Examples

philips-software/amp-embedded-infra-lib cmake/emil_clang_tools.cmake :44

get_source_file_property(generated ${source} TARGET_DIRECTORY ${target} GENERATED)

facebook/bpfilter tests/unit/CMakeLists.txt :43

get_source_file_property(
            IS_HEADER_ONLY ${_bf_src}
            TARGET_DIRECTORY bpfilter
            HEADER_FILE_ONLY
        )