Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
reconstruction_benchmarks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
benchmarks
reconstruction_benchmarks
Commits
94bc0abd
Commit
94bc0abd
authored
2 years ago
by
Christopher Dilks
Browse files
Options
Downloads
Patches
Plain Diff
build: cleanup
parent
bea6dcdc
Branches
Branches containing commit
No related tags found
2 merge requests
!309
Irt algo
,
!293
feat: dRICH benchmarks
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-8
1 addition, 8 deletions
CMakeLists.txt
benchmarks/rich/CMakeLists.txt
+3
-12
3 additions, 12 deletions
benchmarks/rich/CMakeLists.txt
with
4 additions
and
20 deletions
CMakeLists.txt
+
1
−
8
View file @
94bc0abd
cmake_minimum_required
(
VERSION 3.0.0 FATAL_ERROR
)
cmake_minimum_required
(
VERSION 3.0.0 FATAL_ERROR
)
project
(
reconstruction_benchmarks
project
(
reconstruction_benchmarks LANGUAGES CXX
)
LANGUAGES CXX
)
cmake_policy
(
SET CMP0074 NEW
)
# use `<PackageName>_ROOT` variables
cmake_policy
(
SET CMP0074 NEW
)
# use `<PackageName>_ROOT` variables
include
(
GNUInstallDirs
)
include
(
GNUInstallDirs
)
# dependencies
#------------------------
# ROOT
# ROOT
find_package
(
ROOT 6 REQUIRED COMPONENTS Core RIO Hist
)
find_package
(
ROOT 6 REQUIRED COMPONENTS Core RIO Hist
)
list
(
APPEND CMAKE_PREFIX_PATH $ENV{ROOTSYS}
)
include
(
${
ROOT_USE_FILE
}
)
include
(
${
ROOT_USE_FILE
}
)
# data model
# data model
...
@@ -25,5 +19,4 @@ find_package(spdlog REQUIRED)
...
@@ -25,5 +19,4 @@ find_package(spdlog REQUIRED)
add_compile_definitions
(
SPDLOG_FMT_EXTERNAL
)
add_compile_definitions
(
SPDLOG_FMT_EXTERNAL
)
# benchmarks
# benchmarks
#------------------------
add_subdirectory
(
benchmarks/rich
)
add_subdirectory
(
benchmarks/rich
)
This diff is collapsed.
Click to expand it.
benchmarks/rich/CMakeLists.txt
+
3
−
12
View file @
94bc0abd
...
@@ -9,8 +9,8 @@ list(REMOVE_ITEM algo_sources ${algo_exe_source})
...
@@ -9,8 +9,8 @@ list(REMOVE_ITEM algo_sources ${algo_exe_source})
# library
# library
set
(
algo_lib
${
PROJECT_NAME
}
)
set
(
algo_lib
${
PROJECT_NAME
}
)
include_directories
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/include
)
add_library
(
${
algo_lib
}
SHARED
${
algo_sources
}
)
add_library
(
${
algo_lib
}
SHARED
${
algo_sources
}
)
target_include_directories
(
${
algo_lib
}
PUBLIC
${
CMAKE_CURRENT_SOURCE_DIR
}
/include
)
target_compile_options
(
${
algo_lib
}
PRIVATE -Wall -Wno-misleading-indentation
)
target_compile_options
(
${
algo_lib
}
PRIVATE -Wall -Wno-misleading-indentation
)
# executable
# executable
...
@@ -30,14 +30,5 @@ target_link_libraries(${algo_exe}
...
@@ -30,14 +30,5 @@ target_link_libraries(${algo_exe}
)
)
# installation
# installation
install
(
FILES
install
(
FILES
${
algo_headers
}
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/
${
PROJECT_NAME
}
)
${
algo_headers
}
install
(
TARGETS
${
algo_exe
}
${
algo_lib
}
)
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/
${
PROJECT_NAME
}
)
install
(
TARGETS
${
algo_exe
}
${
algo_lib
}
EXPORT
${
PROJECT_NAME
}
Targets
LIBRARY DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
ARCHIVE DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
RUNTIME DESTINATION
${
CMAKE_INSTALL_BINDIR
}
INCLUDES DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/
${
CMAKE_PROJECT_NAME
}
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment