paradiseo/contribution/branches/PhyloMOEA/PhyloMOEA-serial/PhyloMOEA/CMakeLists.txt
wcancino 6647cde165 Final modifications to serial version
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1556 331e1502-861f-0410-8da2-ba01fb791d7f
2009-03-17 09:54:32 +00:00

37 lines
1.3 KiB
CMake

######################################################################################
### 1) Include the sources
######################################################################################
INCLUDE_DIRECTORIES(${CMAKE_INSTALL_PREFIX}/include/paradiseo/eo)
INCLUDE_DIRECTORIES(${CMAKE_INSTALL_PREFIX}/include/paradiseo/moeo)
INCLUDE_DIRECTORIES(${CMAKE_INSTALL_PREFIX}/include/paradiseo/peo)
INCLUDE_DIRECTORIES(.)
INCLUDE_DIRECTORIES(/usr/local/include/GTL)
LINK_DIRECTORIES(${CMAKE_INSTALL_PREFIX}/lib)
LINK_DIRECTORIES(/usr/local/lib)
######################################################################################
### 2) Define PhyloMOEA target
######################################################################################
SET( PHYLOMOEA_SOURCES eigensolver.cpp
likelihoodcalculator.cpp
likoptimizer.cpp
matrixutils.cpp
parsimonycalculator.cpp
PhyloMOEA.cpp
probmatrixcontainer.cpp
ProbMatrix.cpp
RandomNr.cpp
Sequences.cpp
SubsModel.cpp
phylotreeIND.cpp
treeIterator.cpp
utils.cpp )
ADD_EXECUTABLE( PhyloMOEA-serial ${PHYLOMOEA_SOURCES} )
TARGET_LINK_LIBRARIES(PhyloMOEA-serial gsl gslcblas GTL eo eoutils ga moeo cma)
INSTALL( TARGETS PhyloMOEA-serial RUNTIME DESTINATION bin)