From 47bb487c95949d4a5130947e961390d07c1eec6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 20 Dec 2020 21:01:45 +0100 Subject: [PATCH] Visual Studio; Try to fix compilation --- lib/cppcheck.vcxproj.filters | 15 +++++++++++++++ lib/summaries.h | 6 ++++-- test/testrunner.vcxproj.filters | 3 +++ 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/lib/cppcheck.vcxproj.filters b/lib/cppcheck.vcxproj.filters index 39e2fcd81..b147aebd7 100644 --- a/lib/cppcheck.vcxproj.filters +++ b/lib/cppcheck.vcxproj.filters @@ -179,6 +179,15 @@ Source Files + + Source Files + + + Source Files + + + Source Files + @@ -346,6 +355,12 @@ Header Files + + Header Files + + + Header Files + diff --git a/lib/summaries.h b/lib/summaries.h index d8bdb6130..2162a71f3 100644 --- a/lib/summaries.h +++ b/lib/summaries.h @@ -21,14 +21,16 @@ #define summariesH //--------------------------------------------------------------------------- +#include "config.h" + #include #include class Tokenizer; namespace Summaries { - std::string create(const Tokenizer *tokenizer, const std::string &cfg); - void loadReturn(const std::string &buildDir, std::set &summaryReturn); + CPPCHECKLIB std::string create(const Tokenizer *tokenizer, const std::string &cfg); + CPPCHECKLIB void loadReturn(const std::string &buildDir, std::set &summaryReturn); } //--------------------------------------------------------------------------- diff --git a/test/testrunner.vcxproj.filters b/test/testrunner.vcxproj.filters index f7998ae13..5e074f7f2 100644 --- a/test/testrunner.vcxproj.filters +++ b/test/testrunner.vcxproj.filters @@ -220,6 +220,9 @@ Source Files + + Source Files +