From b75e3b8fb2d6d5cb755a3b3682a96fbae370ca2e Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Wed, 27 Sep 2023 16:38:15 -0400 Subject: [PATCH] reflect: build: utest streamlining --- utest/CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/utest/CMakeLists.txt b/utest/CMakeLists.txt index 7eae2825..2e1ba51f 100644 --- a/utest/CMakeLists.txt +++ b/utest/CMakeLists.txt @@ -20,14 +20,15 @@ target_code_coverage(${SELF_EXECUTABLE_NAME} AUTO ALL) # since version file will be in build directory, need that directory # to also be included in compiler's include path # -target_include_directories(${SELF_EXECUTABLE_NAME} PUBLIC - ${PROJECT_SOURCE_DIR} - ${PROJECT_BINARY_DIR}) +xo_include_options2(${SELF_EXECUTABLE_NAME}) +#target_include_directories(${SELF_EXECUTABLE_NAME} PUBLIC +# ${PROJECT_SOURCE_DIR} +# ${PROJECT_BINARY_DIR}) # ---------------------------------------------------------------- # internal dependencies: logutil, ... -target_link_libraries(${SELF_EXECUTABLE_NAME} PUBLIC reflect) +xo_internal_dependency(${SELF_EXECUTABLE_NAME} reflect) # ---------------------------------------------------------------- # 3rd part dependency: catch2: