Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
034be4526f1ff601b49ad9fbcf21469e466965ff
[simgrid.git] / buildtools / scripts / test_dist_with_cmake.sh
1 #! /bin/bash
2 # This script waits that the make_dist script finishes building the right archive in ~/simgrid
3 # and then builds it using cmake. Warning, cmake is only a wrapper for now, you still need the autotools
4
5
6 source ~/simgrid-svn/buildtools/scripts/simgrid_build.conf
7
8 open_archive
9
10 # Make sure we have cmake installed
11 which_cmake=`which cmake` 
12 if [ x$which_cmake = x ] ; then
13   echo "Try to install cmake"
14   sudo apt-get install cmake
15 fi
16
17 # Launch CMake
18 cd buildtools/Cmake
19 cmake ./
20
21 # Run CTest, and push the results
22 ctest -D Experimental CTEST_FULL_OUTPUT