From e40dc2daabf3d8f332c42b4de91fb5edfe4d4b41 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sat, 14 Sep 2024 10:16:03 -0500 Subject: [PATCH] xo-ordinaltree: use latest xo-cmake macros --- CMakeLists.txt | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ff3d8726..74ba5859 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,26 +6,16 @@ project(xo_ordinaltree VERSION 0.1) enable_language(CXX) # common XO macros (see github:Rconybea/xo-cmake) +include(GNUInstallDirs) include(cmake/xo-bootstrap-macros.cmake) -# ---------------------------------------------------------------- -# unit test setup - -enable_testing() -# enable code coverage for all executables+libraries -# (when configured with -DCODE_COVERAGE=ON) -# -add_code_coverage() -add_code_coverage_all_targets( - EXCLUDE - /nix/store/* - ${PROJECT_SOURCE_DIR}/utest/*) +xo_cxx_toplevel_options3() # ---------------------------------------------------------------- # c++ settings -# sets XO_COMPILE_OPTIONS -xo_toplevel_compile_options() +set(PROJECT_CXX_FLAGS "") +add_definitions(${PROJECT_CXX_FLAGS}) # ---------------------------------------------------------------- # output targets