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
Java lang with cmake.
[simgrid.git]
/
buildtools
/
Cmake
/
src
/
CMakeMaintainerMode.txt
diff --git
a/buildtools/Cmake/src/CMakeMaintainerMode.txt
b/buildtools/Cmake/src/CMakeMaintainerMode.txt
index
8b50083
..
560b7c2
100644
(file)
--- a/
buildtools/Cmake/src/CMakeMaintainerMode.txt
+++ b/
buildtools/Cmake/src/CMakeMaintainerMode.txt
@@
-109,6
+109,7
@@
if(PERL_EXE)
#$(TEST_UNITS): $(TEST_CFILES)
string(REPLACE ";" " " USE_TEST_CFILES "${TEST_CFILES}")
#$(TEST_UNITS): $(TEST_CFILES)
string(REPLACE ";" " " USE_TEST_CFILES "${TEST_CFILES}")
+ exec_program("chmod a=rwx ${PROJECT_DIRECTORY}/tools/sg_unit_extractor.pl" "${PROJECT_DIRECTORY}/src/")
exec_program("${PROJECT_DIRECTORY}/tools/sg_unit_extractor.pl ${USE_TEST_CFILES}" "${PROJECT_DIRECTORY}/src/")
#@builddir@/simgrid_units_main.c: $(TEST_UNITS)
exec_program("${PROJECT_DIRECTORY}/tools/sg_unit_extractor.pl ${USE_TEST_CFILES}" "${PROJECT_DIRECTORY}/src/")
#@builddir@/simgrid_units_main.c: $(TEST_UNITS)
@@
-121,6
+122,7
@@
message("")
message("________________________________________________________________________________")
message("________________________________________________________________________________ SG_UNIT_EXTRACTOR END")
message("________________________________________________________________________________")
message("________________________________________________________________________________ SG_UNIT_EXTRACTOR END")
+#Those lines permit to remake a cmake configure if "sources to look" have been changed
foreach(file ${SRC_TO_LOOK})
configure_file(${file} ${file} COPYONLY)
endforeach(file ${SRC_TO_LOOK})
foreach(file ${SRC_TO_LOOK})
configure_file(${file} ${file} COPYONLY)
endforeach(file ${SRC_TO_LOOK})