Commit c08a84bb authored by Christoph Richter's avatar Christoph Richter
Browse files

fixup! New Version 0.0.22-SNAPSHOT

parent 051da0fa
Pipeline #64054 failed with stage
in 2 minutes and 14 seconds
......@@ -9,4 +9,4 @@
* If `isGenerateCMakeEnabled()` additionally to the C++ files _CMakeLists.txt_ is generated.
This CMake file builds a static library out of the generated components.
* Find package (https://cmake.org/cmake/help/v3.8/command/find_package.html?highlight=i) can be configured via public method `getCMakeConfig()` from the generator class. FindModule files are generated automatically which searches for header include directories and libraries at default locations.
* Example: `getCMakeConfig().addModuleDependency(new CMakeFindModule("LibName", "LibHeader.h", "libname", headerSearchPaths, bibrarySearchPaths, findHeaderEnabled, findLibEnabled, isRequiered));`
\ No newline at end of file
* Example: `getCMakeConfig().addModuleDependency(new CMakeFindModule("LibName", "LibHeader.hpp", "libname", headerSearchPaths, bibrarySearchPaths, findHeaderEnabled, findLibEnabled, isRequiered));`
\ No newline at end of file
......@@ -46,7 +46,7 @@ public class GeneratorCPP implements Generator {
protected boolean checkModelDir = false;
// CMake
private boolean generateCMake = true;
private boolean generateCMake = false;
private CMakeConfig cMakeConfig;
public GeneratorCPP() {
......@@ -64,8 +64,7 @@ public class GeneratorCPP implements Generator {
cMakeConfig.addModuleDependency(new CMakeFindModule("Armadillo", true));
}
}
public void useArmadilloBackend() {
MathConverter.curBackend = new ArmadilloBackend();
}
......
Supports Markdown
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