aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAge
* Enable offline test on all instancesSzczepan Zalega2017-10-07
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Add C++ offline tests and set them defaultSzczepan Zalega2017-10-07
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Fix install commandSzczepan Zalega2017-10-07
| | | | | | | | | Install binaries Copy all headers to own directory Closes #70 Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Build shared library by defaultSzczepan Zalega2017-10-07
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Set SONAME and use semantic versioningSzczepan Zalega2017-10-07
| | | | | | Closes #69 Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* build: use GNUInstallDirsIgor Gnatenko2017-10-07
| | | | | | | This simplifies package maintainers life a lot so they don't have to patch buildsystem at all. It just works. Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
* Adjust code to make compilation under MSVC 2017Szczepan Zalega2017-06-28
|
* Add C++ tests for some current issuesSzczepan Zalega2017-06-27
| | | | | | | | Issues: https://github.com/Nitrokey/nitrokey-storage-firmware/issues/36 https://github.com/Nitrokey/nitrokey-storage-firmware/issues/31 Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Do not abort compilation at all on OSXSzczepan Zalega2017-04-04
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Do not abort compilation on warnings in hid.c on OSXSzczepan Zalega2017-04-03
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Do not fail compilation on testsSzczepan Zalega2017-03-31
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Do not check for warnings on 3rd-party code - hidapiSzczepan Zalega2017-03-31
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Show warnings during the compilation and treat warnings as errorSzczepan Zalega2017-03-31
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Use proper frameworks with cmake and OSXSzczepan Zalega2017-03-20
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Do not link hidapi under OSXSzczepan Zalega2017-03-14
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Add tested Travis build configuration. Set proper hidapi url.Szczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Count lifetime instances of device communication exceptionSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Comment: use clang with TSANSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Build debug-log-free library for increased securitySzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Compiles on MXE, but not working on WindowsSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Adjust for compilation on Visual Studio 2017Szczepan Zalega2017-03-11
| | | | Building works however tests are not. Possibly linking with original hidapi solution would work.
* Test compilation under windowsSzczepan Zalega2017-03-11
|
* For Clang use default compiler nameSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Do not let to enable both ASAN and TSANSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Support TSANSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Allow user to build only one version (static/dynamic) of the lib at onceSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Fix project versionSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Compile both dynamic and static library versionsSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Use CPack to generate packagesSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Build Release with debug info when none build type selectedSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Support ASAN and Clang optionallySzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Remove GCC specific settings. Make tests compilation optional.Szczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Use CMake instead of MakeSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Fix for auth issue in NK ProSzczepan Zalega2016-11-26
| | | | | | for commands EraseSlot, WriteToSlot, GetCode + tests Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Handle busy_progressbar device statusSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* C++ tests for Storage commandsSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Test C API in C++ (Catch)Szczepan Zalega2016-10-19
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* CMake: Set clang as compiler and set linking flagsSzczepan Zalega2016-10-19
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Merged library exceptions declarationv1.0Szczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Return error on invalid slotSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Return error for too long stringSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Handling device errors through exceptionsSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Initial version of C/Python bindingsSzczepan Zalega2016-08-01
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>