Explorar o código

iEnable coverall for tests.

Kim Kulling %!s(int64=8) %!d(string=hai) anos
pai
achega
4ac3a0af8f
Modificáronse 2 ficheiros con 9 adicións e 10 borrados
  1. 0 10
      code/CMakeLists.txt
  2. 9 0
      test/CMakeLists.txt

+ 0 - 10
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()

+ 9 - 0
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()