diff options
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/Makefile.am | 8 | ||||
-rw-r--r-- | src/engine/Problem.cpp | 2 | ||||
-rw-r--r-- | src/engine/machina/Problem.hpp | 3 |
3 files changed, 8 insertions, 5 deletions
diff --git a/src/engine/Makefile.am b/src/engine/Makefile.am index e79502e..ccfae64 100644 --- a/src/engine/Makefile.am +++ b/src/engine/Makefile.am @@ -10,7 +10,6 @@ libmachina_la_SOURCES = \ ActionFactory.cpp \ Edge.cpp \ Engine.cpp \ - Evolver.cpp \ LearnRequest.cpp \ Loader.cpp \ Machine.cpp \ @@ -18,10 +17,13 @@ libmachina_la_SOURCES = \ MidiAction.cpp \ Mutation.cpp \ Node.cpp \ - Problem.cpp \ Recorder.cpp \ SMFDriver.cpp if WITH_JACK -libmachina_la_SOURCES += JackDriver.cpp jack_compat.h +libmachina_la_SOURCES += JackDriver.cpp +endif + +if WITH_EUGENE +libmachina_la_SOURCES += Evolver.cpp Problem.cpp endif diff --git a/src/engine/Problem.cpp b/src/engine/Problem.cpp index 83f9d51..dfbe038 100644 --- a/src/engine/Problem.cpp +++ b/src/engine/Problem.cpp @@ -27,7 +27,7 @@ #include <machina/Edge.hpp> #include <raul/SMFReader.hpp> #include <raul/midi_events.h> -#include <eugene/core/Problem.hpp> + #include <eugene/core/Problem.hpp> using namespace std; diff --git a/src/engine/machina/Problem.hpp b/src/engine/machina/Problem.hpp index 067be51..b6f3bdc 100644 --- a/src/engine/machina/Problem.hpp +++ b/src/engine/machina/Problem.hpp @@ -18,9 +18,10 @@ #ifndef MACHINA_PROBLEM_HPP #define MACHINA_PROBLEM_HPP +#include CONFIG_H_PATH + #include <map> #include <raul/MIDISink.hpp> -#include <eugene/core/Problem.hpp> #include <machina/Machine.hpp> namespace Machina { |