xo-cmake: + xo_cxx_toplevel_options3()

This commit is contained in:
Roland Conybeare 2024-05-19 21:37:26 -04:00
commit 1df767b7c4

View file

@ -20,6 +20,7 @@ macro(xo_cxx_toplevel_options)
add_custom_target(all_libraries)
endmacro()
# deprecated -- prefer xo_cxx_toplevel_options3()
macro(xo_cxx_toplevel_options2)
enable_language(CXX)
xo_toplevel_compile_options()
@ -28,6 +29,15 @@ macro(xo_cxx_toplevel_options2)
add_custom_target(all_utest_executables)
endmacro()
macro(xo_cxx_toplevel_options3)
enable_language(CXX)
xo_toplevel_compile_options()
enable_testing()
add_custom_target(all_libraries)
add_custom_target(all_utest_executables)
xo_toplevel_config2()
endmacro()
macro(xo_toplevel_testing_options)
enable_testing()
add_code_coverage()