摘要:
首先在当前文件夹下安装pybind11。 然后编写以下3个文件: 1、CMakeLists.txt cmake_minimum_required(VERSION 3.5) project(example LANGUAGES CXX) add_subdirectory(pybind11) pybind 阅读全文
摘要:
首先编写4个文件: 1、CMakeLists.txt内容: cmake_minimum_required(VERSION 3.15) project(Demo) include_directories(${PROJECT_BINARY_DIR}/headers) aux_source_directo 阅读全文