8000 Better installation Instructions · Issue #55 · stclib/STC · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

Better installation Instructions #55

Open
VisenDev opened this issue Apr 14, 2023 · 1 comment
Open

Better installation Instructions #55

VisenDev opened this issue Apr 14, 2023 · 1 comment

Comments

@VisenDev
Copy link

Hi, I would really appreciate some more clear installation instructions for this library. But it is extremely unclear how I am supposed to get this thing working on my system.

I download the library, I run cmake . then I run make
Then how do I install the library and make it accessible to pkg-config?

@tylov
Copy link
Collaborator
tylov commented May 12, 2023

The library is primarily intended as header-only and therefore it need no installation. However, the non-templated objects (particularly cstr, cregex) would be nice to have accessible as a library, as cstr is typically used a lot if applied in an application. I will look into this.

If you want to "reuse" templated containers over many translation units, use the "Installation" instruction in the documentation to create shared objects/library to link with your application. But note: You will not see binary size reduction (in fact the opposite) unless you reuse the same templated container type in more than 3 or 4 translation units, or call push/insert/erase a lot of places. One example of that may be containers of primitive types, as they often can be used for multiple purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0