Unittests: prepare ctest usage.
parent
ad80f97930
commit
c1d1dfadb3
|
@ -38,6 +38,8 @@
|
|||
cmake_minimum_required( VERSION 2.6 )
|
||||
|
||||
#INCLUDE( AddGTest )
|
||||
include( CTest )
|
||||
enable_testing()
|
||||
|
||||
INCLUDE_DIRECTORIES(
|
||||
../contrib/gtest/include
|
||||
|
@ -152,15 +154,6 @@ ENDIF(MSVC)
|
|||
target_link_libraries( unit assimp ${platform_libs} )
|
||||
|
||||
add_subdirectory(headercheck)
|
||||
#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()
|
||||
|
||||
add_test( unittests unit )
|
||||
|
||||
|
|
Loading…
Reference in New Issue