mirror of
https://github.com/kokke/tiny-AES-c
synced 2024-11-24 22:39:54 +03:00
Also try to compile C++ version of test
This commit is contained in:
parent
ba0f2fd14d
commit
7468e2ec12
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
/*.o
|
/*.o
|
||||||
/test.elf
|
/test.elf
|
||||||
/test.map
|
/test.map
|
||||||
|
test_package/build
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
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})
|
Loading…
Reference in New Issue
Block a user