diff --git a/cmake/xo_macros/xo_cxx.cmake b/cmake/xo_macros/xo_cxx.cmake index 1bfc4f2c..8f75beb6 100644 --- a/cmake/xo_macros/xo_cxx.cmake +++ b/cmake/xo_macros/xo_cxx.cmake @@ -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()