Commit ab81a490 authored by Jørgen Lien Sellæg's avatar Jørgen Lien Sellæg

remove c-api from cmake file as it isn't build by it

parent 2620b231
......@@ -7,19 +7,6 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y -Wall -Wextra")
add_subdirectory("lib/pybind11")
find_package(Python3 COMPONENTS Development)
add_library(c-api SHARED c-api/module.cpp)
set_target_properties(
c-api
PROPERTIES
PREFIX ""
OUTPUT_NAME Maths.cpython-37m-x86_64-linux-gnu
)
target_include_directories(c-api PUBLIC ${Python3_INCLUDE_DIRS})
target_link_libraries(c-api ${Python3_LIBRARIES})
pybind11_add_module("Prime" pybind/heavy_example/module.cpp)
pybind11_add_module("CppMath" pybind/sum_example/module.cpp)
pybind11_add_module("Cpp" pybind/class_example/module.cpp)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment