diff options
-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 |