Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: features/FEATURE_CLIENT/mbed-client-mbed-tls/test/mbed-client-mbed-tls/unittest/m2mconnectionsecurity_mbedtls/CMakeLists.txt
- Revision:
- 0:6c56fb4bc5f0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/features/FEATURE_CLIENT/mbed-client-mbed-tls/test/mbed-client-mbed-tls/unittest/m2mconnectionsecurity_mbedtls/CMakeLists.txt Fri Nov 04 20:27:58 2016 +0000
@@ -0,0 +1,27 @@
+if(TARGET_LIKE_LINUX)
+include("../includes.txt")
+add_executable(m2mconnectionsecurity_mbedtls
+ "../../../../source/m2mconnectionsecurity.cpp"
+ "main.cpp"
+ "m2mconnectionsecurity_mbedtlstest.cpp"
+ "test_m2mconnectionsecurity_mbedtls.cpp"
+ "../stub/m2msecurity_stub.cpp"
+ "../stub/m2mstring_stub.cpp"
+ "../stub/m2mobject_stub.cpp"
+ "../stub/m2mbase_stub.cpp"
+ "../stub/m2mtimer_stub.cpp"
+ "../stub/mbedtls_stub.cpp"
+ "../stub/m2mconnectionhandler_stub.cpp"
+ "../stub/m2mconnectionsecuritypimpl_stub.cpp"
+)
+target_link_libraries(m2mconnectionsecurity_mbedtls
+ CppUTest
+ CppUTestExt
+)
+set_target_properties(m2mconnectionsecurity_mbedtls
+PROPERTIES COMPILE_FLAGS "${UTEST_COMPILE_FLAGS}"
+ LINK_FLAGS "${UTEST_LINK_FLAGS}")
+set(binary "m2mconnectionsecurity_mbedtls -ojunit")
+add_test(m2mconnectionsecurity_mbedtls ${binary})
+
+endif()