Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
630aa7965c796bf529eff7c57c55c4ed2273c60c
[simgrid.git] / buildtools / Cmake / src / CMakeDistrib.txt
1 set(CMAKE_PROJECT_NAME "${PROJECT_NAME}")
2 set(CPACK_PACKAGE_NAME "${PROJECT_NAME}")
3 set(CPACK_PROJECT_NAME "${PROJECT_NAME}")
4
5 set(CPACK_PACKAGE_FILE_NAME "simgrid-${release_version}")
6 set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 1)
7 set(CPACK_GENERATOR "") #;TGZ;TZ;ZIP
8
9 set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}-src")
10 set(CPACK_SOURCE_GENERATOR "TGZ")
11 set(CPACK_SOURCE_FILES "${to_svg}")
12
13 set(CPACK_SET_DESTDIR on)
14 set(CMAKE_INSTALL_PREFIX ${prefix} CACHE TYPE INTERNAL FORCE)
15
16 #########################################
17 ### Fill in the "make install" target ###
18 #########################################
19           
20                                   
21
22 # doc
23 install(DIRECTORY "${PROJECT_DIRECTORY}/doc/html/"
24   DESTINATION "$ENV{DESTDIR}${prefix}/doc/simgrid/html/"
25   PATTERN ".svn" EXCLUDE 
26   PATTERN ".git" EXCLUDE 
27   PATTERN "*.o" EXCLUDE
28   PATTERN "*~" EXCLUDE
29 )
30
31 # binaries
32 install(PROGRAMS ${CMAKE_BINARY_DIR}/bin/smpicc
33                  ${CMAKE_BINARY_DIR}/bin/smpirun
34                  ${CMAKE_BINARY_DIR}/bin/tesh
35         DESTINATION $ENV{DESTDIR}${prefix}/bin/)
36         
37 install(PROGRAMS tools/MSG_visualization/colorize.pl
38         DESTINATION $ENV{DESTDIR}${prefix}/bin/
39         RENAME simgrid-colorizer)
40
41 # libraries
42 install(TARGETS simgrid gras 
43         LIBRARY DESTINATION $ENV{DESTDIR}${prefix}/lib/)
44         
45 install(FILES ${CMAKE_BINARY_DIR}/lib/libsimgrid_static.a 
46         RENAME libsimgrid.a
47         DESTINATION $ENV{DESTDIR}${prefix}/lib/)
48         
49 if(enable_smpi) 
50   install(TARGETS smpi
51           LIBRARY DESTINATION $ENV{DESTDIR}${prefix}/lib/)
52 endif(enable_smpi)      
53
54 # include files
55 foreach(file ${install_HEADERS})
56   get_filename_component(location ${file} PATH)
57   install(FILES ${file}
58           DESTINATION $ENV{DESTDIR}${prefix}/${location})
59 endforeach(file ${install_HEADERS})
60
61 # example files
62 foreach(file ${ex_to_svg})
63   string(REPLACE "${PROJECT_DIRECTORY}/examples/" "" file ${file})
64   get_filename_component(location ${file} PATH)
65   install(FILES "examples/${file}"
66           DESTINATION $ENV{DESTDIR}${prefix}/doc/simgrid/examples/${location})
67 endforeach(file ${ex_to_svg})
68
69 # bindings cruft
70 if(HAVE_JAVA)
71   install(FILES ${CMAKE_BINARY_DIR}/simgrid.jar
72           DESTINATION $ENV{DESTDIR}${prefix}/share/)
73 endif(HAVE_JAVA)
74
75 if(HAVE_LUA)
76   add_custom_target(absolute_liblink ALL
77     COMMAND ln -sf $ENV{DESTDIR}${prefix}/lib/libsimgrid.so ${CMAKE_BINARY_DIR}/libsimgrid.so)
78   install(FILES ${CMAKE_BINARY_DIR}/libsimgrid.so
79           DESTINATION $ENV{DESTDIR}${prefix}/lib/lua/5.1
80           RENAME simgrid.so)
81 endif(HAVE_LUA)
82
83 if(HAVE_RUBY)
84   string(REGEX REPLACE "^.*ruby/" "" install_link_ruby "${RUBY_ARCH_DIR}")
85   install(FILES ${CMAKE_BINARY_DIR}/libsimgrid.so
86                 ${PROJECT_DIRECTORY}/src/bindings/ruby/simgrid.rb
87           DESTINATION $ENV{DESTDIR}${prefix}/lib/ruby/${install_link_ruby}/)
88 endif(HAVE_RUBY)
89
90
91 ########################################################
92 ### Fill in the BROKEN "make install-simgrid" target ###
93 ########################################################
94 ### scripts
95 set(install_bins
96  ${CMAKE_BINARY_DIR}/bin/smpicc
97  ${CMAKE_BINARY_DIR}/bin/smpirun
98  ${CMAKE_BINARY_DIR}/bin/gras_stub_generator
99  ${CMAKE_BINARY_DIR}/bin/tesh
100 )
101
102 string(REPLACE ";" "\t" install_libs "${install_libs}")
103 set(uninstall_bins "${install_bins}")
104 string(REPLACE "${PROJECT_DIRECTORY}/src/smpi" "${prefix}/bin" uninstall_bins "${uninstall_bins}")
105 string(REPLACE "${PROJECT_DIRECTORY}/tools/gras" "${prefix}/bin" uninstall_bins "${uninstall_bins}")
106 string(REPLACE "${PROJECT_DIRECTORY}/tools/tesh" "${prefix}/bin" uninstall_bins "${uninstall_bins}")
107 string(REPLACE "${PROJECT_DIRECTORY}/tools/MSG_visualization/colorize.pl" "${prefix}/bin/simgrid-colorizer" uninstall_bins "${uninstall_bins}")
108 string(REPLACE "${PROJECT_DIRECTORY}/src/.libs" "${prefix}/lib" uninstall_libs "${install_libs}")
109 string(REPLACE "./" "${prefix}/" uninstall_HEADERS "${install_HEADERS}")
110
111
112
113 add_custom_target(install-simgrid
114 COMMAND mkdir -p $ENV{DESTDIR}${prefix}
115 COMMAND mkdir -p $ENV{DESTDIR}${prefix}/bin
116 COMMAND mkdir -p $ENV{DESTDIR}${prefix}/lib
117 COMMAND mkdir -p $ENV{DESTDIR}${prefix}/include
118 COMMAND mkdir -p $ENV{DESTDIR}${prefix}/doc
119 COMMAND mkdir -p $ENV{DESTDIR}${prefix}/doc/simgrid
120 COMMAND mkdir -p $ENV{DESTDIR}${prefix}/doc/simgrid/html
121 COMMAND mkdir -p $ENV{DESTDIR}${prefix}/include
122 COMMAND mkdir -p $ENV{DESTDIR}${prefix}/include/xbt
123 COMMAND mkdir -p $ENV{DESTDIR}${prefix}/include/mc
124 COMMAND mkdir -p $ENV{DESTDIR}${prefix}/include/msg
125 COMMAND mkdir -p $ENV{DESTDIR}${prefix}/include/simdag
126 COMMAND mkdir -p $ENV{DESTDIR}${prefix}/include/smpi
127 COMMAND mkdir -p $ENV{DESTDIR}${prefix}/include/surf
128 COMMAND mkdir -p $ENV{DESTDIR}${prefix}/include/gras
129 COMMAND mkdir -p $ENV{DESTDIR}${prefix}/include/amok
130 COMMAND mkdir -p $ENV{DESTDIR}${prefix}/include/instr
131 COMMAND cp ${install_bins} $ENV{DESTDIR}${prefix}/bin
132 COMMAND cp ${PROJECT_DIRECTORY}/tools/MSG_visualization/colorize.pl $ENV{DESTDIR}${prefix}/bin/simgrid-colorizer
133 COMMAND echo "install bin           OK"
134
135   COMMAND cp ${PROJECT_DIRECTORY}/src/.libs/libsimgrid.so.${release_version} $ENV{DESTDIR}${prefix}/lib
136   COMMAND ln -sf $ENV{DESTDIR}${prefix}/lib/libsimgrid.so.${release_version} $ENV{DESTDIR}${prefix}/lib/libsimgrid.so
137
138   COMMAND cp ${PROJECT_DIRECTORY}/src/.libs/libsimgrid_static.a $ENV{DESTDIR}${prefix}/lib/libsimgrid.a
139
140   COMMAND cp ${PROJECT_DIRECTORY}/src/.libs/libgras.so.${release_version} $ENV{DESTDIR}${prefix}/lib
141   COMMAND ln -sf $ENV{DESTDIR}${prefix}/lib/libgras.so.${release_version} $ENV{DESTDIR}${prefix}/lib/libgras.so
142
143   # FIXME: this should be copied only if enable_smpi is true
144   COMMAND cp ${PROJECT_DIRECTORY}/src/.libs/libsmpi.so.${release_version} $ENV{DESTDIR}${prefix}/lib || true
145   COMMAND ln -sf $ENV{DESTDIR}${prefix}/lib/libsmpi.so.${release_version} $ENV{DESTDIR}${prefix}/lib/libsmpi.so
146
147 COMMAND echo "install lib           OK"
148 WORKING_DIRECTORY "${PROJECT_DIRECTORY}/"
149 )
150
151 foreach(file ${install_HEADERS})
152         add_custom_command(TARGET install-simgrid
153                 COMMAND cp ${file} $ENV{DESTDIR}${prefix}/${file}
154                 WORKING_DIRECTORY "${PROJECT_DIRECTORY}"
155         )
156 endforeach(file ${install_HEADERS})
157 add_custom_command(TARGET install-simgrid
158         COMMAND echo "install include       OK"
159         WORKING_DIRECTORY "${PROJECT_DIRECTORY}"
160 )
161
162 add_custom_target(uninstall
163 COMMAND rm -rf ${prefix}/doc/simgrid
164 COMMAND echo "uninstall doc ok"
165 COMMAND rm -f ${uninstall_libs}
166 COMMAND echo "uninstall lib ok"
167 COMMAND rm -f ${uninstall_bins}
168 COMMAND rm -f ${prefix}/bin/simgrid_colorizer.pl
169 COMMAND echo "uninstall bin ok"
170 COMMAND rm -f ${uninstall_HEADERS}
171 COMMAND echo "uninstal include ok"
172 COMMAND rm -Rf ${prefix}/include/amok ${prefix}/include/gras ${prefix}/include/instr ${prefix}/include/msg 
173 COMMAND rm -Rf ${prefix}/include/simdag ${prefix}/include/smpi ${prefix}/include/surf ${prefix}/include/xbt
174 WORKING_DIRECTORY "${prefix}"
175 )
176
177 if(HAVE_JAVA)
178         add_custom_command(TARGET install-simgrid
179         COMMAND mkdir -p $ENV{DESTDIR}${prefix}/share/
180         COMMAND cp ${PROJECT_DIRECTORY}/src/simgrid.jar $ENV{DESTDIR}${prefix}/share/simgrid.jar
181         COMMAND echo "install binding java  OK"
182         WORKING_DIRECTORY "${PROJECT_DIRECTORY}/"
183         )
184         add_custom_command(TARGET uninstall
185         COMMAND rm -f ${prefix}/share/simgrid.jar
186         COMMAND echo "uninstall binding java"
187         WORKING_DIRECTORY "${PROJECT_DIRECTORY}/"
188         )       
189 endif(HAVE_JAVA)
190
191 if(HAVE_LUA)
192         add_custom_command(TARGET install-simgrid
193         COMMAND mkdir -p $ENV{DESTDIR}${prefix}/lib/lua/5.1/
194         COMMAND ln -sf ${prefix}/lib/libsimgrid.so $ENV{DESTDIR}${prefix}/lib/lua/5.1/simgrid.so
195         COMMAND echo "install binding lua   OK"
196         WORKING_DIRECTORY "${PROJECT_DIRECTORY}/"
197         )
198         add_custom_command(TARGET uninstall
199         COMMAND echo "uninstall binding lua"
200         COMMAND rm -f ${prefix}/lib/lua/5.1/simgrid.so  
201         WORKING_DIRECTORY "${PROJECT_DIRECTORY}/"
202         )
203 endif(HAVE_LUA)
204
205 if(HAVE_RUBY)
206         string(REGEX REPLACE "^.*ruby/" "" install_link_ruby "${RUBY_ARCH_DIR}")
207         add_custom_command(TARGET install-simgrid
208         COMMAND mkdir -p "$ENV{DESTDIR}${prefix}/lib/ruby/${install_link_ruby}/"
209         COMMAND ln -sf ${prefix}/lib/libsimgrid.so $ENV{DESTDIR}${prefix}/lib/ruby/${install_link_ruby}/libsimgrid.so
210         COMMAND cp ${PROJECT_DIRECTORY}/src/bindings/ruby/simgrid.rb $ENV{DESTDIR}${prefix}/lib/ruby/${install_link_ruby}/simgrid.rb
211         COMMAND echo "install binding ruby  OK"
212         WORKING_DIRECTORY "${PROJECT_DIRECTORY}/"
213         )
214         add_custom_command(TARGET uninstall
215         COMMAND echo "uninstall binding ruby"
216         COMMAND rm -f ${prefix}/lib/ruby/${install_link_ruby}/libsimgrid.so
217         COMMAND rm -f ${prefix}/lib/ruby/${install_link_ruby}/simgrid.rb
218         WORKING_DIRECTORY "${PROJECT_DIRECTORY}/"
219         )
220 endif(HAVE_RUBY)
221
222 foreach(file ${directory_to_create})
223         string(REPLACE "${PROJECT_DIRECTORY}" "." file "${file}")
224         add_custom_command(TARGET install-simgrid
225                 COMMAND mkdir -p $ENV{DESTDIR}${prefix}/doc/simgrid/${file}
226                 WORKING_DIRECTORY "${PROJECT_DIRECTORY}"
227         )
228 endforeach(file ${directory_to_create})
229
230 foreach(file ${ex_to_svg})
231         string(REPLACE "${PROJECT_DIRECTORY}" "." file "${file}")
232         add_custom_command(TARGET install-simgrid
233                 COMMAND cp ${file} $ENV{DESTDIR}${prefix}/doc/simgrid/${file}
234                 WORKING_DIRECTORY "${PROJECT_DIRECTORY}"
235         )
236 endforeach(file ${ex_to_svg})
237
238 add_custom_command(TARGET install-simgrid
239         COMMAND echo "install doc/examples  OK"
240         WORKING_DIRECTORY "${PROJECT_DIRECTORY}"
241 )
242
243 add_custom_command(TARGET install-simgrid
244         COMMAND cp ${PROJECT_DIRECTORY}/doc/html/* $ENV{DESTDIR}${prefix}/doc/simgrid/html/ || true
245         COMMAND echo "install doc/html      OK"
246         WORKING_DIRECTORY "${PROJECT_DIRECTORY}"
247 )
248
249 add_custom_target(html
250 COMMAND echo "Make the html doc"
251 COMMAND echo "cmake -DBIBTEX2HTML=${BIBTEX2HTML} ./"
252 COMMAND cmake -DBIBTEX2HTML=${BIBTEX2HTML} ./
253 COMMAND rm -rf ${PROJECT_DIRECTORY}/buildtools/Cmake/src/doc/CMakeFiles
254 COMMAND rm -f ${PROJECT_DIRECTORY}/buildtools/Cmake/src/doc/CMakeCache.txt
255 COMMAND rm -f ${PROJECT_DIRECTORY}/buildtools/Cmake/src/doc/cmake_install.cmake
256 COMMAND rm -f ${PROJECT_DIRECTORY}/buildtools/Cmake/src/doc/Makefile
257 WORKING_DIRECTORY "${PROJECT_DIRECTORY}/buildtools/Cmake/src/doc"
258 )
259
260
261
262 #SET(CMAKE_VERBOSE_MAKEFILE 1)
263
264 ################################################################
265 ## Build a sain "make dist" target to build a source package ###
266 ##   containing only the files that I explicitely state      ###
267 ##   (instead of any cruft laying on my disk as CPack does)  ###
268 ################################################################
269 add_custom_target(dist-dir
270   COMMAND test -e simgrid-${release_version}/ && chmod -R a+w simgrid-${release_version}/ || true
271   COMMAND ${CMAKE_COMMAND} -E remove_directory simgrid-${release_version}
272   COMMAND ${CMAKE_COMMAND} -E make_directory simgrid-${release_version}
273 )
274
275
276 set(dirs_in_tarball "")
277 foreach(file ${to_svg} ${txt_files})
278   # This damn prefix is still set somewhere (seems to be in subdirs)
279   string(REPLACE "${PROJECT_DIRECTORY}/" "" file ${file})
280   
281   # Create the directory on need
282   get_filename_component(file_location ${file} PATH)
283   string(REGEX MATCH ";${file_location};" OPERATION "${dirs_in_tarball}")
284   if(NOT OPERATION)
285        set(dirs_in_tarball "${dirs_in_tarball};${file_location};")
286        add_custom_command(
287          TARGET dist-dir
288          COMMAND ${CMAKE_COMMAND} -E make_directory simgrid-${release_version}/${file_location}/
289        )       
290    endif(NOT OPERATION)
291    
292    # Actually copy the file
293    add_custom_command(
294      TARGET dist-dir
295      COMMAND ${CMAKE_COMMAND} -E copy ${PROJECT_DIRECTORY}/${file} simgrid-${release_version}/${file_location}/
296    )
297 endforeach(file ${to_svg})
298
299 add_custom_target(dist
300   COMMAND ${CMAKE_COMMAND} -E tar cf simgrid-${release_version}.tar simgrid-${release_version}/
301   COMMAND gzip -9v simgrid-${release_version}.tar
302   COMMAND ${CMAKE_COMMAND} -E remove_directory simgrid-${release_version}
303 )
304 add_dependencies(dist dist-dir)
305
306 # Allow to test the "make dist"
307 add_custom_target(distcheck
308   COMMAND ${CMAKE_COMMAND} -E make_directory simgrid-${release_version}/_build
309   COMMAND ${CMAKE_COMMAND} -E make_directory simgrid-${release_version}/_inst
310   
311   # This stupid cmake creates a directory in source, killing the purpose of the chmod
312   # (tricking around)
313   COMMAND ${CMAKE_COMMAND} -E make_directory simgrid-${release_version}/CMakeFiles 
314 #  COMMAND chmod -R a-w simgrid-${release_version}/ # FIXME: we should pass without commenting that line
315   COMMAND chmod -R a+w simgrid-${release_version}/_build
316   COMMAND chmod -R a+w simgrid-${release_version}/_inst
317   COMMAND chmod -R a+w simgrid-${release_version}/CMakeFiles
318   
319   COMMAND ${CMAKE_COMMAND} -E chdir simgrid-${release_version}/_build ${CMAKE_COMMAND} build ..  -Dprefix=../_inst
320 #  COMMAND ${CMAKE_COMMAND} -E chdir simgrid-${release_version}/_build make dist-dir
321   COMMAND ${CMAKE_COMMAND} -E chdir simgrid-${release_version}/_build make -j5 || ${CMAKE_COMMAND} -E chdir simgrid-${release_version}/_build make
322   COMMAND ${CMAKE_COMMAND} -E chdir simgrid-${release_version}/_build make test -j5
323   COMMAND ${CMAKE_COMMAND} -E chdir simgrid-${release_version}/_build make clean
324 #  COMMAND ${CMAKE_COMMAND} -E remove_directory simgrid-${release_version}/
325 )
326 add_dependencies(distcheck dist-dir)
327
328 ########################################
329 ### End of "make dist" related stuff ### 
330 ########################################
331
332 add_custom_target(check
333 COMMAND make test
334 #WORKING_DIRECTORY "${PROJECT_DIRECTORY}"
335 )
336
337 add_custom_target(maintainer-clean
338 COMMAND rm -f src/config_unit.c
339 COMMAND rm -f src/cunit_unit.c
340 COMMAND rm -f src/dict_unit.c
341 COMMAND rm -f src/dynar_unit.c
342 COMMAND rm -f src/ex_unit.c
343 COMMAND rm -f src/set_unit.c
344 COMMAND rm -f src/simgrid_units_main.c
345 COMMAND rm -f src/swag_unit.c
346 COMMAND rm -f src/xbt_sha_unit.c
347 COMMAND rm -f src/xbt_str_unit.c
348 COMMAND rm -f src/xbt_strbuff_unit.c
349 COMMAND rm -f src/xbt_synchro_unit.c
350 WORKING_DIRECTORY "${PROJECT_DIRECTORY}"
351 )
352
353 add_custom_target(supernovae-clean
354 COMMAND rm -f src/supernovae_gras.c
355 COMMAND rm -f src/supernovae_sg.c
356 COMMAND rm -f src/supernovae_smpi.c
357 WORKING_DIRECTORY "${PROJECT_DIRECTORY}"
358 )
359
360 add_custom_target(doc-clean
361 COMMAND rm -f doc/all_bib.html
362 COMMAND rm -f doc/all_bib.latin1.html
363 COMMAND rm -f doc/all_bib.latin1.html.tmp
364 COMMAND rm -f doc/logcategories.sh
365 COMMAND rm -f doc/publis_core.bib
366 COMMAND rm -f doc/publis_core_bib.html
367 COMMAND rm -f doc/publis_core_bib.latin1.html
368 COMMAND rm -f doc/publis_core_bib.latin1.html.tmp
369 COMMAND rm -f doc/publis_count.html
370 COMMAND rm -f doc/publis_extern.bib
371 COMMAND rm -f doc/publis_extern_bib.html
372 COMMAND rm -f doc/publis_extern_bib.latin1.html
373 COMMAND rm -f doc/publis_extern_bib.latin1.html.tmp
374 COMMAND rm -f doc/publis_intra.bib
375 COMMAND rm -f doc/publis_intra_bib.html
376 COMMAND rm -f doc/publis_intra_bib.latin1.html
377 COMMAND rm -f doc/publis_intra_bib.latin1.html.tmp
378 COMMAND rm -f doc/tmp.realtoc
379 COMMAND rm -f doc/using_bib.html
380 COMMAND rm -f doc/using_bib.latin1.html
381 COMMAND rm -f doc/using_bib.latin1.html.tmp
382 COMMAND rm -f doc/realtoc.sh
383 WORKING_DIRECTORY "${PROJECT_DIRECTORY}"
384 )
385
386 add_custom_target(java-clean
387 COMMAND rm -f src/simgrid.jar
388 COMMAND rm -rf src/.classes
389 COMMAND rm -f examples/java/basic/BasicTest.class
390 COMMAND rm -f examples/java/basic/FinalizeTask.class
391 COMMAND rm -f examples/java/basic/Forwarder.class
392 COMMAND rm -f examples/java/basic/Master.class
393 COMMAND rm -f examples/java/basic/Slave.class
394 COMMAND rm -f examples/java/comm_time/CommTimeTest.class
395 COMMAND rm -f examples/java/comm_time/FinalizeTask.class
396 COMMAND rm -f examples/java/comm_time/Master.class
397 COMMAND rm -f examples/java/comm_time/Slave.class
398 COMMAND rm -f examples/java/ping_pong/PingPongTask.class
399 COMMAND rm -f examples/java/ping_pong/PingPongTest.class
400 COMMAND rm -f examples/java/ping_pong/Receiver.class
401 COMMAND rm -f examples/java/ping_pong/Sender.class
402 COMMAND rm -f examples/java/suspend/DreamMaster.class
403 COMMAND rm -f examples/java/suspend/LazyGuy.class
404 COMMAND rm -f examples/java/suspend/SuspendTest.class
405 WORKING_DIRECTORY "${PROJECT_DIRECTORY}"
406 )
407
408 add_custom_target(all-clean
409 COMMAND make clean
410 COMMAND make java-clean
411 COMMAND make doc-clean
412 COMMAND make supernovae-clean
413 )
414 if(enable_maintainer_mode)
415         add_custom_command(TARGET all-clean
416         COMMAND make maintainer-clean
417         )
418 endif(enable_maintainer_mode)
419
420 add_custom_target(sync-gforge
421 COMMAND chmod g+rw -R doc/
422 COMMAND chmod a+rX -R doc/
423 COMMAND rsync --verbose --cvs-exclude --compress --delete --delete-excluded --rsh=ssh --ignore-times --recursive --links --perms --times --omit-dir-times doc/html/ scm.gforge.inria.fr:/home/groups/simgrid/htdocs/doc/ || true
424 COMMAND scp doc/index.php doc/webcruft/robots.txt scm.gforge.inria.fr:/home/groups/simgrid/htdocs/
425 COMMAND scp doc/html/simgrid_modules2.png doc/html/simgrid_modules.png doc/webcruft/simgrid_logo.png doc/webcruft/simgrid_logo_small.png scm.gforge.inria.fr:/home/groups/simgrid/htdocs/
426 WORKING_DIRECTORY "${PROJECT_DIRECTORY}"
427 )
428
429 include(CPack)