Skip to content

Commit

Permalink
copy zdrv.hdf5 to tests/
Browse files Browse the repository at this point in the history
  • Loading branch information
psharda committed Aug 4, 2023
1 parent c8ac6fd commit 478a051
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/StarCluster/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ if (AMReX_SPACEDIM EQUAL 3)
execute_process(COMMAND cp -p ${CMAKE_CURRENT_SOURCE_DIR}/zdrv.hdf5 ${CMAKE_BINARY_DIR}/
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})

message("zdrv.hdf5 created in ${CMAKE_SOURCE_DIR}/tests/")
execute_process(COMMAND cp -p ${CMAKE_CURRENT_SOURCE_DIR}/zdrv.hdf5 ${CMAKE_SOURCE_DIR}/tests/
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})

message("zdrv.hdf5 created in ${CMAKE_SOURCE_DIR}/tests/ and ${CMAKE_BINARY_DIR}")

# Create a custom target that depends on the Python script's output
add_custom_target(RunPythonScript DEPENDS ${CMAKE_SOURCE_DIR}/tests/zdrv.hdf5)
Expand Down

0 comments on commit 478a051

Please sign in to comment.