Skip to content

Commit fbbaa75

Browse files
committed
cmake: add install target
1 parent d15aabd commit fbbaa75

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎src/trusted/service_runtime/CMakeLists.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ if (NOT COVERAGE_ENABLED OR NOT YOKAI_TARGET_SYSTEM_WINDOWS)
374374

375375
add_executable(sel_ldr)
376376
target_link_libraries(sel_ldr ${LDR_LIBS})
377+
install(TARGETS sel_ldr DESTINATION bin)
377378

378379
if (YOKAI_TARGET_SYSTEM_MACOS)
379380
# This target exists only to check that the service_runtime code

‎src/trusted/service_runtime/linux/CMakeLists.txt‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,8 @@ add_custom_target(nacl_helper_bootstrap ALL
129129
DEPENDS nacl_bootstrap_raw
130130
BYPRODUCTS "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/nacl_helper_bootstrap"
131131
)
132+
133+
install(PROGRAMS
134+
"${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/nacl_helper_bootstrap"
135+
DESTINATION bin
136+
)

0 commit comments

Comments
 (0)