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