paradiseo/test/moeo/CMakeLists.txt
Adèle Harrissart 490e837f7a * New tree configuration of the project:
.../
   ...           + -- EO
   |             |
   |             |
   +-- src ----- + -- EDO
   |             |
   |             |
   +-- test      + -- MO
   |             |
   |             |
   +-- tutorial  + -- MOEO
   |             |
   |             |
   +-- doc       + -- SMP
   |             |
   |             |
   ...           + -- EOMPI
                 |
                 |
                 + -- EOSERIAL

Question for current maintainers: ./README: new release?

Also:

* Moving out eompi & eoserial modules (issue #2).

* Correction of the errors when executing "make doc" command.

* Adding a solution for the conflicting headers problem (see the two CMake Cache
 Values: PROJECT_TAG & PROJECT_HRS_INSTALL_SUBPATH) (issue #1)

* Header inclusions:
        ** src: changing absolute paths into relative paths ('#include <...>' -> '#include "..."')
        ** test, tutorial: changing relative paths into absolute paths ('#include "..."' -> '#include <...>')

* Moving out some scripts from EDO -> to the root

* Add a new script for compilation and installation (see build_gcc_linux_install)

* Compilation with uBLAS library or EDO module: now ok

* Minor modifications on README & INSTALL files

* Comment eompi failed tests with no end

*** TODO: CPack (debian (DEB) & RedHat (RPM) packages) (issues #6 & #7) ***
2014-09-06 13:04:35 +02:00

86 lines
2.8 KiB
CMake
Executable file

######################################################################################
### 0) Include headers
######################################################################################
#include_directories(${EO_SRC_DIR}/src)
#include_directories(${MO_SRC_DIR}/src)
#include_directories(${MOEO_SRC_DIR}/src)
#include_directories(${CMAKE_CURRENT_SOURCE_DIR})
######################################################################################
### 1) Define test list
######################################################################################
set(TEST_LIST
t-moeo
t-moeoBitVector
t-moeoRealVector
t-moeoUnboundedArchive
t-moeoParetoObjectiveVectorComparator
t-moeoStrictObjectiveVectorComparator
t-moeoWeakObjectiveVectorComparator
t-moeoEpsilonObjectiveVectorComparator
#t-moeoAggregativeComparator # TEMPORARLY BYPASSED
#t-moeoDiversityThenFitnessComparator # IDEM.
#t-moeoFitnessThenDiversityComparator # IDEM
t-moeoAchievementFitnessAssignment
t-moeoExpBinaryIndicatorBasedFitnessAssignment
t-moeoCrowdingDiversityAssignment
t-moeoSharingDiversityAssignment
t-moeoIBEA
t-moeoNSGA
t-moeoNSGAII
t-moeoSEEA
t-moeoMax3Obj
t-moeoEasyEA
t-moeoDominanceCountFitnessAssignment
t-moeoDominanceRankFitnessAssignment
t-moeoDominanceCountRankingFitnessAssignment
t-moeoDominanceDepthFitnessAssignment
t-moeoNearestNeighborDiversityAssignment
t-moeoSPEA2Archive
t-moeoSPEA2
t-moeoDominanceMatrix
t-moeoVecVsVecAdditiveEpsilonBinaryMetric
t-moeoVecVsVecMultiplicativeEpsilonBinaryMetric
t-moeoHyperVolumeMetric
t-moeoHyperVolumeDifferenceMetric
t-moeoIntVector
t-moeoImprOnlyBoundedArchive
t-moeoFitDivBoundedArchive
t-moeoDetArchiveSelect
t-moeoASEEA
t-moeoEpsilonHyperboxArchive
#t-moeoQuadTreeIndex
#t-moeoQuickUnboundedArchiveIndex
t-moeoAggregationFitnessAssignment
t-moeoConstraintFitnessAssignment
t-moeoChebyshevMetric
t-moeoChebyshevOrientedMetric
t-moeoASFAMetric
t-moeoASFAOrMetric
t-moeoExhaustiveNeighborhoodExplorer
t-moeoFirstImprovingNeighborhoodExplorer
t-moeoSimpleSubNeighborhoodExplorer
t-moeoNoDesimprovingNeighborhoodExplorer
t-moeoPLS1
t-moeoPLS2
t-moeoExhaustiveUnvisitedSelect
t-moeoNumberUnvisitedSelect
t-moeoDMLSMonOp
t-moeoDMLSGenUpdater
t-moeo2DMinHypervolumeArchive
)
######################################################################################
### 3) Create each test
######################################################################################
foreach (test ${TEST_LIST})
set("T_${test}_SOURCES" "${test}.cpp")
add_executable(${test} ${T_${test}_SOURCES})
add_test(${test} ${test})
target_link_libraries(${test} moeo ga es eoutils eo)
install(TARGETS ${test} RUNTIME DESTINATION share/${PROJECT_TAG}/moeo/test COMPONENT tests)
endforeach (test)