File tree 1 file changed +0
-7
lines changed
1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -9,22 +9,15 @@ project(
9
9
VERSION ${SKBUILD_PROJECT_VERSION}
10
10
LANGUAGES CXX)
11
11
12
- #file(GLOB_RECURSE DIFFCP_BACKEND_LIBRARY_SOURCES "cpp/src/deriv.cpp" "cpp/src/cones.cpp" "cpp/src/lsqr.cpp" "cpp/src/linop.cpp")
13
- #add_library(diffcp_backend STATIC ${DIFFCP_BACKEND_LIBRARY_SOURCES})
14
- #target_include_directories(diffcp_backend PRIVATE cpp/include/)
15
- #target_include_directories(diffcp_backend PRIVATE cpp/external/eigen/)
16
-
17
12
# Find the module development requirements (requires FindPython from 3.17 or
18
13
# scikit-build-core's built-in backport)
19
14
find_package (Python REQUIRED COMPONENTS Interpreter Development.Module)
20
15
find_package (pybind11 CONFIG REQUIRED)
21
- #find_package(diffcp_backend CONFIG REQUIRED)
22
16
23
17
# Add a library using FindPython's tooling (pybind11 also provides a helper like
24
18
# this)
25
19
python_add_library(_diffcp MODULE cpp/src/wrapper.cpp cpp/src/deriv.cpp cpp/src/cones.cpp cpp/src/lsqr.cpp cpp/src/linop.cpp WITH_SOABI)
26
20
target_link_libraries (_diffcp PRIVATE pybind11::headers)
27
- #target_link_libraries(_diffcp PRIVATE diffcp_backend)
28
21
target_include_directories (_diffcp PRIVATE cpp/external/eigen/)
29
22
target_include_directories (_diffcp PRIVATE cpp/include /)
30
23
You can’t perform that action at this time.
0 commit comments