diff --git a/trunk/paradiseo-mo/CMakeLists.txt b/trunk/paradiseo-mo/CMakeLists.txt index 6ec78b35f..7627ba19e 100644 --- a/trunk/paradiseo-mo/CMakeLists.txt +++ b/trunk/paradiseo-mo/CMakeLists.txt @@ -35,6 +35,11 @@ IF(NOT DEFINED config OR NOT config) give the path of the install configuration file. ") ENDIF(NOT DEFINED config OR NOT config) +EXECUTE_PROCESS( + COMMAND ${CMAKE_COMMAND} -E copy_if_different + ${ParadisEO-MOEO_SOURCE_DIR}/CTestCustom.cmake + ${ParadisEO-MOEO_BINARY_DIR}/CTestCustom.cmake) + # Need the config file whose full path is given thanks to the "config" variable INCLUDE(${config}) ########################################################################################################################################## diff --git a/trunk/paradiseo-mo/CTestCustom.cmake b/trunk/paradiseo-mo/CTestCustom.cmake new file mode 100644 index 000000000..399b1bc46 --- /dev/null +++ b/trunk/paradiseo-mo/CTestCustom.cmake @@ -0,0 +1,5 @@ +SET(CTEST_CUSTOM_COVERAGE_EXCLUDE + ${CTEST_CUSTOM_COVERAGE_EXCLUDE} +"test/" +"paradiseo-eo/" +) diff --git a/trunk/paradiseo-mo/tutorial/oneMax/application/CMakeLists.txt b/trunk/paradiseo-mo/tutorial/oneMax/application/CMakeLists.txt index 2053312af..8fcb64abd 100644 --- a/trunk/paradiseo-mo/tutorial/oneMax/application/CMakeLists.txt +++ b/trunk/paradiseo-mo/tutorial/oneMax/application/CMakeLists.txt @@ -22,4 +22,6 @@ TARGET_LINK_LIBRARIES(testHCneutral eoutils ga eo) TARGET_LINK_LIBRARIES(testMetropolisHasting eoutils ga eo) #TARGET_LINK_LIBRARIES(testWithMove eoutils ga eo) TARGET_LINK_LIBRARIES(testSimpleTS eoutils ga eo) -TARGET_LINK_LIBRARIES(testRandomNeutralWalk eoutils ga eo) \ No newline at end of file +TARGET_LINK_LIBRARIES(testRandomNeutralWalk eoutils ga eo) + + \ No newline at end of file