First commit

This commit is contained in:
Ivan Vazhenin
2024-01-21 20:01:24 +03:00
commit c96dec9ebd
2 changed files with 60 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
cmake_minimum_required(VERSION 3.27)
project(bptest)
set(CMAKE_CXX_STANDARD 17)
find_package(Python3 REQUIRED COMPONENTS Interpreter Development)
find_package(Boost REQUIRED python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR} REQUIRED)
add_library(bptest SHARED main.cpp)
target_link_libraries(bptest PUBLIC Boost::python Python3::Python)
# target_include_directories(bptest PUBLIC ${Python3_INCLUDE_DIRS})