Browse Source

Ensure that filelist for assimp lib is not empty for coveralls.

Kim Kulling 8 years ago
parent
commit
a9c5b6f1be
2 changed files with 23 additions and 11 deletions
  1. 12 0
      code/CMakeLists.txt
  2. 11 11
      test/CMakeLists.txt

+ 12 - 0
code/CMakeLists.txt

@@ -928,3 +928,15 @@ if(MSVC AND ASSIMP_INSTALL_PDB)
     CONFIGURATIONS RelWithDebInfo
   )
 endif ()
+
+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()

+ 11 - 11
test/CMakeLists.txt

@@ -122,15 +122,15 @@ ENDIF( WIN32 )
 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()
+#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()