Commit 7468e2ec authored by Torfinn Berset's avatar Torfinn Berset
Browse files

Also try to compile C++ version of test

parent ba0f2fd1
/*.o /*.o
/test.elf /test.elf
/test.map /test.map
test_package/build
#include "aes.hpp"
#include "test.c"
cmake_minimum_required(VERSION 2.8.12) cmake_minimum_required(VERSION 2.8.12)
project(TinyAesPackageTest C) project(TinyAesPackageTest C CXX)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup() conan_basic_setup()
add_executable(example ../test.c) add_executable(example ../test.c)
add_executable(example_cpp ../test.cpp)
target_link_libraries(example ${CONAN_LIBS}) target_link_libraries(example ${CONAN_LIBS})
target_link_libraries(example_cpp ${CONAN_LIBS})
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment