You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the CodeCoverage.cmake, my project folder structure is something like this
src/
application1/
app1.c
app1.h
application2/
app2.c
app2.h
test/
application1/
app1_test.cpp
build/
cmakeList.txt
I used CodeCoverage module as it is and it works, but the problem is it generates the coverage for app1_test.cpp, not for the actual file under test which is app1.c
so i modified your CMake module and added the one more parameter which takes my c and replaced ${PROJECT_SOURCE_DIR} to my new parameter and that works for me. does this module is not intended for such type of folder structure?
The text was updated successfully, but these errors were encountered:
Hi
I used the CodeCoverage.cmake, my project folder structure is something like this
src/
application1/
app1.c
app1.h
application2/
app2.c
app2.h
test/
application1/
app1_test.cpp
build/
cmakeList.txt
I used CodeCoverage module as it is and it works, but the problem is it generates the coverage for app1_test.cpp, not for the actual file under test which is app1.c
so i modified your CMake module and added the one more parameter which takes my c and replaced ${PROJECT_SOURCE_DIR} to my new parameter and that works for me. does this module is not intended for such type of folder structure?
The text was updated successfully, but these errors were encountered: