Remove cyclic dependency between this Project and EMAM2Middleware

parent 9fff8327
......@@ -9,16 +9,15 @@
<groupId>de.monticore.lang.monticar</groupId>
<artifactId>embedded-montiarc-math-opt-generator</artifactId>
<version>0.1.1-SNAPSHOT</version>
<version>0.1.2-SNAPSHOT</version>
<!-- == PROJECT DEPENDENCIES ============================================= -->
<properties>
<!-- .. SE-Libraries .................................................. -->
<Embedded-MontiArc-Math-Opt.version>0.1.0</Embedded-MontiArc-Math-Opt.version>
<Embedded-montiarc-math-generator.version>0.0.25-SNAPSHOT</Embedded-montiarc-math-generator.version>
<Embedded-montiarc-math-middleware-generator.version>0.0.4-SNAPSHOT</Embedded-montiarc-math-middleware-generator.version>
<Embedded-MontiArc-Math-Opt.version>0.1.3-SNAPSHOT</Embedded-MontiArc-Math-Opt.version>
<Embedded-montiarc-math-generator.version>0.1.3-SNAPSHOT</Embedded-montiarc-math-generator.version>
<!-- .. Libraries .................................................. -->
<guava.version>18.0</guava.version>
<junit.version>4.12</junit.version>
......@@ -62,12 +61,6 @@
<version>${Embedded-montiarc-math-generator.version}</version>
</dependency>
<dependency>
<groupId>de.monticore.lang.monticar</groupId>
<artifactId>embedded-montiarc-math-middleware-generator</artifactId>
<version>${Embedded-montiarc-math-middleware-generator.version}</version>
</dependency>
<!-- MontiCore Dependencies -->
<dependency>
......@@ -242,6 +235,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<configuration>
<useSystemClassLoader>false</useSystemClassLoader>
</configuration>
</plugin>
<plugin>
......
package de.monticore.lang.monticar.generator;
import de.monticore.lang.monticar.generator.cpp.GeneratorEMAMOpt2CPP;
import de.monticore.lang.monticar.generator.middleware.CMakeGenerator;
/**
* EMAMOpt to C++ generator
*
* @author Christoph Richter
*/
public class GeneratorEMAMOpt2CMake extends CMakeGenerator {
public GeneratorEMAMOpt2CMake() {
super();
// set generator to EMAM2CppOpt
GeneratorEMAMOpt2CPP generatorEMAMOpt2CPP = new GeneratorEMAMOpt2CPP();
generatorEMAMOpt2CPP.setGenerateCMake(true);
// add implementation
add(generatorEMAMOpt2CPP, "cpp");
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment