Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.
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
3 changes: 2 additions & 1 deletion coreneuron/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,14 @@ set_target_properties(coreneuron corenrnmech scopmath
# create special-core with halfgap.mod for tests
# =============================================================================
add_custom_command(TARGET coreneuron
POST_BUILD
COMMAND ${CMAKE_BINARY_DIR}/bin/nrnivmodl-core -i
-I${CORENEURON_PROJECT_SOURCE_DIR}
${CORENEURON_PROJECT_SOURCE_DIR}/tests/integration/ring_gap/mod
DEPENDS coreneuron
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/bin
BYPRODUCTS ${CMAKE_BINARY_DIR}/bin/${CMAKE_SYSTEM_PROCESSOR}/special-core
COMMENT "Running nrnivmodl-core with halfgap.mod")
add_dependencies(coreneuron scopmath)

# =============================================================================
# Extract link definitions to be used with nrnivmodl-core
Expand Down