Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for CMake Presets #348

Merged
merged 75 commits into from
Jun 15, 2024

Commits on Apr 20, 2024

  1. Configuration menu
    Copy the full SHA
    bd52675 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ebc6ed5 View commit details
    Browse the repository at this point in the history
  3. ignore user presets

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    2c0c8f6 View commit details
    Browse the repository at this point in the history
  4. add configure to build preset

    windows ran in debug, which means the multi config needs more help
    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    0e9ec1f View commit details
    Browse the repository at this point in the history
  5. coverage preset

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    5cb12cf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4906953 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5a0f434 View commit details
    Browse the repository at this point in the history
  8. move cmake set vars to right section

    https://learn.microsoft.com/en-us/cpp/build/cmake-presets-vs?view=msvc-170
    
    "You can set C and C++ compilers by using cacheVariables.CMAKE_C_COMPILER and cacheVariables.CMAKE_CXX_COMPILER in a Configure Preset. It's equivalent to passing -D CMAKE_C_COMPILER=<value> and -D CMAKE_CXX_COMPILER=<value> to CMake from the command line."
    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    d2b0110 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    feaad45 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    cc84b4d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    03e7c9f View commit details
    Browse the repository at this point in the history
  12. add asan to presets

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    c902f89 View commit details
    Browse the repository at this point in the history
  13. fix copy paste

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    5e5557a View commit details
    Browse the repository at this point in the history
  14. add asan build preset

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    2e60684 View commit details
    Browse the repository at this point in the history
  15. move ubsan to presets

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    95d0f99 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    8f5f003 View commit details
    Browse the repository at this point in the history
  17. touch ups

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    ca51157 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    e80e654 View commit details
    Browse the repository at this point in the history
  19. fix order for args

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    3f8e5b3 View commit details
    Browse the repository at this point in the history
  20. remove action wrapper

    more quotes for inputs
    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    49fd744 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    8368147 View commit details
    Browse the repository at this point in the history
  22. fix casing

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    bc0de82 View commit details
    Browse the repository at this point in the history
  23. format changes

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    622a254 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    c6d5569 View commit details
    Browse the repository at this point in the history
  25. last try

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    03d4a9d View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    f5f5d4d View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    9f95f73 View commit details
    Browse the repository at this point in the history
  28. drop ci prefix

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    ba8e485 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    9d5943a View commit details
    Browse the repository at this point in the history
  30. install with presets

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    ab5397b View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    61c642c View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    f3f7c59 View commit details
    Browse the repository at this point in the history
  33. add missing build step

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    7464334 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    3b15555 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    36e3904 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    735ec33 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    011f538 View commit details
    Browse the repository at this point in the history
  38. dry up sanitizer flags

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    06892aa View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    30b1086 View commit details
    Browse the repository at this point in the history
  40. remove duplicated test

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    17e1202 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    79198e5 View commit details
    Browse the repository at this point in the history
  42. skip checking the compiler since this causes errors with the same CMa…

    …ke uses in combinations with the fuzz sanitizer flag
    
    https://github.com/prince-chrismc/jwt-cpp/actions/runs/7481024827/job/20361722539?pr=33
    
    ```
        /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x22
        CMakeFiles/cmTC_ff7c6.dir/testCCompiler.c.o: in function `main':
        testCCompiler.c:(.text.main[main]+0x0): multiple definition of `main'; /usr/lib/llvm-14/lib/clang/14.0.0/lib/linux/libclang_rt.fuzzer-x86_64.a(FuzzerMain.cpp.o):(.text.main+0x0): first defined here
        /usr/bin/ld: /usr/lib/llvm-14/lib/clang/14.0.0/lib/linux/libclang_rt.fuzzer-x86_64.a(FuzzerMain.cpp.o): in function `main':
        (.text.main+0x12): undefined reference to `LLVMFuzzerTestOneInput'
    ```
    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    a1f5bd1 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    5042c7d View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    12211c4 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    75be637 View commit details
    Browse the repository at this point in the history
  46. leave flags in cmake

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    096b682 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    0d6fc43 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    488a133 View commit details
    Browse the repository at this point in the history
  49. fix typo

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    f2f728c View commit details
    Browse the repository at this point in the history
  50. devcontainers fix, test and add wolfssl

    refactored installer to have a script that could be reused
    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    d374c3a View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    7cbea51 View commit details
    Browse the repository at this point in the history
  52. pass version to script

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    1e3ccc7 View commit details
    Browse the repository at this point in the history
  53. dont use bash syntax

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    d0e8929 View commit details
    Browse the repository at this point in the history
  54. fix typo

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    d9f4643 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    73e197d View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    37d0b89 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    6f86e37 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    87ff65c View commit details
    Browse the repository at this point in the history
  59. add a zip as well

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    94adcd9 View commit details
    Browse the repository at this point in the history
  60. back to basics

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    f155b50 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    7ba8ce4 View commit details
    Browse the repository at this point in the history
  62. update workflow name

    prince-chrismc committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    ceaa359 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Configuration menu
    Copy the full SHA
    74353ad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9eb7bf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    43cfb96 View commit details
    Browse the repository at this point in the history
  4. fix linting tests

    prince-chrismc committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    bcac723 View commit details
    Browse the repository at this point in the history
  5. bump github actions

    prince-chrismc committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    7f99bff View commit details
    Browse the repository at this point in the history
  6. bump python setup

    prince-chrismc committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    a14c6e3 View commit details
    Browse the repository at this point in the history
  7. drop dev containers

    prince-chrismc committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    547e808 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2024

  1. Configuration menu
    Copy the full SHA
    707f879 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2bd576 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2024

  1. Configuration menu
    Copy the full SHA
    60094a7 View commit details
    Browse the repository at this point in the history
  2. fix whitespace

    prince-chrismc authored Apr 28, 2024
    Configuration menu
    Copy the full SHA
    4a772ef View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Configuration menu
    Copy the full SHA
    f15edbc View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. put back versioned format

    I dont remember why, it looks like it was debugging
    prince-chrismc authored Jun 4, 2024
    Configuration menu
    Copy the full SHA
    d4f1016 View commit details
    Browse the repository at this point in the history