Build instructions
Visual Studio
Build the project invsprojects/Cryptolens with some platform and configuration (e.g. Win32 and Debug). This will create the Cryptolens.lib file in vsprojects/Cryptolens/Cryptolens/$(Configuration) or vsprojects/Cryptolens/Cryptolens/x64/$(Configuration) for platforms Win32 and x64, respectively.
The Cryptolens.lib file can then be used in another project, together with the include files in the include/ directory. The examples/CryptolensExamples project is setup to build the example file examples/example_activate_external.c in this way.
Thus, to build the example project, first build the library in vsprojects/Cryptolens and then build the example project in examples/CryptolensExamples.
CMake
There is aCMakeLists.txt in the root of the repository which can be used to build the library. The examples can be built using the CMakeLists.txt in examples/.
The following commands, when ran from the root of the repository, builds the examples: