Ensure that filelist for assimp lib is not empty for coveralls.
parent
46a022520f
commit
a9c5b6f1be
|
@ -928,3 +928,15 @@ if(MSVC AND ASSIMP_INSTALL_PDB)
|
||||||
CONFIGURATIONS RelWithDebInfo
|
CONFIGURATIONS RelWithDebInfo
|
||||||
)
|
)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
if (ASSIMP_COVERALLS)
|
||||||
|
include(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-modules/") # (Optional) Alternate project cmake module path.
|
||||||
|
endif()
|
||||||
|
|
|
@ -122,15 +122,15 @@ ENDIF( WIN32 )
|
||||||
target_link_libraries( unit assimp ${platform_libs} )
|
target_link_libraries( unit assimp ${platform_libs} )
|
||||||
|
|
||||||
add_subdirectory(headercheck)
|
add_subdirectory(headercheck)
|
||||||
if (ASSIMP_COVERALLS)
|
#if (ASSIMP_COVERALLS)
|
||||||
include(Coveralls)
|
# include(Coveralls)
|
||||||
|
#
|
||||||
set(COVERAGE_SRCS ${assimp_src} ${TEST_SRCS} )
|
# set(COVERAGE_SRCS ${assimp_src} ${TEST_SRCS} )
|
||||||
|
#
|
||||||
# Create the coveralls target.
|
# # Create the coveralls target.
|
||||||
coveralls_setup(
|
# coveralls_setup(
|
||||||
"${COVERAGE_SRCS}" # The source files.
|
# "${COVERAGE_SRCS}" # The source files.
|
||||||
ON # If we should upload.
|
# ON # If we should upload.
|
||||||
"${PROJECT_SOURCE_DIR}/cmake-modules/") # (Optional) Alternate project cmake module path.
|
# "${PROJECT_SOURCE_DIR}/cmake-modules/") # (Optional) Alternate project cmake module path.
|
||||||
endif()
|
#endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue