How to build C++ tests? #2709
Replies: 3 comments 3 replies
-
Can you try to compile just |
Beta Was this translation helpful? Give feedback.
-
I dug a bit. I can build without error if I remove these tests
Because they use ExpressionParser2Node and ExpressionCompletionFinder. The linking fails on the content of the cpp, it seems
GDevelop/Core/GDCore/Events/Parsers/ExpressionParser2Node.cpp Lines 6 to 10 in b97f716 GDevelop/Core/GDCore/IDE/Events/ExpressionCompletionFinder.cpp Lines 6 to 31 in b97f716 Full error messages
|
Beta Was this translation helpful? Give feedback.
-
When I run GDCore_tests.exe is says it misses GDCore.dll. Is there something to add to the path to run the tests? |
Beta Was this translation helpful? Give feedback.
-
Related discussion with Linux:
Context
I tried to build C++ tests.
cmake .. -DBUILD_GDJS=FALSE -DBUILD_TESTS=TRUE -G "Ninja"
ninja
Errors
Questions
Beta Was this translation helpful? Give feedback.
All reactions