Skip to content

Static library libglad.a has to be generated manually #378

Answered by Dav1dde
knitterJ asked this question in Q&A
Discussion options

You must be logged in to vote

Two main reasons:

Glad is not supposed to be built/ran everytime you build your application. The intended way is to include the generated code in your project and only update it (or re-generate it), when you actually need to do that (one of the reasons I dont really like the CMake integration). This is also why there is a web generator, so you don't even have to have Python installed.

The other reason is, it simply would not be possible. Compiling code is different on basically every system (that's why autoconfigure, cmake and all these other systems exist). It would be impossible for me to actually compile the code in a way it works everywhere.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Dav1dde
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #377 on August 11, 2022 15:49.