INTO-CPS-Association / maestro

Maestro a Co-Simulation Orchestration Engine
https://build.overture.au.dk/jenkins/job/maestro/
20 stars 3 forks source link

Parameterized C++ compilation #326

Closed CThuleHansen closed 3 years ago

CThuleHansen commented 3 years ago

The C++ compilation should be parameterized, such that it is not executed with a default build.

Might be changed later on, if we figure out how.

CThuleHansen commented 3 years ago

Might be working in this thread: cppcompiletest. @FrederikPM can you try

FrederikPM commented 3 years ago

On cppcompiletest i no longer get the cmake errors. However, i still get errors. Running the test in the terminal with maven i get: FullSpecCppTest>FullSpecTest.test:151->postProcessSpec:117 Sim program was not produced! ==> expected: but was:

Running the test in IntelliJ i get: _org.intocps.maestro.util.CMakeUtil$CMakeGenerateException: CMake Error: The source "C:/Users/frdrk/Desktop/Repos/maestroDev/maestro/target/FullSpecCppTest/_base/CMakeLists.txt" does not match the source "C:/Users/frdrk/Desktop/Repos/maestroDev/maestro/target/FullSpecCppTest/base/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.

CThuleHansen commented 3 years ago

We managed to get a working environment on Frederiks Windows, so we have updated the readme. The CPP test will still be parameterized because they take a long time.