Sources/
-- C source filesSources/Utils/
-- Utilities that are specific for the C implementationSources/Tests/
-- Unit testsSources/Build/
-- Object files generated after compilationSources/Extraction/
,General/
,Matching/
,Templates/
, ... -- C implementation of the library. The directory structure and naming are analogous to the original C# code.TestData/
input data and expected output for unit tests
Compilation can be done using GCC and GNU make.
$ cd Sources
$ make cafis
Object files are created in the Build/
directory. The library sources are compiled only but not linked.
- Not tested but should work out of the box using Cygwin.
- You will have to add additional include directories to
\Sources
&\Sources\Utils\Unity
- You may have to comment out the contents of file:
\Sources\Utils\Misc\binarise.c
$ cd Sources
$ make utest
The result is an executable called all_tests
in the Build/
directory.
$ cd TestData
$ ../Sources/Build/all_tests