Jason Juang
Jason Juang
+1, it will be great to have this feature!
I am interested!
> Therefore I wouldn't recommend doing that in production code, and even doing it in tests seems kind of questionable since why test something that doesn't match what happens in...
It seems problematic if there are a lot of behavior differences between Python and CPython. I think most users (at least me) would implicitly assume that CPython is a C...
@StarQTius I can also confirm that `PYBIND11_EMBEDDED_MODULE` works as intended but not `PYBIND11_MODULE`.
@ssooffiiaannee ``` git clone https://github.com/pybind/pybind11 cd pybind11 && mkdir build && cd build cmake -DCMAKE_INSTALL_PREFIX=/home/jasjuang/install/ .. make -j install cd mkdir sample && cd sample mkdir build && cd build...
@nigels-com Just ran into the exact same issue. Could you make a release so the newest release will contain this fix? With the special nature of glew, I am unable...
@nigels-com Got it, now I understand your concern. Unfortunately I am not well versed enough in GNU makefiles to propose an arrangement. I would like to try to convince you...
@nigels-com That's too bad. I will figure out with the people at vcpkg to see how to make glew's cmake build work then. Could you make a new release (2.0.1?)...
@nigels-com The problem you described can be easily avoided by adding ``` set(CMAKE_DISABLE_SOURCE_CHANGES ON) set(CMAKE_DISABLE_IN_SOURCE_BUILD ON) ``` at the top CMakeLists.txt, so `cmake .` won't work if someone accidentally does...