diff options
author | Torfinn Berset <torfinn@bloom-life.com> | 2019-01-31 14:19:48 +0100 |
---|---|---|
committer | Torfinn Berset <torfinn@bloom-life.com> | 2019-01-31 14:19:48 +0100 |
commit | 7468e2ec1240b424ee604cf980b9bca885c62acd (patch) | |
tree | 396788f467eca3166ba444db294812d7a76ec5c7 | |
parent | Remove Package author, and add Unlicense (diff) | |
download | tiny-AES-c-7468e2ec1240b424ee604cf980b9bca885c62acd.tar tiny-AES-c-7468e2ec1240b424ee604cf980b9bca885c62acd.tar.gz tiny-AES-c-7468e2ec1240b424ee604cf980b9bca885c62acd.tar.bz2 tiny-AES-c-7468e2ec1240b424ee604cf980b9bca885c62acd.tar.lz tiny-AES-c-7468e2ec1240b424ee604cf980b9bca885c62acd.tar.xz tiny-AES-c-7468e2ec1240b424ee604cf980b9bca885c62acd.tar.zst tiny-AES-c-7468e2ec1240b424ee604cf980b9bca885c62acd.zip |
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | test.cpp | 2 | ||||
-rw-r--r-- | test_package/CMakeLists.txt | 5 |
3 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,4 @@ /*.o /test.elf /test.map +test_package/build diff --git a/test.cpp b/test.cpp new file mode 100644 index 0000000..b7c8304 --- /dev/null +++ b/test.cpp @@ -0,0 +1,2 @@ +#include "aes.hpp" +#include "test.c" diff --git a/test_package/CMakeLists.txt b/test_package/CMakeLists.txt index 89cddf4..2e4b243 100644 --- a/test_package/CMakeLists.txt +++ b/test_package/CMakeLists.txt @@ -1,8 +1,11 @@ cmake_minimum_required(VERSION 2.8.12) -project(TinyAesPackageTest C) +project(TinyAesPackageTest C CXX) include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) conan_basic_setup() add_executable(example ../test.c) +add_executable(example_cpp ../test.cpp) + target_link_libraries(example ${CONAN_LIBS}) +target_link_libraries(example_cpp ${CONAN_LIBS})
\ No newline at end of file |