Skip to content

Conversation

@jbeder
Copy link
Owner

@jbeder jbeder commented Nov 19, 2021

Reverts #1045

See the discussion in #1046. The issue with this PR is that it starts using the build system to generate source code, which (a) makes it no longer possible to just add the sources to a project without using CMake, and (b) requires that to support any other build system (e.g. Bazel, which I'd like to support), we'd have to duplicate this source-generating logic in that other build system also.

@pinotree If you see this, I'm open to PRs that solve the problem you were trying to solve without generating source code.

@jbeder
Copy link
Owner Author

jbeder commented Nov 19, 2021

Aaaand there's an unresolved linker error for the YAML::Null and YAML::detail::node::m_amount symbols. I don't get it, since they appear to be defined. But I don't have access to a Windows machine, so if anyone sees this, I'd love some help getting this PR to work.

@hkarel
Copy link
Contributor

hkarel commented Nov 19, 2021

I passed the tests, but essentially I repeated my own decision about which I wrote in #1046. See my branch revert-1045-hidden-visibility-again, commits: WIP, WIP2, WIP3, WIP4
My dll.h file - it compilation from cmake-generation for GCC, MSVC, MIGW

@jbeder
Copy link
Owner Author

jbeder commented Nov 19, 2021 via email

@hkarel
Copy link
Contributor

hkarel commented Nov 20, 2021

Done. PR #1064

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

Successfully merging this pull request may close these issues.

3 participants