pybind11/tools
Ralf W. Grosse-Kunstleve a90e2af88d
Factor out pybind11/conduit/pybind11_platform_abi_id.h (#5375)
* Factor out pybind11/compat/wrap_include_python_h.h

* Fixes to resolve tests_packaging failures.

* Factor out pybind11/compat/pybind11_platform_abi_id.h

* Add pybind11/compat/README.txt and a couple source code comments.

* Minor changes to comments.

* Factor out pybind11/compat/pybind11_conduit_v1.h

* Add long comment to pybind11/compat/pybind11_conduit_v1.h

* Add pybind11/compat/README.txt to wheels.

* Add `-fno-exceptions` to compiler options for exo_planet_c_api

* 1. Move `target_compile_options()` into loop over test targets, in case the `"exo_planet_c_api"` target does not exist.  2. Add `-fno-exceptions` option also for `NVHPC`.  3. Also check for `__cpp_exceptions` in exo_planet_c_api.cpp.

* 1. Fix accident (forgot to undo temporary change).  2. Special-case __EMSCRIPTEN__ in exo_planet_c_api.cpp

* Give up on compiling exo_planet_c_api.cpp with MSVC `/EHs-c-`:

There was one trouble maker (all other jobs worked):

Visual Studio 15 2017:

```
cl : Command line warning D9025: overriding '/EHc' with '/EHc-' [C:\projects\pybind11\tests\exo_planet_c_api.vcxproj]
...
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xlocale(319): error C2220: warning treated as error - no 'object' file generated [C:\projects\pybind11\tests\exo_planet_c_api.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xlocale(319): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
```

* Move pybind11/compat to pybind11/conduit as suggested by @henryiii:

https://github.com/pybind/pybind11/pull/5375#pullrequestreview-2329006001
2024-11-10 12:17:35 -08:00
..
check-style.sh Add shellcheck style checking (#3114) 2021-07-14 16:52:13 -04:00
cmake_uninstall.cmake.in format: include .in files 2020-08-06 11:54:41 -04:00
codespell_ignore_lines_from_errors.py feat: remove Python 3.6 support (#5177) 2024-06-22 00:55:00 -04:00
FindCatch.cmake Revert "Go back to CMake 3.25.2 (#4496)" (#4503) 2023-02-16 10:54:57 -05:00
FindEigen3.cmake style: avoid using unintialized variables (#2806) 2021-01-19 18:48:22 -05:00
FindPythonLibsNew.cmake feat: remove Python 3.7 support (#5191) 2024-07-30 09:18:35 -07:00
JoinPaths.cmake feat(cmake): add installation support for pkg-config dependency detection (#4077) 2022-08-09 00:02:45 -04:00
libsize.py feat: remove Python 3.6 support (#5177) 2024-06-22 00:55:00 -04:00
make_changelog.py docs: prepare for 2.13.0 (#5187) 2024-06-25 16:24:54 -04:00
pybind11.pc.in feat(cmake): add installation support for pkg-config dependency detection (#4077) 2022-08-09 00:02:45 -04:00
pybind11Common.cmake feat: require CMake 3.15+ (#5304) 2024-08-14 18:21:04 -04:00
pybind11Config.cmake.in fix(cmake): add required emscripten flags (#5298) 2024-08-12 16:51:48 -04:00
pybind11GuessPythonExtSuffix.cmake feat: require CMake 3.15+ (#5304) 2024-08-14 18:21:04 -04:00
pybind11NewTools.cmake fix(cmake): NO_EXTRAS in pybind11_add_module function partially working (#5378) 2024-09-19 11:24:35 -04:00
pybind11Tools.cmake feat: require CMake 3.15+ (#5304) 2024-08-14 18:21:04 -04:00
pyproject.toml ci: releases (#2530) 2020-09-30 15:48:08 -04:00
setup_global.py.in Factor out pybind11/conduit/pybind11_platform_abi_id.h (#5375) 2024-11-10 12:17:35 -08:00
setup_main.py.in Factor out pybind11/conduit/pybind11_platform_abi_id.h (#5375) 2024-11-10 12:17:35 -08:00
test-pybind11GuessPythonExtSuffix.cmake feat: require CMake 3.15+ (#5304) 2024-08-14 18:21:04 -04:00