bladeRF/host/cmake/modules
Rey Tucker 6e78b7b952
host: define SHORT_FILE_ during cmake builds (#61)
* host: cmake: add function to set SHORT_FILE_ def

The function, based heavily off of a Stack Overflow example :), goes
through all of the source files defined for a given target and sets the
SHORT_FILE_ definition for them.

This results in debug log messages relative to the top directory of the
project, i.e.:

[DEBUG @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:930]
_set_tx_mute: muting TX1 (cached: 10000)

* host: libbladeRF: enable Shortfile for libbladerf_shared
2018-06-01 15:52:32 -04:00
..
FindCyAPI.cmake Merge pull request #525 from Nuand/rtucker-issue-511 2017-08-07 18:18:17 -04:00
FindLibPThreadsWin32.cmake host/CMakeLists: dequote variables in ifs (CMP0054) #511 2017-08-07 12:27:21 -04:00
FindLibTecla.cmake host: cmake: make the search for libtecla quiet 2018-01-15 19:13:58 -05:00
FindLibUSB.cmake cmake: Updated FindLibUSB path default for v1.0.20 2016-06-27 15:17:35 -04:00
Shortfile.cmake host: define SHORT_FILE_ during cmake builds (#61) 2018-06-01 15:52:32 -04:00
Version.cmake host: cmake: add missing quotes in STREQUAL compare 2018-03-26 15:32:43 -04:00