aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils/cxx
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-06-11 17:31:30 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-06-11 17:31:30 +0300
commitc7365d80063dc7270ea5685ae65094a5af62acaf (patch)
treedf6e0126dbd2fa7efd46d4a753cd78ecabe04711 /utils/cxx
parenttest: README update (diff)
downloadaes-tools-c7365d80063dc7270ea5685ae65094a5af62acaf.tar.gz
aes-tools-c7365d80063dc7270ea5685ae65094a5af62acaf.zip
add utils/cxx
Diffstat (limited to '')
-rw-r--r--utils/cxx/CMakeLists.txt3
-rw-r--r--utils/cxx/include/aesnixx/all.hpp11
-rw-r--r--utils/cxx/include/aesnixx/error.hpp (renamed from utils/common.hpp)0
3 files changed, 14 insertions, 0 deletions
diff --git a/utils/cxx/CMakeLists.txt b/utils/cxx/CMakeLists.txt
new file mode 100644
index 0000000..14b7700
--- /dev/null
+++ b/utils/cxx/CMakeLists.txt
@@ -0,0 +1,3 @@
+add_library(libaesnixx INTERFACE)
+target_include_directories(libaesnixx INTERFACE include/)
+target_link_libraries(libaesnixx INTERFACE libaesni)
diff --git a/utils/cxx/include/aesnixx/all.hpp b/utils/cxx/include/aesnixx/all.hpp
new file mode 100644
index 0000000..cf00535
--- /dev/null
+++ b/utils/cxx/include/aesnixx/all.hpp
@@ -0,0 +1,11 @@
+/**
+ * \file
+ * \author Egor Tensin <Egor.Tensin@gmail.com>
+ * \date 2015
+ * \copyright This file is licensed under the terms of the MIT License.
+ * See LICENSE.txt for details.
+ */
+
+#pragma once
+
+#include "error.hpp"
diff --git a/utils/common.hpp b/utils/cxx/include/aesnixx/error.hpp
index af61a32..af61a32 100644
--- a/utils/common.hpp
+++ b/utils/cxx/include/aesnixx/error.hpp