IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
corsika
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue 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
Pranav Sampathkumar
corsika
Commits
5bd42bc5
Commit
5bd42bc5
authored
4 years ago
by
Ralf M Ulrich
Browse files
Options
Downloads
Patches
Plain Diff
automaise install
parent
2863f363
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeModules/CorsikaUtilities.cmake
+1
-0
1 addition, 0 deletions
CMakeModules/CorsikaUtilities.cmake
Documentation/Examples/CMakeLists.txt
+24
-10
24 additions, 10 deletions
Documentation/Examples/CMakeLists.txt
with
25 additions
and
10 deletions
CMakeModules/CorsikaUtilities.cmake
+
1
−
0
View file @
5bd42bc5
...
...
@@ -206,4 +206,5 @@ function (CORSIKA_ADD_EXAMPLE)
COMMAND
${
CMAKE_COMMAND
}
-E echo
"***** running example:
${
name
}
"
COMMAND
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
name
}
WORKING_DIRECTORY
${
PROJECT_BINARY_DIR
}
/example_outputs
)
install
(
TARGETS
${
name
}
DESTINATION share/examples
)
endfunction
(
CORSIKA_ADD_EXAMPLE
)
This diff is collapsed.
Click to expand it.
Documentation/Examples/CMakeLists.txt
+
24
−
10
View file @
5bd42bc5
CORSIKA_ADD_EXAMPLE
(
helix_example
)
target_link_libraries
(
helix_example CORSIKAgeometry CORSIKAunits
)
install
(
TARGETS helix_example DESTINATION share/examples
)
CORSIKA_ADD_EXAMPLE
(
particle_list_example
)
target_link_libraries
(
particle_list_example CORSIKAparticles CORSIKAunits CORSIKAprocesses ProcessSibyll ProcessQGSJetII
)
install
(
TARGETS particle_list_example DESTINATION share/examples
)
CORSIKA_ADD_EXAMPLE
(
geometry_example
)
target_link_libraries
(
geometry_example CORSIKAgeometry CORSIKAunits
)
install
(
TARGETS geometry_example DESTINATION share/examples
)
CORSIKA_ADD_EXAMPLE
(
logger_example
)
target_link_libraries
(
logger_example CORSIKAunits CORSIKAlogging
)
install
(
TARGETS logger_example DESTINATION share/examples
)
CORSIKA_ADD_EXAMPLE
(
stack_example
)
target_link_libraries
(
stack_example SuperStupidStack CORSIKAunits
CORSIKAlogging
)
# address sanitizer is making this example too slow, so we only do "undefined"
CORSIKA_ADD_EXAMPLE
(
cascade
_example
)
CORSIKA_ADD_EXAMPLE
(
boundary
_example
)
target_link_libraries
(
boundary_example
SuperStupidStack
CORSIKAunits
...
...
@@ -37,7 +33,29 @@ target_link_libraries (boundary_example
CORSIKAenvironment
CORSIKAprocesssequence
)
install
(
TARGETS boundary_example DESTINATION share/examples
)
CORSIKA_ADD_EXAMPLE
(
cascade_example
)
target_link_libraries
(
cascade_example
SuperStupidStack
CORSIKAunits
CORSIKAlogging
CORSIKArandom
ProcessSibyll
CORSIKAcascade
ProcessEnergyLoss
ProcessTrackWriter
ProcessStackInspector
ProcessTrackingLine
ProcessParticleCut
ProcessHadronicElasticModel
ProcessStackInspector
CORSIKAprocesses
CORSIKAcascade
CORSIKAparticles
CORSIKAgeometry
CORSIKAenvironment
CORSIKAprocesssequence
)
if
(
Pythia8_FOUND
)
CORSIKA_ADD_EXAMPLE
(
cascade_proton_example
)
...
...
@@ -63,7 +81,6 @@ if (Pythia8_FOUND)
CORSIKAenvironment
CORSIKAprocesssequence
)
install
(
TARGETS cascade_proton_example DESTINATION share/examples
)
CORSIKA_ADD_EXAMPLE
(
vertical_EAS
)
target_link_libraries
(
vertical_EAS
...
...
@@ -90,7 +107,6 @@ if (Pythia8_FOUND)
CORSIKAenvironment
CORSIKAprocesssequence
)
install
(
TARGETS vertical_EAS DESTINATION share/examples
)
endif
()
CORSIKA_ADD_EXAMPLE
(
stopping_power stopping_power
)
...
...
@@ -102,7 +118,6 @@ target_link_libraries (stopping_power
CORSIKAgeometry
CORSIKAenvironment
)
install
(
TARGETS stopping_power DESTINATION share/examples
)
CORSIKA_ADD_EXAMPLE
(
staticsequence_example
)
target_link_libraries
(
staticsequence_example
...
...
@@ -110,4 +125,3 @@ target_link_libraries (staticsequence_example
CORSIKAunits
CORSIKAgeometry
CORSIKAlogging
)
install
(
TARGETS staticsequence_example DESTINATION share/examples
)
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