From 4ac3a0af8fef00b6f11a7a7e507ce3d0cb075983 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Wed, 16 Nov 2016 16:19:43 +0100 Subject: [PATCH] iEnable coverall for tests. --- code/CMakeLists.txt | 10 ---------- test/CMakeLists.txt | 9 +++++++++ 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index e424668..3f0b696 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -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() diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 6cdab1c..4d45082 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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() -- 2.7.4