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
8471629a
Commit
8471629a
authored
6 years ago
by
Hans Dembinski
Browse files
Options
Downloads
Patches
Plain Diff
fixing cmake build
parent
71270188
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+4
-4
4 additions, 4 deletions
CMakeLists.txt
Documentation/Doxygen/CMakeLists.txt
+5
-2
5 additions, 2 deletions
Documentation/Doxygen/CMakeLists.txt
README.md
+13
-2
13 additions, 2 deletions
README.md
with
22 additions
and
8 deletions
CMakeLists.txt
+
4
−
4
View file @
8471629a
...
...
@@ -15,7 +15,7 @@ set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMakeModules)
include
(
CorsikaUtilities
)
# a few cmake function
# enable warnings and disallow non-standard language
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Wall -pedantic -Wextra
"
)
add_definitions
(
-Wall -pedantic -Wextra
)
set
(
CMAKE_CXX_STANDARD 17
)
enable_testing
()
...
...
@@ -31,16 +31,16 @@ set (CTEST_OUTPUT_ON_FAILURE 1)
# #-j ${PROCESSOR_COUNT}
# # DEPENDENCIES corsika
# )
#add_custom_target (corsika_pre_build)
#add_custom_command (TARGET corsika_pre_build PRE_BUILD COMMAND "${PROJECT_SOURCE_DIR}/pre_compile.py")
# dependencies
#
find_package (Boost 1.
40 COMPONENTS program_options
REQUIRED)
find_package
(
Boost 1.
60
REQUIRED
)
find_package
(
Eigen3 REQUIRED
)
#find_package (HDF5) # not yet needed
# order of subdirectories
# order of subdirectories
add_subdirectory
(
ThirdParty
)
#add_subdirectory (Utilities)
add_subdirectory
(
Framework
)
...
...
This diff is collapsed.
Click to expand it.
Documentation/Doxygen/CMakeLists.txt
+
5
−
2
View file @
8471629a
find_package
(
Doxygen
REQUIRED dot
OPTIONAL_COMPONENTS mscgen dia
)
find_package
(
Doxygen OPTIONAL_COMPONENTS
dot
mscgen dia
)
if
(
DOXYGEN_FOUND
)
if
(
NOT DOXYGEN_DOT_EXECUTABLE
)
message
(
FATAL_ERROR
"Found doxygen but not 'dot' command, please install graphviz or set DOXYGEN_DOT_EXECUTABLE"
)
endif
()
set
(
DOXYGEN_IN
${
CMAKE_CURRENT_SOURCE_DIR
}
/Doxyfile.in
)
set
(
DOXYGEN_OUT
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile
)
set
(
DOXYGEN_GENERATE_HTML YES
)
...
...
@@ -28,4 +32,3 @@ else (DOXYGEN_FOUND)
message
(
"Doxygen need to be installed to generate the doxygen documentation"
)
endif
(
DOXYGEN_FOUND
)
This diff is collapsed.
Click to expand it.
README.md
+
13
−
2
View file @
8471629a
...
...
@@ -22,9 +22,9 @@ We also want to point you to the [MCnet guidelines](https://gitlab.ikp.kit.edu/A
## Installation
Prerequisites: eigen3, cmake, g++, git. On Ubuntu 18.04, just do:
Prerequisites: eigen3,
boost,
cmake, g++, git. On Ubuntu 18.04, just do:
```
sudo apt-get install libeigen3-dev cmake g++ git
sudo apt-get install libeigen3-dev
libboost-dev
cmake g++ git
```
Follow these steps to download and install CORSIKA8-milestone1
...
...
@@ -40,3 +40,14 @@ make install
make test
```
and if you want to see how the Heitler model works and is implemented, see
`Framework/Cascade/testCascade.cc`
for a starting point.
### Generating doxygen documentation
To generate the documentation, you need doxygen and graphviz. On Ubuntu 18.04, do:
```
sudo apt-get install doxygen graphviz
```
Switch to the corsika build directory and do
```
make doxygen
```
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