paradiseo/tutorial/eo/Templates
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
..
binCrossover.tmpl * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
ChangeLog * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
CMakeLists.txt.src-tmpl * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
CMakeLists.txt.top-tmpl * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
configure.ac.tmpl * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
continue.tmpl * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
createEOproject.sh * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
EO.tpl * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
eoMyStruct.tmpl * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
evalFunc.tmpl * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
init.tmpl * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
lessOffspringExternalSelectorGenOp.tmpl * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
lessOffspringSameSelectorGenOp.tmpl * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
make_genotype_MyStruct.h * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
make_MyStruct.cpp * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
make_op_MyStruct.h * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
Makefile.am.src-tmpl * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
Makefile.am.top-tmpl * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
moreOffspringGenOp.tmpl * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
mutation.tmpl * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
MyStructEA.cpp * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
MyStructLibEA.cpp * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
MyStructSEA.cpp * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
quadCrossover.tmpl * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
README * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
README.manual * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
README.tmpl * New tree configuration of the project: 2014-09-06 13:04:35 +02:00
stat.tmpl * New tree configuration of the project: 2014-09-06 13:04:35 +02:00

This Templates directory contains template files of an EO project and
a script createEOproject.sh to create a complete new EO project.

The template requires a complete installation of EO, that is, you must
have run "make install" in the build-directory.

In particular, the C++ compiler must also know how to find the EO
include files and the linker must find the EO libraries. Most
probably, that means that you have to set the variables
CPLUS_INCLUDE_PATH and LIBRARY_PATH, i.e. for a standard installation
and using tcsh:
  setenv CPLUS_INCLUDE_PATH /usr/local/include/eo:"$CPLUS_INCLUDE_PATH"
  setenv LIBRARY_PATH /usr/local/lib:"$LIBRARY_PATH"

When running bash, use this:
  export CPLUS_INCLUDE_PATH=/usr/local/include/eo:"$CPLUS_INCLUDE_PATH"
  export LIBRARY_PATH=/usr/local/lib:"$LIBRARY_PATH"


You can freely move the created project around. However, whenever you
change the location of the source- or build-directories, you need to
run
  touch configure.ac && autoreconf
in the source-directory and
  make
in the build-directory (which might or might not be the same for you).


When you add additional source files to the project, simply add them
to the <myproj>_SOURCES variable in src/Makefile.am. Header files
should be added to noinst_HEADERS.


See README.manual for more details.