mirror of
https://github.com/truebelief/cc-treeiso-plugin.git
synced 2026-08-29 08:34:29 +08:00
c928ee794c
1. Removed the Boost dependency by adopting a newer cut-pursuit version from the authors (resulting in a 5–15× speed improvement). 2. Fixed an issue with the nearest neighbor search caused by an incorrect 2D array order input to the knn_cpp query function. 3. Enabled customization of the number of threads for knn-cpp, yielding a slight speed improvement. 4. Optimized array calculations through enhanced use of STL algorithms.
21 lines
594 B
CMake
21 lines
594 B
CMake
|
|
target_sources( ${PROJECT_NAME}
|
|
PRIVATE
|
|
${CMAKE_CURRENT_LIST_DIR}/ccTreeIsoDlg.h
|
|
${CMAKE_CURRENT_LIST_DIR}/block.hpp
|
|
${CMAKE_CURRENT_LIST_DIR}/maxflow.hpp
|
|
${CMAKE_CURRENT_LIST_DIR}/cp_d0_dist.hpp
|
|
${CMAKE_CURRENT_LIST_DIR}/cut_pursuit_d0.hpp
|
|
${CMAKE_CURRENT_LIST_DIR}/cut_pursuit.hpp
|
|
${CMAKE_CURRENT_LIST_DIR}/knncpp.h
|
|
${CMAKE_CURRENT_LIST_DIR}/qTreeIso.h
|
|
${CMAKE_CURRENT_LIST_DIR}/qTreeIsoCommands.h
|
|
${CMAKE_CURRENT_LIST_DIR}/TreeIso.h
|
|
${CMAKE_CURRENT_LIST_DIR}/TreeIsoHelper.hpp
|
|
)
|
|
|
|
target_include_directories( ${PROJECT_NAME}
|
|
PRIVATE
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|