From daeceeeca0be71a83a3ba1af3c41749bc6ce073c Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Thu, 18 Oct 2018 10:47:51 +0200 Subject: [PATCH] Next try to get CMake up and running on Travis --- .vscode/c_cpp_properties.json | 5 +++-- CMakeLists.txt | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) 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)