* Add missing GTest linking
* Add unit testing switch
* Rename UNIT_TESTING to be fff-specific
* Add fff.h generation toggle
* Use options instead of variables for disabling build elements
* Add interface library for when the header is not regenerated
* Update build script and README
Replace makefiles with CMakeLists.txt. This will allow for IDE and
platform agnostic builds of FFF.
Update the CI for FFF to use github workflows which don't depend on MS VC.
The workflow added will verify the pull requests sent to master buy
running 'buildandtest' which mirrors the developer workflow.
Signed-off-by: Yuval Peress <peress@google.com>
commit e5a5749971eb9274679699020a54c91d4053ed79
Author: James Fraser <wulfgar.pro@gmail.com>
Date: Sun Feb 3 19:57:31 2019 +1100
PR #47: Minor review fixes to tests files.
commit e9f11b9ec8de8f8d1f0de7b6959c575e15894526
Author: James Fraser <wulfgar.pro@gmail.com>
Date: Sun Feb 3 19:57:04 2019 +1100
PR #47: Minor review fixes.
commit 0a7fbeceec
Author: Pauli Salmenrinne <pauli.salmenrinne@pexraytech.com>
Date: Tue Jan 22 15:11:10 2019 +0200
Add example for the weak linking
commit 647737304d
Author: susundberg <susundberg@gmail.com>
Date: Wed Mar 21 13:14:05 2018 +0200
Add "FFF_FUNCTION_ATTRIBUTES" definition that can be used to declare attributes for functions. More specifically, allow __weak__ attribute.
Assuming your C interfaces are appropriately wrapped for C++, it is
unnecessary to force the fakes to be declared extern "C", and doing so
causes any functions declared with C++ linkage to be impossible to fake
due to the conflicting linkage declarations.
Added the use of the $(MAKE) variable to support 'gnumake'.
Fixed an issue with some make compile rule and the -o option.
All targets are removed from the build directory when running 'make clean'.