paradiseo/tutorial/edo/cmaes/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

37 lines
970 B
CMake
Executable file

project(cmaes)
#find_package(Eigen3 REQUIRED)
#include_directories(EIGEN3_INCLUDE_DIR)
include_directories( ${EIGEN3_INCLUDE_DIR} )
#message( "MESSAGE:" ${EIGEN3_INCLUDE_DIR} )
#find_package(Boost 1.33.0)
#include_directories(${Boost_INCLUDE_DIRS})
link_directories(${Boost_LIBRARY_DIRS})
#include_directories(${CMAKE_CURRENT_SOURCE_DIR})
#include_directories(${EO_SRC_DIR}/src)
#include_directories(${EDO_SRC_DIR}/src)
#link_directories(${EO_BIN_DIRS}/${LIB})
#link_directories(${EDO_BIN_DIRS}/${LIB})
# set(RESOURCES
# ${PROJECT_NAME}.param
# )
#
# foreach(file ${RESOURCES})
# execute_process(
# COMMAND ${CMAKE_COMMAND} -E copy_if_different
# ${CMAKE_CURRENT_SOURCE_DIR}/${file}
# ${EDO_BIN_DIR}/${file}
# )
# endforeach(file)
#file(GLOB SOURCES *.cpp)
set(EXECUTABLE_OUTPUT_PATH ${EDO_BIN_DIR})
add_executable(${PROJECT_NAME} main.cpp)
target_link_libraries(${PROJECT_NAME} eo eoutils edoutils ${Boost_LIBRARIES})