cmake: Rename project to “libsecp256k1” #1229

pull hebasto wants to merge 1 commits into bitcoin-core:master from hebasto:230308-cmake changing 3 files +18 −18
  1. hebasto commented at 9:22 pm on March 8, 2023: member
    Was discussed today on IRC.
  2. cmake: Rename project to "libsecp256k1" 8be82d4362
  3. in examples/CMakeLists.txt:12 in 8be82d4362
     8@@ -9,9 +9,9 @@ target_link_libraries(example INTERFACE
     9   $<$<PLATFORM_ID:Windows>:bcrypt>
    10 )
    11 if(SECP256K1_BUILD_SHARED)
    12-  target_link_libraries(example INTERFACE ${PROJECT_NAME})
    13+  target_link_libraries(example INTERFACE secp256k1)
    


    sipa commented at 9:31 pm on March 8, 2023:
    I’d change these too, to libsecp256k1 and libsecp256k1_static.

    real-or-random commented at 9:35 pm on March 8, 2023:

    I’d change these too, to libsecp256k1 and libsecp256k1_static.

    Does this actually work?


    real-or-random commented at 9:48 pm on March 8, 2023:
    No, we need to keep it like this. We could improve this after the release by defining a variable by taking a substring of PROJECT_NAME.
  4. real-or-random approved
  5. real-or-random commented at 9:47 pm on March 8, 2023: contributor
    ACK 8be82d43628138553bc126a76d52edf523031792
  6. sipa commented at 9:56 pm on March 8, 2023: contributor
    ACK 8be82d43628138553bc126a76d52edf523031792
  7. sipa merged this on Mar 8, 2023
  8. sipa closed this on Mar 8, 2023

  9. hebasto deleted the branch on Mar 8, 2023
  10. sipa referenced this in commit 763079a3f1 on Mar 8, 2023
  11. real-or-random cross-referenced this on Mar 8, 2023 from issue build: Meta-issue for follow-ups to initial CMake merge (#1113) by real-or-random
  12. real-or-random cross-referenced this on Mar 10, 2023 from issue build: Meta-issue for follow-ups to initial CMake merge (#1113) by hebasto
  13. div72 referenced this in commit 945b094575 on Mar 14, 2023
  14. vmta referenced this in commit e1120c94a1 on Jun 4, 2023
  15. vmta referenced this in commit 8f03457eed on Jul 1, 2023
  16. jonasnick cross-referenced this on Jul 21, 2023 from issue Upstream PRs 1113, 1225, 1227, 1229, 1223 by jonasnick

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-21 16:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me