From cd1db241ad15ea61f3e63547d1178476e1b1a0f4 Mon Sep 17 00:00:00 2001 From: Torfinn Berset Date: Thu, 31 Jan 2019 13:50:14 +0100 Subject: First version of Conan recipe --- CMakeLists.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..5b98934 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,16 @@ +cmake_minimum_required(VERSION 2.8.12) + +project(tinyaes C ASM) + +add_library(tiny-aes + aes.c + ) + +target_compile_definitions(tiny-aes PRIVATE + -DAES128=1 + -DCBC=1 + -DECB=1 + -DCTR=1 + ) + +target_include_directories(tiny-aes PRIVATE tiny-AES-c/) -- cgit v1.2.3