File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -543,17 +543,17 @@ function(caf_compile_executable target main_depend)
543
543
foreach (d ${DirDefs} )
544
544
list (APPEND localDefs "-D${d} " )
545
545
endforeach ()
546
- add_custom_command (OUTPUT "${target} "
547
- COMMAND "${CMAKE_BINARY_DIR} /${CMAKE_INSTALL_BINDIR} /caf"
548
- ${includes} ${localDefs} ${config_Fortran_flags}
549
- -o "${CMAKE_RUNTIME_OUTPUT_DIRECTORY} /${target} "
550
- "${CMAKE_CURRENT_SOURCE_DIR} /${main_depend} "
551
- " ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} /libopencoarrays_test_utilities.a"
552
- " ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} /libopencoarrays_mod.a"
553
- ${ARGN}
554
- DEPENDS "${main_depend} " ${ARGN} caf_mpi_static opencoarrays_test_utilities opencoarrays_mod
555
- VERBATIM
556
- )
546
+ add_custom_command (OUTPUT "${target} "
547
+ COMMAND "${CMAKE_BINARY_DIR} /${CMAKE_INSTALL_BINDIR} /caf"
548
+ ${includes} ${localDefs} ${config_Fortran_flags}
549
+ -o "${CMAKE_RUNTIME_OUTPUT_DIRECTORY} /${target} "
550
+ "${CMAKE_CURRENT_SOURCE_DIR} /${main_depend} "
551
+ $< TARGET_FILE:opencoarrays_test_utilities >
552
+ $< TARGET_FILE:opencoarrays_mod >
553
+ ${ARGN}
554
+ DEPENDS "${main_depend} " ${ARGN} caf_mpi_static opencoarrays_test_utilities opencoarrays_mod
555
+ VERBATIM
556
+ )
557
557
add_custom_target ("build_${target} " ALL
558
558
DEPENDS "${target} " )
559
559
endfunction (caf_compile_executable )
Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ configure_file("${CMAKE_SOURCE_DIR}/src/extensions/caf.in" "${CMAKE_BINARY_DIR}/
308
308
@ONLY )
309
309
310
310
311
- # List of carrun .in variables needing configuration:
311
+ # List of cafrun .in variables needing configuration:
312
312
#
313
313
# @CAF_VERSION@ @MPIEXEC@ @MPIEXEC_NUMPROC_FLAG@ @MPIEXEC_PREFLAGS@ @MPIEXEC_POSTFLAGS@
314
314
# @HAVE_FAILED_IMG@
You can’t perform that action at this time.
0 commit comments