diff options
author | Eike Ziller <eike.ziller@qt.io> | 2016-07-13 11:19:24 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2017-06-16 12:19:27 +0000 |
commit | 93f4fb771fbfcb8499601b497a4b2b436d872c1d (patch) | |
tree | 2778fa04bc9a160ab4a639910627065cd408f9ef /src/libs/3rdparty/optional/CMakeLists.txt | |
parent | 42580c7d0ca703f216bcb19e12259b1022d8b423 (diff) |
Add std::experimental::optional as Utils::optional
Uses the reference implementation of the proposal, which later
can be replaced by the std lib implementation depending on compiler
and used C++ version.
Change-Id: I23f2f8077f4cb26c3d9a403b1ce438b6cdb163f2
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/libs/3rdparty/optional/CMakeLists.txt')
-rw-r--r-- | src/libs/3rdparty/optional/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libs/3rdparty/optional/CMakeLists.txt b/src/libs/3rdparty/optional/CMakeLists.txt new file mode 100644 index 0000000000..07f38f7993 --- /dev/null +++ b/src/libs/3rdparty/optional/CMakeLists.txt @@ -0,0 +1,11 @@ +project(optional) +cmake_minimum_required(VERSION 2.8) +enable_testing() + +set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra") + +add_executable(test_optional test_optional.cpp) +add_executable(test_type_traits test_type_traits.cpp) + +add_test(test_optional test_optional) +add_test(test_type_traits test_type_traits) |