Skip to content

Commit

Permalink
remove cmake variable references
Browse files Browse the repository at this point in the history
  • Loading branch information
goatshriek committed Oct 7, 2023
1 parent 279d7cb commit 82a7126
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tools/cmake/test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function(private_add_function_test)

set_target_properties(function-test-${FUNCTION_TEST_ARG_NAME}
PROPERTIES
BUILD_RPATH "${CMAKE_CURRENT_BINARY_DIR}"
BUILD_RPATH "${PROJECT_BINARY_DIR}"
OUTPUT_NAME function-test-${FUNCTION_TEST_ARG_NAME}
COMPILE_FLAGS "${function_test_compile_flags}"
COMPILE_DEFINITIONS "${FUNCTION_TEST_ARG_COMPILE_DEFINITIONS}"
Expand Down Expand Up @@ -59,7 +59,7 @@ function(private_add_single_file_function_test)

set_target_properties(function-test-single-file-${FUNCTION_TEST_ARG_NAME}
PROPERTIES
BUILD_RPATH "${CMAKE_CURRENT_BINARY_DIR}"
BUILD_RPATH "${PROJECT_BINARY_DIR}"
OUTPUT_NAME function-test-single-file-${FUNCTION_TEST_ARG_NAME}
COMPILE_FLAGS "${function_test_compile_flags}"
COMPILE_DEFINITIONS "${FUNCTION_TEST_ARG_COMPILE_DEFINITIONS}"
Expand Down Expand Up @@ -105,7 +105,7 @@ function(private_add_thread_safety_test)

set_target_properties(thread-safety-test-${THREAD_SAFETY_TEST_ARG_NAME}
PROPERTIES
BUILD_RPATH "${CMAKE_CURRENT_BINARY_DIR}"
BUILD_RPATH "${PROJECT_BINARY_DIR}"
OUTPUT_NAME thread-safety-test-${THREAD_SAFETY_TEST_ARG_NAME}
COMPILE_FLAGS "${function_test_compile_flags}"
COMPILE_DEFINITIONS "${THREAD_SAFETY_TEST_ARG_COMPILE_DEFINITIONS}"
Expand Down Expand Up @@ -175,7 +175,7 @@ function(private_add_performance_test)

set_target_properties(performance-test-${FUNCTION_PERF_ARG_NAME}
PROPERTIES
BUILD_RPATH "${CMAKE_CURRENT_BINARY_DIR}"
BUILD_RPATH "${PROJECT_BINARY_DIR}"
COMPILE_FLAGS "${performance_test_compile_flags}"
OUTPUT_NAME performance-test-${FUNCTION_PERF_ARG_NAME}
)
Expand Down Expand Up @@ -221,7 +221,7 @@ function(private_add_single_file_performance_test)

set_target_properties(performance-test-single-file-${FUNCTION_PERF_ARG_NAME}
PROPERTIES
BUILD_RPATH "${CMAKE_CURRENT_BINARY_DIR}"
BUILD_RPATH "${PROJECT_BINARY_DIR}"
COMPILE_FLAGS "${performance_test_compile_flags}"
OUTPUT_NAME performance-test-single-file-${FUNCTION_PERF_ARG_NAME}
)
Expand Down Expand Up @@ -267,7 +267,7 @@ function(private_add_fuzz_test)

set_target_properties(fuzz-test-${FUNCTION_FUZZ_ARG_NAME}
PROPERTIES
BUILD_RPATH "${CMAKE_CURRENT_BINARY_DIR}"
BUILD_RPATH "${PROJECT_BINARY_DIR}"
COMPILE_FLAGS "${fuzz_test_compile_flags}"
OUTPUT_NAME fuzz-test-${FUNCTION_FUZZ_ARG_NAME}
)
Expand Down

0 comments on commit 82a7126

Please sign in to comment.