CMakeLists.txt 里 add_subdirectory pybind11 的路径,再用其提供的 pybind11_add_module 就能创建pybind11 的模块了。 cmake_minimum_required(VERSION 3.1)project( ...
確定! 回上一頁