8000 Add missed headers to CMakeList.txt config by Czaki · Pull Request #54 · 4DNucleome/PartSegCore-compiled-backend · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add missed headers to CMakeList.txt config #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 20 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,39 @@ execute_process(


cython_transpile(src/PartSegCore_compiled_backend/sprawl_utils/euclidean_cython.pyx LANGUAGE CXX OUTPUT_VARIABLE euclidean_cython_cxx)
python_add_library(euclidean_cython MODULE "${euclidean_cython_cxx}" WITH_SOABI)
python_add_library(euclidean_cython MODULE
"${euclidean_cython_cxx}"
src/PartSegCore_compiled_backend/sprawl_utils/my_queue.h
src/PartSegCore_compiled_backend/sprawl_utils/global_consts.h
WITH_SOABI)
target_include_directories(euclidean_cython PRIVATE "${NUMPY_INCLUDE_DIR}")
target_include_directories(euclidean_cython PRIVATE src/PartSegCore_compiled_backend/sprawl_utils/)

cython_transpile(src/PartSegCore_compiled_backend/sprawl_utils/path_sprawl_cython.pyx LANGUAGE CXX OUTPUT_VARIABLE path_sprawl_cython_cxx)
python_add_library(path_sprawl_cython MODULE "${path_sprawl_cython_cxx}" WITH_SOABI)
python_add_library(path_sprawl_cython MODULE
"${path_sprawl_cython_cxx}"
src/PartSegCore_compiled_backend/sprawl_utils/my_queue.h
src/PartSegCore_compiled_backend/sprawl_utils/global_consts.h
WITH_SOABI)
target_include_directories(path_sprawl_cython PRIVATE "${NUMPY_INCLUDE_DIR}")
target_include_directories(path_sprawl_cython PRIVATE src/PartSegCore_compiled_backend/sprawl_utils/)

cython_transpile(src/PartSegCore_compiled_backend/sprawl_utils/sprawl_utils.pyx LANGUAGE CXX OUTPUT_VARIABLE sprawl_utils_cython_cxx)
python_add_library(sprawl_utils MODULE "${sprawl_utils_cython_cxx}" WITH_SOABI)
python_add_library(sprawl_utils MODULE
"${sprawl_utils_cython_cxx}"
src/PartSegCore_compiled_backend/sprawl_utils/my_queue.h
src/PartSegCore_compiled_backend/sprawl_utils/global_consts.h
WITH_SOABI)
target_include_directories(sprawl_utils PRIVATE "${NUMPY_INCLUDE_DIR}")
target_include_directories(sprawl_utils PRIVATE src/PartSegCore_compiled_backend/sprawl_utils/)


cython_transpile(src/PartSegCore_compiled_backend/sprawl_utils/fuzzy_distance.pyx LANGUAGE CXX OUTPUT_VARIABLE fuzzy_distance_cython_cxx)
python_add_library(fuzzy_distance MODULE "${fuzzy_distance_cython_cxx}" WITH_SOABI)
python_add_library(fuzzy_distance MODULE
"${fuzzy_distance_cython_cxx}"
src/PartSegCore_compiled_backend/sprawl_utils/my_queue.h
src/PartSegCore_compiled_backend/sprawl_utils/global_consts.h
WITH_SOABI)
target_include_directories(fuzzy_distance PRIVATE "${NUMPY_INCLUDE_DIR}")
target_include_directories(fuzzy_distance PRIVATE src/PartSegCore_compiled_backend/sprawl_utils/)

Expand Down
Loading
0