diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index 5b9a86d9..e7eb6a69 100644 --- a/.vscode/c_cpp_properties.json +++ b/.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 -} +} \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index a98d1f9b..74c91aa6 100644 --- a/CMakeLists.txt +++ b/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)