ogl_beamforming

Ultrasound Beamforming Implemented with OpenGL
git clone anongit@rnpnr.xyz:ogl_beamforming.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

Commit: 0e5c533b5dedfafec57b5f8016e1b98abaa4ce01
Parent: 8cdc4169944312f676e56d3f6333bfd9bf4d4f3c
Author: Randy Palamar
Date:   Fri, 20 Jun 2025 14:10:37 -0600

build: ensure cc_single_file is terminated, skip unsupported msvc flag

Diffstat:
Mbuild.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/build.c b/build.c @@ -557,6 +557,7 @@ cc_single_file(Arena a, CommandList cc, b32 exe, char *src, char *dest, char **t cmd_append_count(&a, &cc, exe? executable : object, exe? countof(executable) : countof(object)); cmd_append_count(&a, &cc, tail, tail_count); + cmd_append(&a, &cc, (void *)0); b32 result = run_synchronous(a, &cc); if (!result) build_log_failure("%s", dest); return result; @@ -678,7 +679,8 @@ build_tests(Arena arena, CommandList cc) X("throughput", LINK_LIB("zstd"), W32_DECL(LINK_LIB("Synchronization"))) os_make_directory(OUTPUT("tests")); - cmd_append(&arena, &cc, "-Wno-unused-function", "-Ihelpers"); + if (!is_msvc) cmd_append(&arena, &cc, "-Wno-unused-function"); + cmd_append(&arena, &cc, "-I.", "-Ihelpers"); b32 result = 1; #define X(prog, ...) \