From 85ae4e2e9e0036fbd9c5882df459d19c05339da4 Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Wed, 27 Jul 2016 08:40:05 +0100 Subject: Moved afio over to use new ctest scripting for cdash --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index afa8328c..6d55c73f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,3 +76,13 @@ endif() # For all possible configurations of this library, add each test include(BoostLiteMakeStandardTests) +# For each test target, set compile options +if(MSVC) + foreach(test_target ${afio_TEST_TARGETS}) + target_compile_options(${test_target} PRIVATE /wd4503) ## decorated name length exceeded + endforeach() +endif() + +# Make available this library for install and export +include(BoostLiteMakeInstall) +include(BoostLiteMakeExport) -- cgit v1.2.3