Skip to content
Merged
Show file tree
Hide file tree
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
9 changes: 6 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,20 @@ add_subdirectory(extern/NNS-core)

# Preserve the accepted NNS-core vendor tree; explicitly overlay the R14
# central-tendency kernels that its R13.3 snapshot does not yet supply, the
# multivariate prediction kernel with R's own nmath densities, and R's NNS.seas
# lag scan (kept out of the nanobind module, which is compiled for size).
# multivariate prediction kernel with R's own nmath densities, the partial
# moments with R's D.UPM degree handling, and R's NNS.seas lag scan (kept out of
# the nanobind module, which is compiled for size).
get_target_property(NNS_CORE_SOURCES nnscore SOURCES)
set(NNS_R14_CORE_SOURCES "")
foreach(source IN LISTS NNS_CORE_SOURCES)
if(NOT source STREQUAL "src/central_tendencies.cpp" AND NOT source STREQUAL "src/mreg_predict.cpp")
if(NOT source STREQUAL "src/central_tendencies.cpp" AND NOT source STREQUAL "src/mreg_predict.cpp"
AND NOT source STREQUAL "src/partial_moments.cpp")
list(APPEND NNS_R14_CORE_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/extern/NNS-core/${source}")
endif()
endforeach()
list(APPEND NNS_R14_CORE_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/src/nns/_r14_central_tendencies.cpp")
list(APPEND NNS_R14_CORE_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/src/nns/_r14_mreg_predict.cpp")
list(APPEND NNS_R14_CORE_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/src/nns/_r14_partial_moments.cpp")
list(APPEND NNS_R14_CORE_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/src/nns/_r14_seas.cpp")
set_property(TARGET nnscore PROPERTY SOURCES "${NNS_R14_CORE_SOURCES}")

Expand Down
Loading
Loading