X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=ctest%2FREADME.txt;h=a717bccda2d31feb602d6ce73339b6658dab8e4d;hb=e427258ed12d1a98f7d8ab680db9ee258b09d857;hp=8b446080f47aeb95cb9e9a8132980e60b65b8358;hpb=fcb124ac2193f74061e47888becc4ff99345b688;p=creaToolsTools.git diff --git a/ctest/README.txt b/ctest/README.txt index 8b44608..a717bcc 100644 --- a/ctest/README.txt +++ b/ctest/README.txt @@ -1,3 +1,27 @@ +# --------------------------------------------------------------------- +# +# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +# pour la Santé) +# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +# +# This software is governed by the CeCILL-B license under French law and +# abiding by the rules of distribution of free software. You can use, +# modify and/ or redistribute the software under the terms of the CeCILL-B +# license as circulated by CEA, CNRS and INRIA at the following URL +# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +# or in the file LICENSE.txt. +# +# As a counterpart to the access to the source code and rights to copy, +# modify and redistribute granted by the license, users are provided only +# with a limited warranty and the software's author, the holder of the +# economic rights, and the successive licensors have only limited +# liability. +# +# The fact that you are presently reading this means that you have had +# knowledge of the CeCILL-B license and that you accept its terms. +# ------------------------------------------------------------------------ */ + + This folder provides ctest scripts to automatically build anyone of the 'creatools', test it and submit results to creatis dashboard. @@ -12,7 +36,8 @@ of the 'creatools', test it and submit results to creatis dashboard. in your ctest file (see below) 2) Copy the ctest file corresponding to your os in the test dir, - e.g. copy 'creatools-linux.ctest' if you are on a linux platform. + e.g. copy 'creatools-linux-osx.ctest' if you are on a linux + or on a mac osx platform. 3) Edit the copied file and make the necessary changes inside following the comments therein. @@ -33,7 +58,7 @@ of the 'creatools', test it and submit results to creatis dashboard. 5) To run a test, type in test dir: 'ctest -S creatools-OS.ctest,PROJECTNAME' [-V|-VV] Where : * 'creatools-OS.ctest' is the name of your customized ctest file, - (OS is your OS type) + (e.g. creatools-linux-osx.ctest) * PROJECTNAME is the name of the project to build and test (e.g. crea, bbtk, ...) * add -V or -VV tu run in verbose or extra-verbose mode @@ -53,6 +78,8 @@ A consistent build order is: - creaMaracasVisu (depends on crea, bbtk) - creaContours (depends on crea, bbtk, creaImageIO, creaEnvironment, creaMaracasVisu) +On linux or osx, see the bash script ctest-all-creatools.sh + ---------------- REM: To schedule automatic build, see : http://www.vtk.org/Wiki/CMake_Scripting_Of_CTest