How to compile Antlr4 c++ runtime without tests #3731
Unanswered
ishaangupte21
asked this question in
Q&A
Replies: 2 comments
-
The test rig is a Java framework, which runs independently of the C++ build. Not sure how you manage to build the tests along with the C++ build. |
Beta Was this translation helpful? Give feedback.
0 replies
-
If I understand you correctly, it should be quite easy. You just have to execute commands from the method For Linuxcd runtime/Cpp
cmake . -DCMAKE_BUILD_TYPE=Release
make For Windowscd runtime/Cpp/runtime
msbuild antlr4cpp-vs2022.vcxproj /p:configuration=Release DLL /p:platform=x64 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to cross compile the C++ runtime for ARM on an Intel machine and the tests keep failing (for obvious reasons). Is there any way to compile the runtime without the test rig?
Beta Was this translation helpful? Give feedback.
All reactions