--- /dev/null
+# LG 06/01/08
+# Adapted from vtk dashboard : arkadia.kitware all-debug-g++
+#
+# Style note: to distinguish between variables recognized by cmake/ctest and
+# user-defined variables, user-defined ones are declared lower case
+# Style note: lower case flavor of the cmake commands is used.
+
+cmake_minimum_required(VERSION 2.6)
+
+set(CTEST_PROJECT_NAME bbtk)
+
+#################################################################
+## TO CHANGE TO YOUR LOCAL CONFIG :
+set(CTEST_SITE "outang")
+set(arch "win32-vs7")
+set(CTEST_CMAKE_GENERATOR "Visual Studio 7 .NET 2003")
+set(CTEST_BUILD_CONFIGURATION "RelWithDebInfo")
+set(CMakeCacheFile "${CTEST_PROJECT_NAME}-CMakeCache.txt")
+set(CVSROOT ":ssh:guigues@cvs.creatis.insa-lyon.fr:/cvs/creatis")
+set(CTEST_DASHBOARD_ROOT "D:/guigues/dashboards")
+#################################################################
+
+#################################################################
+## CAN BE CHANGED :
+set(MODEL Experimental)
+set(NUMBER_OF_CPU 2)
+set(CVS "C:/Program Files/TortoiseCVS/cvs")
+set(CTEST_UPDATE_COMMAND "${CVS} -d ${CVSROOT} up -dAP")
+set(CTEST_CHECKOUT_COMMAND "${CVS} -d ${CVSROOT} co ${CTEST_PROJECT_NAME}")
+#################################################################
+
+#################################################################
+# NOTHING FOR USER BELOW
+
+set(CTEST_BUILD_NAME "${CTEST_PROJECT_NAME}-${CTEST_SITE}-${arch}-${CTEST_BUILD_CONFIGURATION}")
+
+set(source_dir ${CTEST_PROJECT_NAME})
+#set(extra_source_dir "VTKData")
+set(build_dir ${CTEST_PROJECT_NAME}-${CTEST_BUILD_CONFIGURATION})
+set(CTEST_TEST_TIMEOUT 140) # 70 seconds. 70 seconds is probably not enough when coverage is ON.
+
+#set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
+#set(CTEST_BUILD_COMMAND "make -j${NUMBER_OF_CPU}")
+
+
+set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
+set(CTEST_SOURCE_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+set(CTEST_BINARY_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${build_dir}")
+
+set(CTEST_COVERAGE_COMMAND "/usr/bin/gcov") # REQUIRED with new ctest script style.
+
+# --coverage: -fprofile-arcs -ftest-coverage (when compiling)
+# --coverage: -lgcov (when linking)
+
+ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
+
+# Common C/C++ flags:
+set(advanced_flags)
+#set(advanced_flags"-Wpointer-arith -Winvalid-pch -Wcast-align -Wwrite-strings -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wconversion")
+
+set(cov_options "-fprofile-arcs -ftest-coverage")
+
+set(common_flags "-fdiagnostics-show-option -Wall -Wextra -Wshadow ${advanced_flags} ${cov_options}")
+
+# C specific flags:
+set(advanced_c_flags)
+#set(advanced_c_flags "-Wtraditional-conversion")
+
+# C++ specific flags:
+set(advanced_cxx_flags)
+#set(advanced_cxx_flags "-Wstrict-null-sentinel -Wsign-conversion -Wsign-promo")
+
+#MESSAGE(STATUS ${CTEST_SCRIPT_DIRECTORY})
+
+configure_file(
+ ${CTEST_SCRIPT_DIRECTORY}/${CMakeCacheFile}
+ ${CTEST_BINARY_DIRECTORY}/CMakeCache.txt
+ COPY_ONLY)
+
+set(CTEST_UPDATE_COMMAND "cvs")
+
+# set any extra directories to do an update on
+#if(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+# message("Initial checkout of ${CTEST_PROJECT_NAME}")
+# execute_process(
+# COMMAND "${CTEST_UPDATE_COMMAND}" -q co ${CTEST_PROJECT_NAME}
+# WORKING_DIRECTORY "${CTEST_DASHBOARD_ROOT}"
+# )
+#else(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+# execute_process(
+# COMMAND "${CTEST_UPDATE_COMMAND}" -q up "-PdA"
+# WORKING_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${source_dir}"
+# )
+#endif(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+
+ctest_start(${MODEL})
+ctest_update(SOURCE "${CTEST_SOURCE_DIRECTORY}")
+ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}")
+ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}")
+ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+# save LD_LIBRARY_PATH
+#set(saved_ld_library_path "$ENV{LD_LIBRARY_PATH}")
+
+# Change it so that JavaRegression test can pass.
+#set(ENV{LD_LIBRARY_PATH} "/usr/lib/jvm/java-6-sun/jre/lib/i386/xawt:${saved_ld_libray_path}")
+#ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+#ctest_coverage(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+# restore LD_LIBRARY_PATH
+#set(ENV{LD_LIBRARY_PATH} "${saved_ld_library_path}")
+
+#ctest_memcheck(BUILD "${CTEST_BINARY_DIRECTORY}")
+ctest_submit()
--- /dev/null
+ctest -S crea-win32.ctest -VV
+ctest -S bbtk-win32.ctest -VV
+ctest -S creaImageIO-win32.ctest -VV
+ctest -S creaEnvironment-win32.ctest -VV
+ctest -S creaMaracasVisu-win32.ctest -VV
+ctest -S creaContours-win32.ctest -VV
\ No newline at end of file
--- /dev/null
+# LG 06/01/08
+# Adapted from vtk dashboard : arkadia.kitware all-debug-g++
+#
+# Style note: to distinguish between variables recognized by cmake/ctest and
+# user-defined variables, user-defined ones are declared lower case
+# Style note: lower case flavor of the cmake commands is used.
+
+cmake_minimum_required(VERSION 2.6)
+
+set(CTEST_PROJECT_NAME crea)
+
+#################################################################
+## TO CHANGE TO YOUR LOCAL CONFIG :
+set(CTEST_SITE "outang")
+set(arch "win32-vs7")
+set(CTEST_CMAKE_GENERATOR "Visual Studio 7 .NET 2003")
+set(CTEST_BUILD_CONFIGURATION "RelWithDebInfo")
+set(CMakeCacheFile "${CTEST_PROJECT_NAME}-CMakeCache.txt")
+set(CVSROOT ":ssh:guigues@cvs.creatis.insa-lyon.fr:/cvs/creatis")
+set(CTEST_DASHBOARD_ROOT "D:/guigues/dashboards")
+#################################################################
+
+#################################################################
+## CAN BE CHANGED :
+set(MODEL Experimental)
+set(NUMBER_OF_CPU 2)
+set(CVS "C:/Program Files/TortoiseCVS/cvs")
+set(CTEST_UPDATE_COMMAND "${CVS} -d ${CVSROOT} up -dAP")
+set(CTEST_CHECKOUT_COMMAND "${CVS} -d ${CVSROOT} co ${CTEST_PROJECT_NAME}")
+#################################################################
+
+#################################################################
+# NOTHING FOR USER BELOW
+
+set(CTEST_BUILD_NAME "${CTEST_PROJECT_NAME}-${CTEST_SITE}-${arch}-${CTEST_BUILD_CONFIGURATION}")
+
+set(source_dir ${CTEST_PROJECT_NAME})
+#set(extra_source_dir "VTKData")
+set(build_dir ${CTEST_PROJECT_NAME}-${CTEST_BUILD_CONFIGURATION})
+set(CTEST_TEST_TIMEOUT 140) # 70 seconds. 70 seconds is probably not enough when coverage is ON.
+
+#set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
+#set(CTEST_BUILD_COMMAND "make -j${NUMBER_OF_CPU}")
+
+
+set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
+set(CTEST_SOURCE_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+set(CTEST_BINARY_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${build_dir}")
+
+set(CTEST_COVERAGE_COMMAND "/usr/bin/gcov") # REQUIRED with new ctest script style.
+
+# --coverage: -fprofile-arcs -ftest-coverage (when compiling)
+# --coverage: -lgcov (when linking)
+
+ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
+
+# Common C/C++ flags:
+set(advanced_flags)
+#set(advanced_flags"-Wpointer-arith -Winvalid-pch -Wcast-align -Wwrite-strings -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wconversion")
+
+set(cov_options "-fprofile-arcs -ftest-coverage")
+
+set(common_flags "-fdiagnostics-show-option -Wall -Wextra -Wshadow ${advanced_flags} ${cov_options}")
+
+# C specific flags:
+set(advanced_c_flags)
+#set(advanced_c_flags "-Wtraditional-conversion")
+
+# C++ specific flags:
+set(advanced_cxx_flags)
+#set(advanced_cxx_flags "-Wstrict-null-sentinel -Wsign-conversion -Wsign-promo")
+
+#MESSAGE(STATUS ${CTEST_SCRIPT_DIRECTORY})
+
+configure_file(
+ ${CTEST_SCRIPT_DIRECTORY}/${CMakeCacheFile}
+ ${CTEST_BINARY_DIRECTORY}/CMakeCache.txt
+ COPY_ONLY)
+
+set(CTEST_UPDATE_COMMAND "cvs")
+
+# set any extra directories to do an update on
+#if(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+# message("Initial checkout of ${CTEST_PROJECT_NAME}")
+# execute_process(
+# COMMAND "${CTEST_UPDATE_COMMAND}" -q co ${CTEST_PROJECT_NAME}
+# WORKING_DIRECTORY "${CTEST_DASHBOARD_ROOT}"
+# )
+#else(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+# execute_process(
+# COMMAND "${CTEST_UPDATE_COMMAND}" -q up "-PdA"
+# WORKING_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${source_dir}"
+# )
+#endif(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+
+ctest_start(${MODEL})
+ctest_update(SOURCE "${CTEST_SOURCE_DIRECTORY}")
+ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}")
+ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}")
+ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+# save LD_LIBRARY_PATH
+#set(saved_ld_library_path "$ENV{LD_LIBRARY_PATH}")
+
+# Change it so that JavaRegression test can pass.
+#set(ENV{LD_LIBRARY_PATH} "/usr/lib/jvm/java-6-sun/jre/lib/i386/xawt:${saved_ld_libray_path}")
+#ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+#ctest_coverage(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+# restore LD_LIBRARY_PATH
+#set(ENV{LD_LIBRARY_PATH} "${saved_ld_library_path}")
+
+#ctest_memcheck(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+ctest_submit()
--- /dev/null
+# LG 06/01/08
+# Adapted from vtk dashboard : arkadia.kitware all-debug-g++
+#
+# Style note: to distinguish between variables recognized by cmake/ctest and
+# user-defined variables, user-defined ones are declared lower case
+# Style note: lower case flavor of the cmake commands is used.
+
+cmake_minimum_required(VERSION 2.6)
+
+set(CTEST_PROJECT_NAME creaContours)
+
+#################################################################
+## TO CHANGE TO YOUR LOCAL CONFIG :
+set(CTEST_SITE "outang")
+set(arch "win32-vs7")
+set(CTEST_CMAKE_GENERATOR "Visual Studio 7 .NET 2003")
+set(CTEST_BUILD_CONFIGURATION "RelWithDebInfo")
+set(CMakeCacheFile "${CTEST_PROJECT_NAME}-CMakeCache.txt")
+set(CVSROOT ":ssh:guigues@cvs.creatis.insa-lyon.fr:/cvs/creatis")
+set(CTEST_DASHBOARD_ROOT "D:/guigues/dashboards")
+#################################################################
+
+#################################################################
+## CAN BE CHANGED :
+set(MODEL Experimental)
+set(NUMBER_OF_CPU 2)
+set(CVS "C:/Program Files/TortoiseCVS/cvs")
+set(CTEST_UPDATE_COMMAND "${CVS} -d ${CVSROOT} up -dAP")
+set(CTEST_CHECKOUT_COMMAND "${CVS} -d ${CVSROOT} co ${CTEST_PROJECT_NAME}")
+#################################################################
+
+#################################################################
+# NOTHING FOR USER BELOW
+
+set(CTEST_BUILD_NAME "${CTEST_PROJECT_NAME}-${CTEST_SITE}-${arch}-${CTEST_BUILD_CONFIGURATION}")
+
+set(source_dir ${CTEST_PROJECT_NAME})
+#set(extra_source_dir "VTKData")
+set(build_dir ${CTEST_PROJECT_NAME}-${CTEST_BUILD_CONFIGURATION})
+set(CTEST_TEST_TIMEOUT 140) # 70 seconds. 70 seconds is probably not enough when coverage is ON.
+
+#set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
+#set(CTEST_BUILD_COMMAND "make -j${NUMBER_OF_CPU}")
+
+
+set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
+set(CTEST_SOURCE_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+set(CTEST_BINARY_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${build_dir}")
+
+set(CTEST_COVERAGE_COMMAND "/usr/bin/gcov") # REQUIRED with new ctest script style.
+
+# --coverage: -fprofile-arcs -ftest-coverage (when compiling)
+# --coverage: -lgcov (when linking)
+
+ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
+
+# Common C/C++ flags:
+set(advanced_flags)
+#set(advanced_flags"-Wpointer-arith -Winvalid-pch -Wcast-align -Wwrite-strings -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wconversion")
+
+set(cov_options "-fprofile-arcs -ftest-coverage")
+
+set(common_flags "-fdiagnostics-show-option -Wall -Wextra -Wshadow ${advanced_flags} ${cov_options}")
+
+# C specific flags:
+set(advanced_c_flags)
+#set(advanced_c_flags "-Wtraditional-conversion")
+
+# C++ specific flags:
+set(advanced_cxx_flags)
+#set(advanced_cxx_flags "-Wstrict-null-sentinel -Wsign-conversion -Wsign-promo")
+
+#MESSAGE(STATUS ${CTEST_SCRIPT_DIRECTORY})
+
+configure_file(
+ ${CTEST_SCRIPT_DIRECTORY}/${CMakeCacheFile}
+ ${CTEST_BINARY_DIRECTORY}/CMakeCache.txt
+ COPY_ONLY)
+
+set(CTEST_UPDATE_COMMAND "cvs")
+
+# set any extra directories to do an update on
+#if(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+# message("Initial checkout of ${CTEST_PROJECT_NAME}")
+# execute_process(
+# COMMAND "${CTEST_UPDATE_COMMAND}" -q co ${CTEST_PROJECT_NAME}
+# WORKING_DIRECTORY "${CTEST_DASHBOARD_ROOT}"
+# )
+#else(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+# execute_process(
+# COMMAND "${CTEST_UPDATE_COMMAND}" -q up "-PdA"
+# WORKING_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${source_dir}"
+# )
+#endif(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+
+ctest_start(${MODEL})
+ctest_update(SOURCE "${CTEST_SOURCE_DIRECTORY}")
+ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}")
+ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}")
+ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+# save LD_LIBRARY_PATH
+#set(saved_ld_library_path "$ENV{LD_LIBRARY_PATH}")
+
+# Change it so that JavaRegression test can pass.
+#set(ENV{LD_LIBRARY_PATH} "/usr/lib/jvm/java-6-sun/jre/lib/i386/xawt:${saved_ld_libray_path}")
+#ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+#ctest_coverage(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+# restore LD_LIBRARY_PATH
+#set(ENV{LD_LIBRARY_PATH} "${saved_ld_library_path}")
+
+#ctest_memcheck(BUILD "${CTEST_BINARY_DIRECTORY}")
+ctest_submit()
--- /dev/null
+# LG 06/01/08
+# Adapted from vtk dashboard : arkadia.kitware all-debug-g++
+#
+# Style note: to distinguish between variables recognized by cmake/ctest and
+# user-defined variables, user-defined ones are declared lower case
+# Style note: lower case flavor of the cmake commands is used.
+
+cmake_minimum_required(VERSION 2.6)
+
+set(CTEST_PROJECT_NAME creaEnvironment)
+
+#################################################################
+## TO CHANGE TO YOUR LOCAL CONFIG :
+set(CTEST_SITE "outang")
+set(arch "win32-vs7")
+set(CTEST_CMAKE_GENERATOR "Visual Studio 7 .NET 2003")
+set(CTEST_BUILD_CONFIGURATION "RelWithDebInfo")
+set(CMakeCacheFile "${CTEST_PROJECT_NAME}-CMakeCache.txt")
+set(CVSROOT ":ssh:guigues@cvs.creatis.insa-lyon.fr:/cvs/creatis")
+set(CTEST_DASHBOARD_ROOT "D:/guigues/dashboards")
+#################################################################
+
+#################################################################
+## CAN BE CHANGED :
+set(MODEL Experimental)
+set(NUMBER_OF_CPU 2)
+set(CVS "C:/Program Files/TortoiseCVS/cvs")
+set(CTEST_UPDATE_COMMAND "${CVS} -d ${CVSROOT} up -dAP")
+set(CTEST_CHECKOUT_COMMAND "${CVS} -d ${CVSROOT} co ${CTEST_PROJECT_NAME}")
+#################################################################
+
+#################################################################
+# NOTHING FOR USER BELOW
+
+set(CTEST_BUILD_NAME "${CTEST_PROJECT_NAME}-${CTEST_SITE}-${arch}-${CTEST_BUILD_CONFIGURATION}")
+
+set(source_dir ${CTEST_PROJECT_NAME})
+#set(extra_source_dir "VTKData")
+set(build_dir ${CTEST_PROJECT_NAME}-${CTEST_BUILD_CONFIGURATION})
+set(CTEST_TEST_TIMEOUT 140) # 70 seconds. 70 seconds is probably not enough when coverage is ON.
+
+#set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
+#set(CTEST_BUILD_COMMAND "make -j${NUMBER_OF_CPU}")
+
+
+set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
+set(CTEST_SOURCE_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+set(CTEST_BINARY_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${build_dir}")
+
+set(CTEST_COVERAGE_COMMAND "/usr/bin/gcov") # REQUIRED with new ctest script style.
+
+# --coverage: -fprofile-arcs -ftest-coverage (when compiling)
+# --coverage: -lgcov (when linking)
+
+ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
+
+# Common C/C++ flags:
+set(advanced_flags)
+#set(advanced_flags"-Wpointer-arith -Winvalid-pch -Wcast-align -Wwrite-strings -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wconversion")
+
+set(cov_options "-fprofile-arcs -ftest-coverage")
+
+set(common_flags "-fdiagnostics-show-option -Wall -Wextra -Wshadow ${advanced_flags} ${cov_options}")
+
+# C specific flags:
+set(advanced_c_flags)
+#set(advanced_c_flags "-Wtraditional-conversion")
+
+# C++ specific flags:
+set(advanced_cxx_flags)
+#set(advanced_cxx_flags "-Wstrict-null-sentinel -Wsign-conversion -Wsign-promo")
+
+#MESSAGE(STATUS ${CTEST_SCRIPT_DIRECTORY})
+
+configure_file(
+ ${CTEST_SCRIPT_DIRECTORY}/${CMakeCacheFile}
+ ${CTEST_BINARY_DIRECTORY}/CMakeCache.txt
+ COPY_ONLY)
+
+set(CTEST_UPDATE_COMMAND "cvs")
+
+# set any extra directories to do an update on
+#if(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+# message("Initial checkout of ${CTEST_PROJECT_NAME}")
+# execute_process(
+# COMMAND "${CTEST_UPDATE_COMMAND}" -q co ${CTEST_PROJECT_NAME}
+# WORKING_DIRECTORY "${CTEST_DASHBOARD_ROOT}"
+# )
+#else(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+# execute_process(
+# COMMAND "${CTEST_UPDATE_COMMAND}" -q up "-PdA"
+# WORKING_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${source_dir}"
+# )
+#endif(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+
+ctest_start(${MODEL})
+ctest_update(SOURCE "${CTEST_SOURCE_DIRECTORY}")
+ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}")
+ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}")
+ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+# save LD_LIBRARY_PATH
+#set(saved_ld_library_path "$ENV{LD_LIBRARY_PATH}")
+
+# Change it so that JavaRegression test can pass.
+#set(ENV{LD_LIBRARY_PATH} "/usr/lib/jvm/java-6-sun/jre/lib/i386/xawt:${saved_ld_libray_path}")
+#ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+#ctest_coverage(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+# restore LD_LIBRARY_PATH
+#set(ENV{LD_LIBRARY_PATH} "${saved_ld_library_path}")
+
+#ctest_memcheck(BUILD "${CTEST_BINARY_DIRECTORY}")
+ctest_submit()
--- /dev/null
+# LG 06/01/08
+# Adapted from vtk dashboard : arkadia.kitware all-debug-g++
+#
+# Style note: to distinguish between variables recognized by cmake/ctest and
+# user-defined variables, user-defined ones are declared lower case
+# Style note: lower case flavor of the cmake commands is used.
+
+cmake_minimum_required(VERSION 2.6)
+
+set(CTEST_PROJECT_NAME creaImageIO)
+
+#################################################################
+## TO CHANGE TO YOUR LOCAL CONFIG :
+set(CTEST_SITE "outang")
+set(arch "win32-vs7")
+set(CTEST_CMAKE_GENERATOR "Visual Studio 7 .NET 2003")
+set(CTEST_BUILD_CONFIGURATION "RelWithDebInfo")
+set(CMakeCacheFile "${CTEST_PROJECT_NAME}-CMakeCache.txt")
+set(CVSROOT ":ssh:guigues@cvs.creatis.insa-lyon.fr:/cvs/creatis")
+set(CTEST_DASHBOARD_ROOT "D:/guigues/dashboards")
+#################################################################
+
+#################################################################
+## CAN BE CHANGED :
+set(MODEL Experimental)
+set(NUMBER_OF_CPU 2)
+set(CVS "C:/Program Files/TortoiseCVS/cvs")
+set(CTEST_UPDATE_COMMAND "${CVS} -d ${CVSROOT} up -dAP")
+set(CTEST_CHECKOUT_COMMAND "${CVS} -d ${CVSROOT} co ${CTEST_PROJECT_NAME}")
+#################################################################
+
+#################################################################
+# NOTHING FOR USER BELOW
+
+set(CTEST_BUILD_NAME "${CTEST_PROJECT_NAME}-${CTEST_SITE}-${arch}-${CTEST_BUILD_CONFIGURATION}")
+
+set(source_dir ${CTEST_PROJECT_NAME})
+#set(extra_source_dir "VTKData")
+set(build_dir ${CTEST_PROJECT_NAME}-${CTEST_BUILD_CONFIGURATION})
+set(CTEST_TEST_TIMEOUT 140) # 70 seconds. 70 seconds is probably not enough when coverage is ON.
+
+#set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
+#set(CTEST_BUILD_COMMAND "make -j${NUMBER_OF_CPU}")
+
+
+set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
+set(CTEST_SOURCE_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+set(CTEST_BINARY_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${build_dir}")
+
+set(CTEST_COVERAGE_COMMAND "/usr/bin/gcov") # REQUIRED with new ctest script style.
+
+# --coverage: -fprofile-arcs -ftest-coverage (when compiling)
+# --coverage: -lgcov (when linking)
+
+ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
+
+# Common C/C++ flags:
+set(advanced_flags)
+#set(advanced_flags"-Wpointer-arith -Winvalid-pch -Wcast-align -Wwrite-strings -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wconversion")
+
+set(cov_options "-fprofile-arcs -ftest-coverage")
+
+set(common_flags "-fdiagnostics-show-option -Wall -Wextra -Wshadow ${advanced_flags} ${cov_options}")
+
+# C specific flags:
+set(advanced_c_flags)
+#set(advanced_c_flags "-Wtraditional-conversion")
+
+# C++ specific flags:
+set(advanced_cxx_flags)
+#set(advanced_cxx_flags "-Wstrict-null-sentinel -Wsign-conversion -Wsign-promo")
+
+#MESSAGE(STATUS ${CTEST_SCRIPT_DIRECTORY})
+
+configure_file(
+ ${CTEST_SCRIPT_DIRECTORY}/${CMakeCacheFile}
+ ${CTEST_BINARY_DIRECTORY}/CMakeCache.txt
+ COPY_ONLY)
+
+set(CTEST_UPDATE_COMMAND "cvs")
+
+# set any extra directories to do an update on
+#if(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+# message("Initial checkout of ${CTEST_PROJECT_NAME}")
+# execute_process(
+# COMMAND "${CTEST_UPDATE_COMMAND}" -q co ${CTEST_PROJECT_NAME}
+# WORKING_DIRECTORY "${CTEST_DASHBOARD_ROOT}"
+# )
+#else(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+# execute_process(
+# COMMAND "${CTEST_UPDATE_COMMAND}" -q up "-PdA"
+# WORKING_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${source_dir}"
+# )
+#endif(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+
+ctest_start(${MODEL})
+ctest_update(SOURCE "${CTEST_SOURCE_DIRECTORY}")
+ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}")
+ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}")
+ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+# save LD_LIBRARY_PATH
+#set(saved_ld_library_path "$ENV{LD_LIBRARY_PATH}")
+
+# Change it so that JavaRegression test can pass.
+#set(ENV{LD_LIBRARY_PATH} "/usr/lib/jvm/java-6-sun/jre/lib/i386/xawt:${saved_ld_libray_path}")
+#ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+#ctest_coverage(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+# restore LD_LIBRARY_PATH
+#set(ENV{LD_LIBRARY_PATH} "${saved_ld_library_path}")
+
+#ctest_memcheck(BUILD "${CTEST_BINARY_DIRECTORY}")
+ctest_submit()
--- /dev/null
+# LG 06/01/08
+# Adapted from vtk dashboard : arkadia.kitware all-debug-g++
+#
+# Style note: to distinguish between variables recognized by cmake/ctest and
+# user-defined variables, user-defined ones are declared lower case
+# Style note: lower case flavor of the cmake commands is used.
+
+cmake_minimum_required(VERSION 2.6)
+
+set(CTEST_PROJECT_NAME creaMaracasVisu)
+
+#################################################################
+## TO CHANGE TO YOUR LOCAL CONFIG :
+set(CTEST_SITE "outang")
+set(arch "win32-vs7")
+set(CTEST_CMAKE_GENERATOR "Visual Studio 7 .NET 2003")
+set(CTEST_BUILD_CONFIGURATION "RelWithDebInfo")
+set(CMakeCacheFile "${CTEST_PROJECT_NAME}-CMakeCache.txt")
+set(CVSROOT ":ssh:guigues@cvs.creatis.insa-lyon.fr:/cvs/creatis")
+set(CTEST_DASHBOARD_ROOT "D:/guigues/dashboards")
+#################################################################
+
+#################################################################
+## CAN BE CHANGED :
+set(MODEL Experimental)
+set(NUMBER_OF_CPU 2)
+set(CVS "C:/Program Files/TortoiseCVS/cvs")
+set(CTEST_UPDATE_COMMAND "${CVS} -d ${CVSROOT} up -dAP")
+set(CTEST_CHECKOUT_COMMAND "${CVS} -d ${CVSROOT} co ${CTEST_PROJECT_NAME}")
+#################################################################
+
+#################################################################
+# NOTHING FOR USER BELOW
+
+set(CTEST_BUILD_NAME "${CTEST_PROJECT_NAME}-${CTEST_SITE}-${arch}-${CTEST_BUILD_CONFIGURATION}")
+
+set(source_dir ${CTEST_PROJECT_NAME})
+#set(extra_source_dir "VTKData")
+set(build_dir ${CTEST_PROJECT_NAME}-${CTEST_BUILD_CONFIGURATION})
+set(CTEST_TEST_TIMEOUT 140) # 70 seconds. 70 seconds is probably not enough when coverage is ON.
+
+#set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
+#set(CTEST_BUILD_COMMAND "make -j${NUMBER_OF_CPU}")
+
+
+set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
+set(CTEST_SOURCE_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+set(CTEST_BINARY_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${build_dir}")
+
+set(CTEST_COVERAGE_COMMAND "/usr/bin/gcov") # REQUIRED with new ctest script style.
+
+# --coverage: -fprofile-arcs -ftest-coverage (when compiling)
+# --coverage: -lgcov (when linking)
+
+ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
+
+# Common C/C++ flags:
+set(advanced_flags)
+#set(advanced_flags"-Wpointer-arith -Winvalid-pch -Wcast-align -Wwrite-strings -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wconversion")
+
+set(cov_options "-fprofile-arcs -ftest-coverage")
+
+set(common_flags "-fdiagnostics-show-option -Wall -Wextra -Wshadow ${advanced_flags} ${cov_options}")
+
+# C specific flags:
+set(advanced_c_flags)
+#set(advanced_c_flags "-Wtraditional-conversion")
+
+# C++ specific flags:
+set(advanced_cxx_flags)
+#set(advanced_cxx_flags "-Wstrict-null-sentinel -Wsign-conversion -Wsign-promo")
+
+#MESSAGE(STATUS ${CTEST_SCRIPT_DIRECTORY})
+
+configure_file(
+ ${CTEST_SCRIPT_DIRECTORY}/${CMakeCacheFile}
+ ${CTEST_BINARY_DIRECTORY}/CMakeCache.txt
+ COPY_ONLY)
+
+set(CTEST_UPDATE_COMMAND "cvs")
+
+# set any extra directories to do an update on
+#if(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+# message("Initial checkout of ${CTEST_PROJECT_NAME}")
+# execute_process(
+# COMMAND "${CTEST_UPDATE_COMMAND}" -q co ${CTEST_PROJECT_NAME}
+# WORKING_DIRECTORY "${CTEST_DASHBOARD_ROOT}"
+# )
+#else(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+# execute_process(
+# COMMAND "${CTEST_UPDATE_COMMAND}" -q up "-PdA"
+# WORKING_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${source_dir}"
+# )
+#endif(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${source_dir}")
+
+ctest_start(${MODEL})
+ctest_update(SOURCE "${CTEST_SOURCE_DIRECTORY}")
+ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}")
+ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}")
+ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+# save LD_LIBRARY_PATH
+#set(saved_ld_library_path "$ENV{LD_LIBRARY_PATH}")
+
+# Change it so that JavaRegression test can pass.
+#set(ENV{LD_LIBRARY_PATH} "/usr/lib/jvm/java-6-sun/jre/lib/i386/xawt:${saved_ld_libray_path}")
+#ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+#ctest_coverage(BUILD "${CTEST_BINARY_DIRECTORY}")
+
+# restore LD_LIBRARY_PATH
+#set(ENV{LD_LIBRARY_PATH} "${saved_ld_library_path}")
+
+#ctest_memcheck(BUILD "${CTEST_BINARY_DIRECTORY}")
+ctest_submit()