Skip to content
Snippets Groups Projects
  • Nick Terrell's avatar
    [build] Add support for ASM files in Make + CMake · 8bf699aa
    Nick Terrell authored
    * Extract out common portion of `lib/Makefile` into `lib/libzstd.mk`.
      Most relevantly, the way we find library files.
    * Use `lib/libzstd.mk` in the other Makefiles instead of repeating the
      same code.
    * Add a test `tests/test-variants.sh` that checks that the builds of
      `make -C programs allVariants` are correct, and run it in Actions.
    * Adds support for ASM files in the CMake build.
    
    The Meson build is not updated because it lists every file in zstd,
    and supports ASM off the bat, so the Huffman ASM commit will just add
    the ASM file to the list.
    
    The Visual Studios build is not updated because I'm not adding ASM
    support to Visual Studios yet.
    8bf699aa