A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This is better for regex ... sorry
[simgrid.git]
/
teshsuite
/
smpi
/
mpich-test
/
CMakeLists.txt
diff --git
a/teshsuite/smpi/mpich-test/CMakeLists.txt
b/teshsuite/smpi/mpich-test/CMakeLists.txt
index
d040384
..
a58e2bc
100644
(file)
--- a/
teshsuite/smpi/mpich-test/CMakeLists.txt
+++ b/
teshsuite/smpi/mpich-test/CMakeLists.txt
@@
-58,9
+58,11
@@
if("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_HOME_DIRECTORY}")
else()
foreach(srcfile ${stdo_std_smpi})
set(dstfile ${srcfile})
else()
foreach(srcfile ${stdo_std_smpi})
set(dstfile ${srcfile})
- string(REPLACE "${CMAKE_HOME_DIRECTORY}" "${CMAKE_BINARY_DIR}" dst_file "${dstfile}")
+ string(REPLACE "${CMAKE_HOME_DIRECTORY}" "${CMAKE_BINARY_DIR}" dstfile "${dstfile}")
+ string(REGEX REPLACE "/[^/]*.std" "/" dstfile "${dstfile}")
+ string(REGEX REPLACE "/[^/]*.stdo" "/" dstfile "${dstfile}")
#message("copy ${srcfile} to ${dstfile}")
#message("copy ${srcfile} to ${dstfile}")
- file(COPY ${srcfile} DESTINATION ${dst
_
file})
+ file(COPY ${srcfile} DESTINATION ${dstfile})
endforeach()
endif()
endforeach()
endif()