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 From 139cebe407a32f5cbed3ebe409ded69e681d02d3 Mon Sep 17 00:00:00 2001 From: Torfinn Berset Date: Thu, 31 Jan 2019 14:11:26 +0100 Subject: Add Conan package options --- CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b98934..3c6081f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,11 +6,4 @@ 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