cmake script builds and installs a different version than the makefile #506
No reviewers
Labels
No labels
announcement
bug
build
CI
dependencies
documentation
duplicate
enhancement
experience feedback
feature request
github_actions
help wanted
install
invalid
Long-term
optimization
portability
question
target-specific
test issue
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-Cyan4973/xxHash!506
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-cmake"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From a packaging point of view, it would be great to achieve parity between the binaries and install created by the Makefile and cmake. 3 things stand in the way
CFLAGSandCPPFLAGSwhich is dubious, given that we only build a C lib{xxh128, xxh64, xxh32} -> xxhsumare being created by the Makefile, cmake only installsxxhsumThis PR solves the first 3 problems. Not sure about 4?
CPPFLAGSstands for "C PreProcessor Flags".So yes, it's needed.
Adding symlinks is a secondary topic,
it is not required for this PR.
minor :
it seems a formatting test detected a few trailing white spaces in updated
CMakeLists.txtthis is embarrassing. so many years of programming and I assumed it meant "C++"...
hopefully I catched all whitespaces
looks good @Cyan4973 👍
oops sorry, that was unintended
@Cyan4973 thanks for approving the changes. Would you also merge? or is there another policy?
no, just waiting a bit, in case external comments show up.
Should be fine now.