Closed Mr0grog closed 9 years ago
Also, this fixes #13, #14.
It seems fine.. The editorconfig core version is also fixed any way.. Maybe the pcre library can also be used as a submodule, which has a cmake-based build system.
Well, I'd rather not go through the pain of trying to get the build process for PCRE also working and properly set up in Xcode; it took me a while to get it right for EditorConfig-Core and I'm not sure there's much to gain from doing it for PCRE. I think I will probably merge this as-is for now.
So… this stores
libpcre
directly in the repo, which seems somewhat non-ideal. However, the only other option I can think of seems kind of lame, too:Detect, via script, what
libpcre
cmake finds for EditorConfig-Core and copy that in. (This is even more fugly since it findslibpcre.dylib
instead oflibpcre.a
, which means you have to make a more complicated transform…)If anybody watching this has clever ideas (paging @xuhdev), I'd be happy to hear them.