This repository has been archived on 2026-03-28. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
eodev/eo/tutorial/Templates
2011-05-10 10:34:35 +02:00
..
binCrossover.tmpl * whitespace cleanup 2011-05-05 17:15:10 +02:00
ChangeLog * whitespace cleanup 2011-05-05 17:15:10 +02:00
CMakeLists.txt.src-tmpl * whitespace cleanup 2011-05-05 17:15:10 +02:00
CMakeLists.txt.top-tmpl * whitespace cleanup 2011-05-05 17:15:10 +02:00
configure.ac.tmpl * whitespace cleanup 2011-05-05 17:15:10 +02:00
continue.tmpl * whitespace cleanup 2011-05-05 17:15:10 +02:00
createEOproject.sh * whitespace cleanup 2011-05-05 17:15:10 +02:00
EO.tpl * whitespace cleanup 2011-05-05 17:15:10 +02:00
eoMyStruct.tmpl * whitespace cleanup 2011-05-05 17:15:10 +02:00
evalFunc.tmpl * whitespace cleanup 2011-05-05 17:15:10 +02:00
init.tmpl * whitespace cleanup 2011-05-05 17:15:10 +02:00
lessOffspringExternalSelectorGenOp.tmpl * whitespace cleanup 2011-05-05 17:15:10 +02:00
lessOffspringSameSelectorGenOp.tmpl * whitespace cleanup 2011-05-05 17:15:10 +02:00
make_genotype_MyStruct.h * whitespace cleanup 2011-05-05 17:15:10 +02:00
make_MyStruct.cpp * whitespace cleanup 2011-05-05 17:15:10 +02:00
make_op_MyStruct.h * whitespace cleanup 2011-05-05 17:15:10 +02:00
Makefile.am.src-tmpl * mutation.tmpl, quadCrossover.tmpl, stat.tmpl: Initialize formerly 2007-02-22 08:27:32 +00:00
Makefile.am.top-tmpl * EO.tpl, MyStructEA.cpp, MyStructSEA.cpp, make_MyStruct.cpp: Use 2006-12-16 21:55:03 +00:00
moreOffspringGenOp.tmpl * whitespace cleanup 2011-05-05 17:15:10 +02:00
mutation.tmpl * mutation.tmpl, quadCrossover.tmpl, stat.tmpl: Initialize formerly 2007-02-22 08:27:32 +00:00
MyStructEA.cpp * EO.tpl, MyStructEA.cpp, MyStructSEA.cpp, make_MyStruct.cpp: Use 2006-12-16 21:55:03 +00:00
MyStructLibEA.cpp * whitespace cleanup 2011-05-05 17:15:10 +02:00
MyStructSEA.cpp * EO.tpl, MyStructEA.cpp, MyStructSEA.cpp, make_MyStruct.cpp: Use 2006-12-16 21:55:03 +00:00
quadCrossover.tmpl * mutation.tmpl, quadCrossover.tmpl, stat.tmpl: Initialize formerly 2007-02-22 08:27:32 +00:00
README * whitespace cleanup 2011-05-05 17:15:10 +02:00
README.manual * whitespace cleanup 2011-05-05 17:15:10 +02:00
README.tmpl * mutation.tmpl, quadCrossover.tmpl, stat.tmpl: Initialize formerly 2007-02-22 08:27:32 +00:00
stat.tmpl * whitespace cleanup 2011-05-05 17:15:10 +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.