Skip to content

Commit 24d299a

Browse files
committed
Fix benchmark cmake
1 parent 01a7d76 commit 24d299a

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

benchmark/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ function(create_bench exfile)
88
add_executable(${exname} ${exfile})
99
message(STATUS "Adding cpp example ${exname}")
1010
set_target_properties(${exname} PROPERTIES LINKER_LANGUAGE CXX)
11-
set_standard_output_directory(${exname})
1211
target_include_directories(${exname} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
1312

1413
target_link_libraries(${exname} PUBLIC ${PROJECT_NAME})

tests/CMakeLists.txt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,6 @@ endmacro()
1616
file(GLOB TEST_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/*.hpp)
1717
message(STATUS "Test headers: ${TEST_HEADERS}")
1818

19-
function(set_standard_output_directory target)
20-
set_target_properties(
21-
${target}
22-
PROPERTIES
23-
RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin
24-
LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib
25-
ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib
26-
)
27-
endfunction()
28-
2919
function(_add_test_prototype filename prefix dependencies)
3020
string(REGEX REPLACE "/" "_" name ${filename})
3121
set(test_name "test-cpp-${prefix}${name}")
@@ -34,7 +24,6 @@ function(_add_test_prototype filename prefix dependencies)
3424

3525
ADD_UNIT_TEST(${test_name} ${test_file} ${TEST_HEADERS})
3626
set_target_properties(${test_name} PROPERTIES LINKER_LANGUAGE CXX)
37-
# set_standard_output_directory(${test_name})
3827
target_include_directories(${test_name} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
3928

4029
set(MODULE_NAME "${name}Test")

0 commit comments

Comments
 (0)