Enableing test coverage for unittests.
parent
a6c86c79f1
commit
76794f4aa7
|
@ -928,14 +928,3 @@ if(MSVC AND ASSIMP_INSTALL_PDB)
|
||||||
CONFIGURATIONS RelWithDebInfo
|
CONFIGURATIONS RelWithDebInfo
|
||||||
)
|
)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (COVERALLS)
|
|
||||||
set(COVERAGE_SRCS ${assimp_src} )
|
|
||||||
|
|
||||||
# Create the coveralls target.
|
|
||||||
coveralls_setup(
|
|
||||||
"${COVERAGE_SRCS}" # The source files.
|
|
||||||
ON # If we should upload.
|
|
||||||
"${PROJECT_SOURCE_DIR}/cmake/") # (Optional) Alternate project cmake module path.
|
|
||||||
endif()
|
|
||||||
|
|
||||||
|
|
|
@ -122,3 +122,13 @@ ENDIF( WIN32 )
|
||||||
target_link_libraries( unit assimp ${platform_libs} )
|
target_link_libraries( unit assimp ${platform_libs} )
|
||||||
|
|
||||||
add_subdirectory(headercheck)
|
add_subdirectory(headercheck)
|
||||||
|
if (COVERALLS)
|
||||||
|
set(COVERAGE_SRCS ${assimp_src} ${TEST_SRCS} )
|
||||||
|
|
||||||
|
# Create the coveralls target.
|
||||||
|
coveralls_setup(
|
||||||
|
"${COVERAGE_SRCS}" # The source files.
|
||||||
|
ON # If we should upload.
|
||||||
|
"${PROJECT_SOURCE_DIR}/cmake/") # (Optional) Alternate project cmake module path.
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue