forked from boostorg/unordered
18 lines
533 B
CMake
18 lines
533 B
CMake
boost_additional_test_dependencies(unordered BOOST_DEPENDS test)
|
|
|
|
# GCC Compilers
|
|
IF(CMAKE_COMPILER_IS_GNUCC)
|
|
SET(test_compile_flags "-Wsign-promo -Wunused-parameter")
|
|
ENDIF(CMAKE_COMPILER_IS_GNUCC)
|
|
|
|
# Intel Compiler flags
|
|
IF( ${CMAKE_CXX_COMPILER} MATCHES "icpc" )
|
|
SET(test_compile_flags "${test_compile_flags} -strict_ansi -cxxlib-icc")
|
|
ENDIF( ${CMAKE_CXX_COMPILER} MATCHES "icpc" )
|
|
|
|
set (swap_compile_flags "${test_compile_flags} -DBOOST_UNORDERED_SWAP_METHOD=2")
|
|
|
|
|
|
|
|
add_subdirectory(exception)
|
|
add_subdirectory(unordered) |