iEnable coverall for tests.

pull/1067/head
Kim Kulling 2016-11-16 16:19:43 +01:00
parent 6c5e475d14
commit 4ac3a0af8f
2 changed files with 9 additions and 10 deletions

View File

@ -928,13 +928,3 @@ if(MSVC AND ASSIMP_INSTALL_PDB)
CONFIGURATIONS RelWithDebInfo
)
endif ()
if (ASSIMP_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()

View File

@ -122,4 +122,13 @@ ENDIF( WIN32 )
target_link_libraries( unit assimp ${platform_libs} )
add_subdirectory(headercheck)
if (ASSIMP_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()