mirror of
https://github.com/boostorg/gil.git
synced 2026-02-23 03:42:09 +00:00
Require BOOST_GIL_USE_CONCEPT_CHECK when compiling test/*/concepts.cpp
Add BOOST_GIL_USE_CONCEPT_CHECK define to CMakeLists.txt files. Rename channel_concepts.cpp to concepts.cpp.
This commit is contained in:
@@ -24,6 +24,7 @@ foreach(_name
|
||||
gil_compile_options
|
||||
gil_include_directories
|
||||
gil_dependencies)
|
||||
target_compile_definitions(${_target} PRIVATE BOOST_GIL_USE_CONCEPT_CHECK)
|
||||
add_test(test.core.${_name} ${_target})
|
||||
|
||||
unset(_name)
|
||||
|
||||
@@ -16,6 +16,7 @@ foreach(_name
|
||||
gil_compile_options
|
||||
gil_include_directories
|
||||
gil_dependencies)
|
||||
target_compile_definitions(${_target} PRIVATE BOOST_GIL_USE_CONCEPT_CHECK)
|
||||
add_test(test.core.${_name} ${_target})
|
||||
|
||||
unset(_name)
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
// See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
#ifndef BOOST_GIL_USE_CONCEPT_CHECK
|
||||
#error Compile with BOOST_GIL_USE_CONCEPT_CHECK defined
|
||||
#endif
|
||||
#include <boost/gil.hpp>
|
||||
|
||||
#include <boost/concept_check.hpp>
|
||||
|
||||
@@ -24,6 +24,7 @@ foreach(_name
|
||||
gil_compile_options
|
||||
gil_include_directories
|
||||
gil_dependencies)
|
||||
target_compile_definitions(${_target} PRIVATE BOOST_GIL_USE_CONCEPT_CHECK)
|
||||
add_test(test.core.${_name} ${_target})
|
||||
|
||||
unset(_name)
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
// See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
#ifndef BOOST_GIL_USE_CONCEPT_CHECK
|
||||
#error Compile with BOOST_GIL_USE_CONCEPT_CHECK defined
|
||||
#endif
|
||||
// FIXME: There are missing headers internally, leading to incomplete types
|
||||
#if 0
|
||||
#include <boost/gil/image_view.hpp>
|
||||
|
||||
@@ -16,6 +16,7 @@ foreach(_name
|
||||
gil_compile_options
|
||||
gil_include_directories
|
||||
gil_dependencies)
|
||||
target_compile_definitions(${_target} PRIVATE BOOST_GIL_USE_CONCEPT_CHECK)
|
||||
add_test(test.core.${_name} ${_target})
|
||||
|
||||
unset(_name)
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
// See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
#ifndef BOOST_GIL_USE_CONCEPT_CHECK
|
||||
#error Compile with BOOST_GIL_USE_CONCEPT_CHECK defined
|
||||
#endif
|
||||
#include <boost/gil.hpp>
|
||||
|
||||
#include <boost/concept_check.hpp>
|
||||
|
||||
@@ -17,6 +17,7 @@ foreach(_name
|
||||
gil_compile_options
|
||||
gil_include_directories
|
||||
gil_dependencies)
|
||||
target_compile_definitions(${_target} PRIVATE BOOST_GIL_USE_CONCEPT_CHECK)
|
||||
add_test(test.core.${_name} ${_target})
|
||||
|
||||
unset(_name)
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
// See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
#ifndef BOOST_GIL_USE_CONCEPT_CHECK
|
||||
#error Compile with BOOST_GIL_USE_CONCEPT_CHECK defined
|
||||
#endif
|
||||
#include <boost/gil/concepts.hpp>
|
||||
#include <boost/gil/point.hpp>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user