Browse Source

Next try to get CMake up and running on Travis

Dirk Ziegelmeier 7 năm trước cách đây
mục cha
commit
daeceeeca0
2 tập tin đã thay đổi với 5 bổ sung3 xóa
  1. 3 2
      .vscode/c_cpp_properties.json
  2. 2 1
      CMakeLists.txt

+ 3 - 2
.vscode/c_cpp_properties.json

@@ -20,8 +20,9 @@
             },
             "compilerPath": "/usr/bin/gcc",
             "cStandard": "c11",
-            "cppStandard": "c++17"
+            "cppStandard": "c++17",
+            "configurationProvider": "vector-of-bool.cmake-tools"
         }
     ],
     "version": 4
-}
+}

+ 2 - 1
CMakeLists.txt

@@ -27,4 +27,5 @@ include(CPack)
 
 # Generate docs before creating source package
 include(src/Filelists.cmake)
-add_dependencies(package_source lwipdocs)
+add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
+add_dependencies(dist lwipdocs)