-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put a covfie_ prefix on all libraries and executables.
This is to ensure that common names like "core" and "cpu" would not clash with target names used in client projects.
- Loading branch information
Showing
15 changed files
with
127 additions
and
106 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# This file is part of covfie, a part of the ACTS project | ||
# | ||
# Copyright (c) 2022 CERN | ||
# Copyright (c) 2022-2024 CERN | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public License, | ||
# v. 2.0. If a copy of the MPL was not distributed with this file, You can | ||
# obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
add_library(benchmark test_field.cpp) | ||
add_library(covfie_benchmark test_field.cpp) | ||
|
||
target_include_directories(benchmark PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) | ||
target_include_directories(covfie_benchmark PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) | ||
|
||
target_link_libraries(benchmark PUBLIC core) | ||
target_link_libraries(covfie_benchmark PUBLIC covfie::core) | ||
|
||
target_compile_definitions(benchmark PRIVATE _CRT_SECURE_NO_WARNINGS) | ||
target_compile_definitions(covfie_benchmark PRIVATE _CRT_SECURE_NO_WARNINGS) |
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,21 +1,21 @@ | ||
# This file is part of covfie, a part of the ACTS project | ||
# | ||
# Copyright (c) 2022 CERN | ||
# Copyright (c) 2022-2024 CERN | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public License, | ||
# v. 2.0. If a copy of the MPL was not distributed with this file, You can | ||
# obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
# Create the benchmark executable from the individual files. | ||
add_executable(benchmark_cpu benchmark_cpu.cpp) | ||
add_executable(covfie_benchmark_cpu benchmark_cpu.cpp) | ||
|
||
# Ensure that the tests are linked against the required libraries. | ||
target_link_libraries( | ||
benchmark_cpu | ||
covfie_benchmark_cpu | ||
PUBLIC | ||
core | ||
cpu | ||
benchmark | ||
covfie::core | ||
covfie::cpu | ||
covfie_benchmark | ||
benchmark::benchmark | ||
Boost::headers | ||
) |
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,11 +1,11 @@ | ||
# This file is part of covfie, a part of the ACTS project | ||
# | ||
# Copyright (c) 2022 CERN | ||
# Copyright (c) 2022-2024 CERN | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public License, | ||
# v. 2.0. If a copy of the MPL was not distributed with this file, You can | ||
# obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
add_library(bitmap bitmap.cpp) | ||
add_library(covfie_bitmap bitmap.cpp) | ||
|
||
target_include_directories(bitmap PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) | ||
target_include_directories(covfie_bitmap PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) |
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
Oops, something went wrong.