Yalantis / FastEasyMapping

A tool for fast serializing & deserializing of JSON
https://yalantis.com/
Other
551 stars 80 forks source link

Swift Package Manager Support #122

Open jcavar opened 4 years ago

jcavar commented 4 years ago

Hello, There are some changes in our project that will require FEM to be integrated using SPM. I managed to get this working in my fork but wanted to discuss solution before creating PR.

SPM has publicHeadersPath option where you can specify location of your headers. Unfortunately, it seems that it doesn't support wildcards and supports only one location. As FEM's headers are distributed in different directories, this causes problems.

I think we have 2 options:

What are your thoughts?

dimazen commented 4 years ago

Hello, @jcavar! I would stick to moving everything into a single Source directory and leave just groups if that's the case.