Commit 9d5d5c46 authored by emerit's avatar emerit
Browse files

make sure exe are copied to root and print command

parent a94ea3b8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -167,6 +167,8 @@ endif()
add_executable(IVAS_rend apps/renderer.c)
target_link_libraries(IVAS_rend lib_rend lib_util)

set (COPY_EXECUTABLES_TO_ROOT TRUE)

if(COPY_EXECUTABLES_TO_ROOT)
  # Optionally copy executables to root directory after build
  add_custom_command(TARGET IVAS_cod POST_BUILD VERBATIM COMMAND "${CMAKE_COMMAND}" -E copy "$<TARGET_FILE:IVAS_cod>" "${CMAKE_CURRENT_SOURCE_DIR}/")
+1 −0
Original line number Diff line number Diff line
@@ -161,6 +161,7 @@ def run_renderer(
        cmd.extend(["-tf", str(trj_file)])

    try:
        print (' '.join(cmd))
        sp.run(cmd, check=True, capture_output=True, text=True)
    except sp.CalledProcessError as e:
        pytest.fail(