-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #857 from dalg24/cmake_exe_path
- Loading branch information
Showing
16 changed files
with
29 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
add_executable(ArborX_Benchmark_Develop.exe develop.cpp) | ||
target_link_libraries(ArborX_Benchmark_Develop.exe ArborX::ArborX benchmark::benchmark) | ||
add_test(NAME ArborX_Benchmark_Develop COMMAND ./ArborX_Benchmark_Develop.exe) | ||
add_test(NAME ArborX_Benchmark_Develop COMMAND ArborX_Benchmark_Develop.exe) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
add_executable(ArborX_Benchmark_DistributedTree.exe distributed_tree_driver.cpp) | ||
target_link_libraries(ArborX_Benchmark_DistributedTree.exe ArborX::ArborX Boost::program_options) | ||
target_include_directories(ArborX_Benchmark_DistributedTree.exe PRIVATE ${CMAKE_SOURCE_DIR}/benchmarks/point_clouds) | ||
add_test(NAME ArborX_Benchmark_DistributedTree COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_PREFLAGS} ./ArborX_Benchmark_DistributedTree.exe ${MPIEXEC_POSTFLAGS}) | ||
add_test(NAME ArborX_Benchmark_DistributedTree COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_PREFLAGS} $<TARGET_FILE:ArborX_Benchmark_DistributedTree.exe> ${MPIEXEC_POSTFLAGS}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
add_executable(ArborX_Benchmark_ExecutionSpaces.exe execution_space_instances_driver.cpp) | ||
target_link_libraries(ArborX_Benchmark_ExecutionSpaces.exe ArborX::ArborX Boost::program_options) | ||
target_include_directories(ArborX_Benchmark_ExecutionSpaces.exe PRIVATE ${CMAKE_SOURCE_DIR}/benchmarks/point_clouds) | ||
add_test(NAME ArborX_Benchmark_ExecutionSpaces COMMAND ./ArborX_Benchmark_ExecutionSpaces.exe) | ||
add_test(NAME ArborX_Benchmark_ExecutionSpaces COMMAND ArborX_Benchmark_ExecutionSpaces.exe) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
add_executable(ArborX_Benchmark_UnionFind.exe union_find.cpp) | ||
target_link_libraries(ArborX_Benchmark_UnionFind.exe ArborX::ArborX benchmark::benchmark Boost::program_options) | ||
add_test(NAME ArborX_Benchmark_UnionFind COMMAND ./ArborX_Benchmark_UnionFind.exe --benchmark_color=true) | ||
add_test(NAME ArborX_Benchmark_UnionFind COMMAND ArborX_Benchmark_UnionFind.exe --benchmark_color=true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
if(Kokkos_ENABLE_CUDA) | ||
add_executable(ArborX_Example_CudaAccessTraits.exe example_cuda_access_traits.cpp) | ||
target_link_libraries(ArborX_Example_CudaAccessTraits.exe ArborX::ArborX) | ||
add_test(NAME ArborX_Example_CudaAccessTraits COMMAND ./ArborX_Example_CudaAccessTraits.exe) | ||
add_test(NAME ArborX_Example_CudaAccessTraits COMMAND ArborX_Example_CudaAccessTraits.exe) | ||
else() | ||
add_executable(ArborX_Example_HostAccessTraits.exe example_host_access_traits.cpp) | ||
target_link_libraries(ArborX_Example_HostAccessTraits.exe ArborX::ArborX) | ||
add_test(NAME ArborX_Example_HostAccessTraits_Example COMMAND ./ArborX_Example_HostAccessTraits.exe) | ||
add_test(NAME ArborX_Example_HostAccessTraits_Example COMMAND ArborX_Example_HostAccessTraits.exe) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
add_executable(ArborX_Example_BruteForce.exe brute_force.cpp) | ||
target_link_libraries(ArborX_Example_BruteForce.exe ArborX::ArborX Boost::program_options) | ||
add_test(NAME ArborX_Example_BruteForce COMMAND ./ArborX_Example_BruteForce.exe) | ||
add_test(NAME ArborX_Example_BruteForce COMMAND ArborX_Example_BruteForce.exe) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
add_executable(ArborX_Example_Callback.exe example_callback.cpp) | ||
target_link_libraries(ArborX_Example_Callback.exe ArborX::ArborX) | ||
add_test(NAME ArborX_Example_Callback COMMAND ./ArborX_Example_Callback.exe) | ||
add_test(NAME ArborX_Example_Callback COMMAND ArborX_Example_Callback.exe) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
add_executable(ArborX_Example_DBSCAN.exe example_dbscan.cpp) | ||
target_link_libraries(ArborX_Example_DBSCAN.exe ArborX::ArborX) | ||
add_test(NAME ArborX_Example_DBSCAN COMMAND ./ArborX_Example_DBSCAN.exe) | ||
add_test(NAME ArborX_Example_DBSCAN COMMAND ArborX_Example_DBSCAN.exe) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
add_executable(ArborX_Example_MolecularDynamics.exe example_molecular_dynamics.cpp) | ||
target_link_libraries(ArborX_Example_MolecularDynamics.exe ArborX::ArborX) | ||
add_test(NAME ArborX_Example_MolecularDynamics COMMAND ./ArborX_Example_MolecularDynamics.exe) | ||
add_test(NAME ArborX_Example_MolecularDynamics COMMAND ArborX_Example_MolecularDynamics.exe) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
add_executable(ArborX_Example_RayTracing.exe example_raytracing.cpp) | ||
target_link_libraries(ArborX_Example_RayTracing.exe ArborX::ArborX Boost::program_options) | ||
add_test(NAME ArborX_Example_RayTracing COMMAND ./ArborX_Example_RayTracing.exe --nx=10 --ny=10 --nz=10 --lx=1 --ly=100000 --lz=100000 --rays=1000) | ||
add_test(NAME ArborX_Example_RayTracing COMMAND ArborX_Example_RayTracing.exe --nx=10 --ny=10 --nz=10 --lx=1 --ly=100000 --lz=100000 --rays=1000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
add_executable(ArborX_Example_Intersection.exe example_intersection.cpp) | ||
target_link_libraries(ArborX_Example_Intersection.exe ArborX::ArborX) | ||
add_test(NAME ArborX_Example_Intersection COMMAND ./ArborX_Example_Intersection.exe) | ||
add_test(NAME ArborX_Example_Intersection COMMAND ArborX_Example_Intersection.exe) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
add_executable(ArborX_Example_TreeViz.exe tree_visualization.cpp) | ||
target_link_libraries(ArborX_Example_TreeViz.exe ArborX::ArborX Boost::program_options) | ||
add_test(NAME ArborX_Example_TreeViz COMMAND ./ArborX_Example_TreeViz.exe) | ||
add_test(NAME ArborX_Example_TreeViz COMMAND ArborX_Example_TreeViz.exe) | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/leaf_cloud.txt ${CMAKE_CURRENT_BINARY_DIR}/leaf_cloud.txt COPYONLY) | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/arborx_query_sort.py ${CMAKE_CURRENT_BINARY_DIR}/arborx_query_sort.py COPYONLY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters