From 70ad1ae727ed31fc88e272a01abe3f3f4fd306cf Mon Sep 17 00:00:00 2001 From: Serge Lamikhov-Center Date: Fri, 7 Aug 2020 23:04:17 +0300 Subject: [PATCH] Use header only version of the Boost Test library --- ELFIOTest/ELFIOTest.cpp | 6 +----- ELFIOTest/ELFIOTest.vcxproj | 14 ++++++++++---- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/ELFIOTest/ELFIOTest.cpp b/ELFIOTest/ELFIOTest.cpp index 881a86c..b6b59e3 100644 --- a/ELFIOTest/ELFIOTest.cpp +++ b/ELFIOTest/ELFIOTest.cpp @@ -2,12 +2,8 @@ #define _SCL_SECURE_NO_WARNINGS #endif -#define BOOST_TEST_MAIN -#ifndef _MSC_VER -#define BOOST_TEST_DYN_LINK -#endif #define BOOST_TEST_MODULE ELFIO_Test -#include +#include #include diff --git a/ELFIOTest/ELFIOTest.vcxproj b/ELFIOTest/ELFIOTest.vcxproj index f2cdcd6..d3964c4 100644 --- a/ELFIOTest/ELFIOTest.vcxproj +++ b/ELFIOTest/ELFIOTest.vcxproj @@ -62,7 +62,8 @@ true - d:\Developer\boost_1_73_0\stage\lib + + false @@ -81,17 +82,22 @@ true true WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - ..;c:\Developer\boost_1_65_1;%(AdditionalIncludeDirectories) + ..;d:\Developer\boost_1_73_0;%(AdditionalIncludeDirectories) Console - true + false true true - c:\Developer\boost_1_65_1\stage\lib + + + + "$(TargetDir)\$(TargetName).exe" --result_code=no --report_level=short + Auto run test +