fixed issue with external linkage of "C" files
This commit is contained in:
parent
92b16a0244
commit
e4a6978b57
|
@ -8,8 +8,3 @@ target_link_libraries(test_module_name
|
||||||
${CPPUTEST_LIBRARIES}/libCppUTestExt.a
|
${CPPUTEST_LIBRARIES}/libCppUTestExt.a
|
||||||
module_name
|
module_name
|
||||||
)
|
)
|
||||||
|
|
||||||
target_include_directories(test_module_name
|
|
||||||
module_name
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#include "CppUTest/CommandLineTestRunner.h"
|
#include "CppUTest/CommandLineTestRunner.h"
|
||||||
|
|
||||||
extern C
|
extern "C"
|
||||||
{
|
{
|
||||||
#include "module_name.h"
|
#include "module_name.h"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue