1
0
mirror of https://github.com/meekrosoft/fff synced 2026-01-23 00:15:59 +01:00

22 Commits

Author SHA1 Message Date
Jakub Dudarewicz
5111c61e1e Add GTest with FetchContent (#120)
* 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
2023-05-22 19:31:38 +10:00
Yuval Peress
2eb067e5a1 Migrate build to CMake and standard github workflows
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>
2022-08-05 11:48:54 -06:00
James Fraser
0b9e9f5064 Squashed commit of the following:
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.
2019-02-03 20:23:52 +11:00
Michael Hansen
b8f9e65387 Remove extern "C" from fake declarations.
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.
2018-05-09 13:26:44 -07:00
Mike Long
7578fc4fca Delete old unused header file 2014-03-07 08:52:04 +08:00
Mike Long
cbe9b8b7fb Add license file and make gtest compile with own TR1 tuple library 2014-01-09 22:04:03 +08:00
Micha Hoiting
f0ea84ce35 Improve makefiles
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'.
2012-11-07 22:32:13 +01:00
Mike Long
7c00d3a53d Cleanup UI example to non-argument length specific syntax 2012-09-08 10:33:57 +08:00
Mike Long
e31153b6fb Make the driver examples capable of compiling together 2012-09-08 10:32:23 +08:00
Mike Long
be1c831d25 Added driver testing example and cleanup the buildandtest script 2012-09-06 07:45:05 +08:00
Mike Long
8acac8ef44 Moved embedded user interface example into own directory 2012-06-27 07:49:41 +08:00
Mike Long
1609a5199e Update to counting fake generation macro 2012-06-26 21:07:20 +08:00
Mike Long
522a972d2e Update to counting fake generation macro 2012-06-26 21:07:10 +08:00
Mike Long
3d6cfd218b Moved global variables into struct so they don't pollute the global namespace 2012-05-29 07:46:21 +08:00
Mike Long
5d89d72d16 Add global definitions and full reset calls 2012-05-24 15:07:32 +08:00
Mike Long
4438bf2b71 Add fff global definitions 2012-05-24 14:58:07 +08:00
Mike Long
c10aca2b6b Update the cpp example to use the new fff header 2012-04-26 17:36:04 +01:00
Mike Long
1fe87ba155 Update the examples to use the new fff header 2012-04-26 16:54:56 +01:00
Mike Long
3c8beeaa58 Add googletest library and update makefiles 2012-04-21 07:45:37 +01:00
Mike Long
19f0c41e00 Cleaned up example 2011-02-21 20:43:18 +01:00
Mike Long
7b0a149cfc Better examples with better code 2011-01-01 21:27:48 +01:00
Mike Long
71c66bfa3a Removed src base directory 2011-01-01 20:13:33 +01:00