Skip to content

Commit

Permalink
Move bench_ogr_batch and bench_ogr_c_api from apps/ to perftests/
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Dec 6, 2022
1 parent b2248c5 commit 2b684b9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 1 addition & 5 deletions apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,6 @@ if (BUILD_APPS)
add_executable(multireadtest EXCLUDE_FROM_ALL multireadtest.cpp)
add_executable(test_ogrsf test_ogrsf.cpp)
add_executable(testreprojmulti EXCLUDE_FROM_ALL testreprojmulti.cpp)
add_executable(bench_ogr_batch EXCLUDE_FROM_ALL bench_ogr_batch.cpp)
add_executable(bench_ogr_c_api EXCLUDE_FROM_ALL bench_ogr_c_api.cpp)

foreach (
UTILCMD IN
Expand All @@ -162,9 +160,7 @@ if (BUILD_APPS)
gdalwarpsimple
multireadtest
test_ogrsf
testreprojmulti
bench_ogr_batch
bench_ogr_c_api)
testreprojmulti)
if (WIN32)
target_sources(${UTILCMD} PRIVATE longpathaware.manifest)
endif()
Expand Down
8 changes: 8 additions & 0 deletions perftests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,11 @@ include(GdalTestTarget)

gdal_test_target(testperfcopywords testperfcopywords.cpp)
gdal_test_target(testperfdeinterleave testperfdeinterleave.cpp)

add_executable(bench_ogr_batch bench_ogr_batch.cpp)
gdal_standard_includes(bench_ogr_batch)
target_link_libraries(bench_ogr_batch PRIVATE $<TARGET_NAME:${GDAL_LIB_TARGET_NAME}>)

add_executable(bench_ogr_c_api bench_ogr_c_api.cpp)
gdal_standard_includes(bench_ogr_c_api)
target_link_libraries(bench_ogr_c_api PRIVATE $<TARGET_NAME:${GDAL_LIB_TARGET_NAME}>)
File renamed without changes.
File renamed without changes.

0 comments on commit 2b684b9

Please sign in to comment.