Christian Blichmann 24c3e34344 Implement a GetDataDependencyFilepath() for CMake (non-Bazel really).
This code assumes, like Bazel's runfiles that the data dependency to access
exists in the same sub-tree as the binary:

WORKSPACE
+- sandboxed_api/sandbox2/examples/crc4
                                   +- crc4bin
                                   +- crc4sandbox

The code requires the directory structure to exist, so that in the example
above, crc4sandbox can use
  GetDataDependencyFilepath("sandboxed_api/sandbox2/examples/crc4/crc4bin")

regardless of how it was called.

PiperOrigin-RevId: 251834480
Change-Id: I6470b62ce9b403297116481a0c17c070992f2e81
2019-06-06 05:44:32 -07:00
..
2019-03-18 19:00:48 +01:00
2019-03-19 03:41:32 -07:00
2019-03-19 03:41:32 -07:00
2019-06-05 00:26:14 -07:00
2019-03-18 19:00:48 +01:00
2019-03-18 19:00:48 +01:00
2019-06-05 07:24:16 -07:00
2019-04-12 07:54:31 -07:00
2019-03-18 19:00:48 +01:00
2019-03-18 19:00:48 +01:00
2019-03-18 19:00:48 +01:00
2019-03-18 19:00:48 +01:00
2019-03-19 03:41:32 -07:00
2019-06-05 00:26:14 -07:00
2019-03-18 19:00:48 +01:00
2019-03-18 19:00:48 +01:00
2019-03-18 19:00:48 +01:00
2019-04-23 10:30:45 -07:00
2019-04-23 10:30:45 -07:00