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
cafbeb13
Commit
cafbeb13
authored
5 years ago
by
ralfulrich
Browse files
Options
Downloads
Patches
Plain Diff
fixed order in cmake files
parent
efe7693d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+20
-12
20 additions, 12 deletions
CMakeLists.txt
Framework/Geometry/CMakeLists.txt
+5
-5
5 additions, 5 deletions
Framework/Geometry/CMakeLists.txt
with
25 additions
and
17 deletions
CMakeLists.txt
+
20
−
12
View file @
cafbeb13
...
...
@@ -121,38 +121,46 @@ if (WITH_PYTHIA)
find_package
(
Pythia8
)
# optional
endif
(
WITH_PYTHIA
)
#
order of subdirectories
#
include potential ThirdParty code provided with CORSIKA
add_subdirectory
(
ThirdParty
)
add_subdirectory
(
Framework
)
add_subdirectory
(
Environment
)
add_subdirectory
(
Stack
)
add_subdirectory
(
Setup
)
add_subdirectory
(
Processes
)
add_subdirectory
(
Documentation
)
add_subdirectory
(
Main
)
add_subdirectory
(
Tools
)
if
(
WITH_COAST
)
add_subdirectory
(
COAST
)
endif
()
# check for Eigen3: either use ThirdParty/eigen3 or system-level installation
if
(
WITH_EIGEN3
)
string
(
TOLOWER
${
WITH_EIGEN3
}
WITH_EIGEN3_LOWER
)
if
(
WITH_EIGEN3_LOWER EQUAL
"system"
)
find_package
(
Eigen3 REQUIRED
)
message
(
"opt1"
)
else
()
list
(
APPEND CMAKE_MODULE_PATH
"
${
WITH_EIGEN3
}
/cmake"
)
set
(
EIGEN3_INCLUDE_DIR
"
${
WITH_EIGEN3
}
"
CACHE PATH
"eigen3 directory"
)
find_package
(
Eigen3 REQUIRED
)
message
(
"opt2"
)
endif
()
else
(
WITH_EIGEN3
)
list
(
APPEND CMAKE_MODULE_PATH
"
${
LOCAL_Eigen3_VERSION
}
/cmake"
)
set
(
EIGEN3_INCLUDE_DIR
"
${
LOCAL_Eigen3_VERSION
}
"
CACHE PATH
"eigen3 directory"
)
find_package
(
Eigen3 REQUIRED
)
message
(
"op3"
)
endif
(
WITH_EIGEN3
)
# some final info output
message
(
"Use eigen3 version:
${
EIGEN3_VERSION
}
from
${
EIGEN3_INCLUDE_DIR
}
"
)
# order of subdirectories
add_subdirectory
(
Framework
)
add_subdirectory
(
Environment
)
add_subdirectory
(
Stack
)
add_subdirectory
(
Setup
)
add_subdirectory
(
Processes
)
add_subdirectory
(
Documentation
)
add_subdirectory
(
Main
)
add_subdirectory
(
Tools
)
if
(
WITH_COAST
)
add_subdirectory
(
COAST
)
endif
()
# final summary output
include
(
FeatureSummary
)
feature_summary
(
WHAT ALL
)
This diff is collapsed.
Click to expand it.
Framework/Geometry/CMakeLists.txt
+
5
−
5
View file @
cafbeb13
...
...
@@ -45,15 +45,15 @@ target_link_libraries (
target_include_directories
(
CORSIKAgeometry
SYSTEM
PUBLIC
${
EIGEN3_INCLUDE_DIR
}
INTERFACE
$<BUILD_INTERFACE:
${
PROJECT_BINARY_DIR
}
/include>
$<INSTALL_INTERFACE:include/include>
)
target_include_directories
(
CORSIKAgeometry
INTERFACE
$<BUILD_INTERFACE:
${
PROJECT_BINARY_DIR
}
/include>
$<INSTALL_INTERFACE:include/include>
SYSTEM
PUBLIC
"
${
EIGEN3_INCLUDE_DIR
}
"
)
install
(
...
...
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