-
Notifications
You must be signed in to change notification settings - Fork 12
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
More windows-related fixes #126
More windows-related fixes #126
Conversation
- use `!` instead of a `not` macro - Don't build the `planparser` tool on windows; this uses unix commands to parse arguments. - std::filesystem::path doesn't implicitly convert to std::string on msvc - A shared library must specify export symbols (or set `CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS`) for a .lib file to be generated, which is required for things to link against said library. - Can't use `*` (wildcard) on windows in a CMake command; use built-in CMake globbing instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with all these changes.
Of the tools available the plantransformer is probably the only one I truly use regularly (the planparser and planconverter were more useful during development). Maybe I'll make those optional in the same way tests are.
ee152e6
to
318ff22
Compare
@EpsilonPrime Awesome... might need some help with this PR wrt. getting CI to pass. Build/test is passing, but for some reason, |
Looks like the runner is getting killed. Maybe it's running out of memory? Can you try to reduce the parallelism here:
|
@mbrobbel thanks for the tip - reduced to |
!
instead of anot
macroplanparser
tool on windows; this uses unix commands to parse arguments.CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS
) for a .lib file to be generated, which is required for things to link against said library.*
(wildcard) on windows in a CMake command; use built-in CMake globbing instead.Also requires EpsilonPrime/protobuf-matchers@91968ca to land.