Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CEPCSW
Manage
Activity
Members
Labels
Plan
Issues
6
Issue boards
Milestones
Wiki
Code
Merge requests
9
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
cepc
CEPCSW
Commits
f7848144
Commit
f7848144
authored
5 years ago
by
zoujh@ihep.ac.cn
Browse files
Options
Downloads
Patches
Plain Diff
generate plcio classes
parent
7ae48364
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Event/CMakeLists.txt
+34
-0
34 additions, 0 deletions
Event/CMakeLists.txt
with
34 additions
and
0 deletions
Event/CMakeLists.txt
0 → 100644
+
34
−
0
View file @
f7848144
gaudi_subdir
(
Event v0r0
)
find_package
(
podio REQUIRED HINTS $ENV{PODIO}
)
# Make sure the library is found.
# Not the case if LD_LIBRARY_PATH is wrong
find_library
(
PODIOLIB podio PATHS
${
podio_DIR
}
/../lib
)
if
(
NOT PODIOLIB
)
message
(
FATAL_ERROR
"libpodio.so(dylib) cannot be found dynamically. Make sure you have set up your environment to use PODIO"
)
endif
()
link_directories
(
${
podio_LIBRARY_DIR
}
)
execute_process
(
COMMAND python
${
podio_CMAKE_DIR
}
/../python/podio_class_generator.py Event/plcio.yaml Event Event
WORKING_DIRECTORY
${
CMAKE_SOURCE_DIR
}
)
include_directories
(
${
podio_INCLUDE_DIRS
}
)
set
(
Event_srcs
src/*.cc
)
# Headers and Libraries
gaudi_install_headers
(
Event
)
# Modules
gaudi_add_module
(
Event
${
Event_srcs
}
INCLUDE_DIRS Event
#LINK_LIBRARIES GaudiKernel
)
# Unit tests
#gaudi_add_test(HelloAlg
# FRAMEWORK options/helloalg.py)
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