mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-08-26 13:01:20 +00:00
cmake: GNU GCC: Set base compile options target by target
Signed-off-by: Ronald Cron <[email protected]>
This commit is contained in:
@@ -11,6 +11,7 @@ add_dependencies(${programs_target} ${executables})
|
||||
|
||||
foreach(exe IN LISTS executables)
|
||||
add_executable(${exe} ${exe}.c $<TARGET_OBJECTS:mbedtls_test>)
|
||||
set_base_compile_options(${exe})
|
||||
target_link_libraries(${exe} ${libs} ${CMAKE_THREAD_LIBS_INIT})
|
||||
target_include_directories(${exe} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../tests/include)
|
||||
endforeach()
|
||||
|
||||
Reference in New Issue
Block a user