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

use in cmake #196

Open
mmjvox opened this issue Feb 4, 2023 · 3 comments
Open

use in cmake #196

mmjvox opened this issue Feb 4, 2023 · 3 comments

Comments

@mmjvox
Copy link

mmjvox commented Feb 4, 2023

Hi thanks for your great project.
Setting it up is effortless.

I`m using cmake for most of my projects.
Earlier, I was using svgtofont in command line, manually.
After a while i wrote a few lines for cmake to automate the font generation for each build.
Now i made a simple cmake package for svgtofont that allows everyone to use it easily.
Would you like to add this to your project?
Or is the idea not a good idea and it is better to create a separate repo?

@jaywcjlove
Copy link
Owner

@mmjvox I think it is very good to have one more option without affecting the previous use.

I don't know much about cmake and hope to add usage documentation.

@mmjvox
Copy link
Author

mmjvox commented Feb 5, 2023

Usually, most libraries have a configuration file and cmake finds the libraries according to that.

These files are copied to a specific path after installing each library.

I wrote one of that files for svgtofont, then cmake can use svgtofont whenever needed.

You can put my file next to other files in this repo,
We should also add in the documents that cmake users must download the cmake file separately after installing svgtofont.
So the user must copy that file in the specific path manually after svftofont installation done.

Do you allow me to add one option to convert manual steps to automatic?
for exapmle something like this:

svgtofont --config-for-cmake

@jaywcjlove
Copy link
Owner

I see no problem with this feature. @mmjvox

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