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>2020-02-26 14:00:03 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2020-02-26 14:00:03 +0300
commit6a1741fb75cb38d26933e8ee0bfa1eb6bb14f561 (patch)
tree43c6ecd3fb8a42f1c8d3648f08819a8516fd2f0d /CMakeLists.txt
parent1d97a5de10426b445a7ace2ea0e039c8a6c06ee3 (diff)
Fix all remaining PCH introduced build issues.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 341095c7..461ca9a2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
# LLFIO cmake
-# (C) 2016-2019 Niall Douglas <http://www.nedproductions.biz/>
+# (C) 2016-2020 Niall Douglas <http://www.nedproductions.biz/>
# File Created: June 2016
#
#
@@ -21,7 +21,7 @@
# (See accompanying file Licence.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
-cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
include(cmake/QuickCppLibBootstrap.cmake)
include(QuickCppLibRequireOutOfSourceBuild)
include(QuickCppLibUtils)
@@ -89,6 +89,7 @@ if(NOT PROJECT_IS_DEPENDENCY)
function(make_single_header target name)
add_partial_preprocess(${target}
"${name}"
+ "${CMAKE_CURRENT_SOURCE_DIR}/include/llfio/revision.hpp"
${ARGN}
-I ..
--passthru-defines --passthru-unfound-includes --passthru-unknown-exprs
@@ -234,6 +235,11 @@ endif()
if(NOT PROJECT_IS_DEPENDENCY)
# For all possible configurations of this library, add each test
+ set(llfio_TESTS_DISABLE_PRECOMPILE_HEADERS
+ "llfio_hl--coroutines"
+ "llfio_sl--coroutines"
+ "llfio_dl--coroutines"
+ )
include(QuickCppLibMakeStandardTests)
# For each test target, set definitions and linkage
foreach(target ${llfio_COMPILE_TEST_TARGETS} ${llfio_TEST_TARGETS})