itemisCREATE / statecharts

YAKINDU Statechart Tools (http://www.statecharts.org)
Eclipse Public License 1.0
175 stars 85 forks source link

Run C tests with g++ as they are written in C++ (GTest) #3063

Closed rherrmannr closed 4 years ago

rherrmannr commented 4 years ago

Our C tests are written in C++ (using GTest). We should compile them directly with g++ instead of gcc.

The compiler will be chosen by the file ending. But it seems like there is a difference between which compile flags are reused. The easiest way is using g++.

See: https://stackoverflow.com/questions/3178342/compiling-a-c-program-with-gcc