Skip to content
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

Fix module binding windows #86

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

simbach
Copy link

@simbach simbach commented Mar 28, 2022

paths have to be included as posix paths in CMake file if pymoskito runs on windows

jhalmen and others added 2 commits March 25, 2022 11:54
* do not repeat log/error messages

also fix some whitespace errors

* lower log level of 'cmakelists not found'

considering it will get built right away, this is informational at most

* decrease CppBase rigidity

instead of requiring that the module be defined in one .cpp and .h file
named 'module_name' only require the binding_*.cpp, and allow additional
source files to be added to the compilation unit.
This makes life easier for people who use header-only libraries, and
enables binding multiple source files into the same pybind module.

If necessary, adding the possibility for further include folders later
should be trivial.

* cppbase: deprecate usage of binding_class_name

this reintroduces the previous usage of binding_class_name, so that
updating pymoskito doesn't break old pybinds.
a friendly warning is generated, mentioning that this is now deprecated.
@TanDro TanDro deleted the fix_module_binding_windows branch March 28, 2022 07:22
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.

None yet

2 participants