-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
msvc specific link command #72
Conversation
these are specific link options to be used only on a msvc host, won't work for a WIN32 mingw target for example what does it do ? it seems it relinks the PyROOT library, with different options maybe ? isn't it something that could be achieved with cmake in a cross-platform way ? also it seems its specific to arch ix86
Thanks! I will apply it. And it is obviously specific to ix86, since x86_64 is not yet supported on Windows |
Thanks! Now applied in git master and v5-34-00-patches |
@xantares How could it be related? there is no /usr or /usr/local on Windows... |
@bellenot but there's also a standard site dir, something like |
@xantares OK, but then this is another issue, not related to WIN32/MSVC (or did I miss something?) |
i was wondering why this command was here instead of just setting the .pyd suffix, but I still do not understand bc9ce4e : was it to add |
@xantares OK, maybe ROOTULIBS is due to copy/paste. Will have to check |
@xantares In fact it is needed on Windows to force import of some symbols. It is used in v5-34-00-patches, but forgotten in master (since master doesn't build yet on Windows). |
and what about the hard-wired link command ? |
No idea, I'll have to check with CMake/Python expert when he'll be back from vacation, but we are talking about #73, right? |
yeah, i wasn't sure if changing the install destination of the PyROOT target would affect this .pyd too, because you relink it to libPyROOT.pyd somehow and reinstall it to CMAKE_INSTALL_BINDIR, and it seemed like overly-complicated to just set the .pyd suffix. |
these are specific link options to be used only on a msvc host, won't work for a WIN32 mingw target for example
what does it do ? it seems it relinks the PyROOT library, with different options maybe ? isn't it something that could be achieved with cmake in a more generic way, by editing properties or flags ? also it seems its specific to arch ix86