Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2019-09-10 22:21:18 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2019-09-10 22:21:18 +0300
commita302c5ab2f601c0116fb62c6b21dec4a143550e9 (patch)
treea0fe7ab98be1bca3de524e969f340eaf030fb2f0 /CMakeLists.txt
parent4b5fae64a3230290cc7784fddef706ca2ceb5eaf (diff)
Fix PR #26 was not compiling on MSVC with /fpermissive- due to MSVC parser bug
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt27
1 files changed, 26 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d7d6f688..e04a3638 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,3 +1,26 @@
+# LLFIO cmake
+# (C) 2016-2019 Niall Douglas <http://www.nedproductions.biz/>
+# File Created: June 2016
+#
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License in the accompanying file
+# Licence.txt or at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file Licence.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
include(cmake/QuickCppLibBootstrap.cmake)
include(QuickCppLibRequireOutOfSourceBuild)
@@ -192,7 +215,9 @@ endforeach()
if(MSVC)
foreach(test_target ${llfio_TEST_TARGETS})
target_compile_options(${test_target} PRIVATE /wd4503) ## decorated name length exceeded
- #target_compile_options(${test_target} PRIVATE /permissive-) ## future parsing
+ if(NOT CLANG)
+ target_compile_options(${test_target} PRIVATE /permissive-) ## future parsing
+ endif()
endforeach()
endif()