-
Notifications
You must be signed in to change notification settings - Fork 39
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
Copy the C header file in /usr/local/include #58
Comments
Yes, absolutely |
Added in 0.13.1, check out this: https://github.com/e-dant/watcher/actions/runs/11491524051/job/31984241215#step:11:1 for a dump of the artifacts from a typical cmake build on macOS, re. homebrew. |
Also -- The headers and the shared library are available for a variety of platforms/triples in the release artifacts, in case that's easier than cmake (or meson). |
Thank you very much. I'm looking for simple instructions for end users to install the library without building useless artifacts. I used the typical cmake invocation:
This works, but a lot of files useless for production are compiled and installed, including sanitizers and snitch builds. Setting The "standard" Is there a way to build and install only production files? Could we add support for Thanks! |
Yes of course! |
How do these options look? (Example snippet w/ no sanitizers, no tests)
|
Where the full set of options is:
|
This looks good to me. What do you think about adding a Thank you very much for your work on this!! |
Well... Let me fixup some build errors first... |
I confirm that the Another related thing: is it desirable/needable to install the |
Yeah, great question, and one which I've asked myself a lot. The
Are examples of things I have running on my system. I use
You might notice a lot of "personally" or "for me" phrases up there -- that's really what I wonder about -- are these programs actually useful for other people? What do people use this project for; libraries or programs? I don't know. I started thinking about this one much more when I created examples in some of the other languages we support (Rust/Node.js/Python/C) which all do similar things. What makes one of those programs less important than the original C++ programs? Which should we prefer, if any? Your thoughts are definitely appreciated here. |
For the naming, I've been hesitant to change things in case there are people relying on them as-is. (But I think we can/should do it.) However, if we change the binary names, I'd also like to change |
Currently, it's a bit difficult for end users to install the C bindings. Couldn't we update the Cmake definition to automatically (or through an option) compile the C bindings, and copy the file to include in the system include path?
Also, this will help to add a formula for this lib in Homebrew.
The text was updated successfully, but these errors were encountered: