-
Notifications
You must be signed in to change notification settings - Fork 682
[cmake] Remove NO_MT flag #462
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
Conversation
|
Also any other comment on the naming and flags would be very welcomed, especially before harfbuzz release so we can fix them before people rely on them. |
|
(I rethought of this flag just when I saw this (and invited the maintainer to here) that tries hardly to port some of atomic operations to bsd/solaris derivatives that can be avoided if only thing one need is having a simple working harfbuzz without having high obsessions on binary size only some specific projects have) |
|
Humm? Why? Please don't make it easy to build with |
|
IMO don't add an option for |
|
No problem, removed.
Better to let third parties doing that I believe when can be done somewhere right, so quick question, do you see anything here worth to be merged back into harfbuzz itself? I don't know how they work and why they are there honestly. |
They are ported from HB's configure.ac. They are feature-detection code to detect what atomic ops the compiler supports... |
|
I've got to say. I find the cmake as unreadable as configure.ac :). Guess it's more portable though. |
|
Now without NO_MT I faced #345, hope to be fixed soon.
So I have to study them.
Agreed :) Though now I am accustomed to it even the fact I learned and use it just time to time for harfbuzz. |
|
(And just to make directwrite backend happen for kashida thing) |
Is this logic sounds right to you or it should be better be like "if (HB_HAVE_GLIB OR HB_HAVE_ICU)" and maybe HB_HAVE_CORETEXT and other OS provided APIs also?
(With having this in mind that the goal of this cmake is I think to be a simple but correct (thats why I removed -DHB_NO_UNICODE_FUNCS) and easily embeddable harfbuzz distribution that maybe replaces third party distributions like these, and our internal nmake win32 port also entirely someday, if @fanc999 agrees also, other than my personal goal that is making harfbuzz development itself easier with OS provided Xcode or VS tools and extra APIs/SDKs.)