-
|
Hello, Goodday. I am new to using CppUTest. I ran into an issue of the configuration building a dynamic library libCppUTest.dll which makes cpputest_discover_tests fail to discover the tests when added as one of the external Project using Fetchcontent to my project after being linked to the tests executable. My question is, how do i force the configuration to build a libCppuTest.a Static library which when linked to the test target will work? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
CMake will build libraries as |
Beta Was this translation helpful? Give feedback.
CMake will build libraries as
STATICby default unlessBUILD_SHARED_LIBSis set.