Closed CThuleHansen closed 3 years ago
Might be working in this thread: cppcompiletest. @FrederikPM can you try
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:
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.
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.
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.