your system/install specific options (libraries paths, options, build type, ...)
c) Copy the file 'CMakeCache.txt' from the build tree to your testing directory
(where you will run ctest, usually the same than CTEST_DASHBOARD_ROOT),
- giving it a meaningfull name
+ and rename it with a meaningfull name like :
(PROJECT-BUILDTYPE-CMakeCache.txt, e.g. crea-debug-CMakeCache.txt)
d) Edit the copied file and comment out (type an initial #) all lines which
make explicit reference to the build directory
#//Start directory with the top level CMakeLists.txt file for this
#// project
#CMAKE_HOME_DIRECTORY:INTERNAL=/home/guigues/coding/CreaTools/crea
-
-
+
2) Copy in CTEST_DASHBOARD_ROOT the right ctest file to another filename,
e.g. copy 'crea-linux.ctest' to 'crea-mymachine-debug.ctest'
-
3) Edit the new file and set :
* The architecture description, typically os+compiler with versions
e.g. fc9-gcc4.3.0, win32-vs8, etc.
#################################################################
## MANDATORY
-set(arch "fc9")
+## You MUST modify the following lines, according to what you use.
+set(arch "fc9-gcc4.1.2")
set(buildtype "debug")
set(CMakeCacheFile "bbtk-debug-CMakeCache.txt")
#################################################################
#################################################################
-## CAN BE CHANGED :
+## MAY BE CHANGED :
set(CTEST_DASHBOARD_ROOT "$ENV{HOME}/dashboards")
set(MODEL Experimental)
set(NUMBER_OF_CPU 2)
#################################################################
#################################################################
-# NOTHING FOR USER BELOW
+## The following lines must NOT be modified!
+## NOTHING FOR USER BELOW
+## NO RATS ALLOWED!
+## HANDS OFF!
+## ;-)
+
set(project_name "bbtk")
set(CTEST_SITE "$ENV{HOSTNAME}")
## MANDATORY
# On my machine $ENV{HOSTNAME} does not work. why ?
# Have to set the host name manually
-set(CTEST_SITE "cercocebe")
+
+set(CTEST_SITE "cercocebe")
#$ENV{HOSTNAME}")
set(arch "osx_10.5.6")
set(buildtype "debug")
#################################################################
#################################################################
-## CAN BE CHANGED :
+## MAY BE CHANGED :
set(CTEST_DASHBOARD_ROOT "$ENV{HOME}/dashboards")
set(MODEL Experimental)
set(NUMBER_OF_CPU 2)
#################################################################
#################################################################
-# NOTHING FOR USER BELOW
+## The following lines must NOT be modified!
+## NOTHING FOR USER BELOW
+## NO RATS ALLOWED!
+## HANDS OFF!
+## ;-)
+
set(project_name "bbtk")
+set(project_name "bbtk")
set(CTEST_SITE "cercocebe")
#set(CTEST_SITE "$ENV{HOSTNAME}")
set(CTEST_BUILD_NAME "${project_name}-${CTEST_SITE}-${arch}-${buildtype}")
#################################################################
## MANDATORY
## You MUST modify the following lines, according to what you use.
+
set(arch "fc9-gcc4.1.2")
set(buildtype "debug")
set(CMakeCacheFile "crea-debug-CMakeCache.txt")
## NO RATS ALLOWED!
## HANDS OFF!
## ;-)
-
+
set(project_name "crea")
set(CTEST_SITE "$ENV{HOSTNAME}")
## MANDATORY
# On my machine $ENV{HOSTNAME} does not work. why ?
# Have to set the host name manually
-set(CTEST_SITE "cercocebe")
+
+set(CTEST_SITE "cercocebe")
#$ENV{HOSTNAME}")
set(arch "osx_10.5.6")
set(buildtype "debug")
#################################################################
#################################################################
-## CAN BE CHANGED :
+## MAY BE CHANGED :
set(CTEST_DASHBOARD_ROOT "$ENV{HOME}/dashboards")
set(MODEL Experimental)
set(NUMBER_OF_CPU 2)
#################################################################
#################################################################
-# NOTHING FOR USER BELOW
-set(project_name "crea")
+## The following lines must NOT be modified!
+## NOTHING FOR USER BELOW
+## NO RATS ALLOWED!
+## HANDS OFF!
+## ;-)
+set(project_name "crea")
set(CTEST_BUILD_NAME "${project_name}-${CTEST_SITE}-${arch}-${buildtype}")