iEnable coverall for tests.
authorKim Kulling <kim.kulling@googlemail.com>
Wed, 16 Nov 2016 15:19:43 +0000 (16:19 +0100)
committerKim Kulling <kim.kulling@googlemail.com>
Wed, 16 Nov 2016 15:19:43 +0000 (16:19 +0100)
code/CMakeLists.txt
test/CMakeLists.txt

index e424668..3f0b696 100644 (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()
index 6cdab1c..4d45082 100644 (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()