clean-up
This commit is contained in:
parent
66a9c057f9
commit
471f3f3ca0
1 changed files with 4 additions and 4 deletions
|
@ -69,11 +69,11 @@ if(HAS_CPP11_FLAG)
|
||||||
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
|
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
|
||||||
make_target(nameof-cpp11.t "")
|
make_target(nameof-cpp11.t "")
|
||||||
endif()
|
endif()
|
||||||
add_test(NAME test-cpp11 COMMAND nameof-cpp11.t)
|
add_test(NAME nameof-cpp11.t COMMAND nameof-cpp11.t)
|
||||||
|
|
||||||
if(HAS_CPP14_FLAG)
|
if(HAS_CPP14_FLAG)
|
||||||
make_target(nameof-cpp14.t c++14)
|
make_target(nameof-cpp14.t c++14)
|
||||||
add_test(NAME test-cpp14 COMMAND nameof-cpp14.t)
|
add_test(NAME nameof-cpp14.t COMMAND nameof-cpp14.t)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(HAS_CPP17_FLAG)
|
if(HAS_CPP17_FLAG)
|
||||||
|
@ -82,10 +82,10 @@ if(HAS_CPP17_FLAG)
|
||||||
set(std17 c++1z)
|
set(std17 c++1z)
|
||||||
endif()
|
endif()
|
||||||
make_target(nameof-cpp17.t ${std17})
|
make_target(nameof-cpp17.t ${std17})
|
||||||
add_test(NAME test-cpp17 COMMAND nameof-cpp17.t)
|
add_test(NAME nameof-cpp17.t COMMAND nameof-cpp17.t)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(HAS_CPPLATEST_FLAG)
|
if(HAS_CPPLATEST_FLAG)
|
||||||
make_target(nameof-cpplatest.t c++latest)
|
make_target(nameof-cpplatest.t c++latest)
|
||||||
add_test(NAME test-cpplatest COMMAND nameof-cpplatest.t)
|
add_test(NAME nameof-cpplatest.t COMMAND nameof-cpplatest.t)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue