forked from ArborPFA/ArborContent
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
304 changed files
with
60,664 additions
and
12,269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# APRILContent | ||
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
############################################################################## | ||
# cmake configuration file for APRILContent | ||
# | ||
# requires: | ||
# MacroCheckPackageLibs.cmake for checking package libraries | ||
# | ||
# returns following variables: | ||
# | ||
# APRILContent_FOUND : set to TRUE if APRILContent found | ||
# if FIND_PACKAGE called with REQUIRED and COMPONENTS arguments | ||
# APRILContent_FOUND is only set to TRUE if ALL components are also found | ||
# if REQUIRED is NOT set components may or may not be available | ||
# | ||
# APRILContent_ROOT : path to this APRILContent installation | ||
# APRILContent_VERSION : package version | ||
# APRILContent_LIBRARIES : list of APRILContent libraries (NOT including COMPONENTS) | ||
# APRILContent_INCLUDE_DIRS : list of paths to be used with INCLUDE_DIRECTORIES | ||
# APRILContent_LIBRARY_DIRS : list of paths to be used with LINK_DIRECTORIES | ||
# APRILContent_COMPONENT_LIBRARIES : list of APRILContent component libraries | ||
# APRILContent_${COMPONENT}_FOUND : set to TRUE or FALSE for each library | ||
# APRILContent_${COMPONENT}_LIBRARY : path to individual libraries | ||
# APRILContent_${COMPONENT}_LIB_DEPENDS : individual library dependencies | ||
# | ||
# @author Jan Engels, Desy | ||
############################################################################## | ||
|
||
SET( APRILContent_ROOT "@CMAKE_INSTALL_PREFIX@" ) | ||
SET( APRILContent_VERSION "@APRILContent_VERSION@" ) | ||
|
||
|
||
# ---------- include dirs ----------------------------------------------------- | ||
# do not store find results in cache | ||
SET( APRILContent_INCLUDE_DIRS APRILContent_INCLUDE_DIRS-NOTFOUND ) | ||
MARK_AS_ADVANCED( APRILContent_INCLUDE_DIRS ) | ||
|
||
FIND_PATH( APRILContent_INCLUDE_DIRS | ||
NAMES APRILClustering/ClusteringParentAlgorithm.h | ||
PATHS ${APRILContent_ROOT}/include | ||
NO_DEFAULT_PATH | ||
) | ||
|
||
|
||
|
||
# ---------- libraries -------------------------------------------------------- | ||
INCLUDE( "@PANDORA_CMAKE_MODULES_PATH@/MacroCheckPackageLibs.cmake" ) | ||
|
||
# only standard libraries should be passed as arguments to CHECK_PACKAGE_LIBS | ||
# additional components are set by cmake in variable PKG_FIND_COMPONENTS | ||
# first argument should be the package name | ||
CHECK_PACKAGE_LIBS( APRILContent APRILContent ) | ||
|
||
|
||
|
||
|
||
# ---------- libraries dependencies ------------------------------------------- | ||
# this sets APRILContent_${COMPONENT}_LIB_DEPENDS variables | ||
INCLUDE( "${APRILContent_ROOT}/lib/cmake/APRILContentLibDeps.cmake" ) | ||
|
||
|
||
|
||
|
||
# ---------- final checking --------------------------------------------------- | ||
INCLUDE( FindPackageHandleStandardArgs ) | ||
# set APRILContent_FOUND to TRUE if all listed variables are TRUE and not empty | ||
# APRILContent_COMPONENT_VARIABLES will be set if FIND_PACKAGE is called with REQUIRED argument | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS( APRILContent DEFAULT_MSG APRILContent_ROOT APRILContent_INCLUDE_DIRS APRILContent_LIBRARIES ${APRILContent_COMPONENT_VARIABLES} ) | ||
|
||
SET( APRILContent_FOUND ${APRILContent_FOUND} ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
IF(NOT DEFINED mlpack_DIR) | ||
MESSAGE(STATUS "Warning: it is mandorary to define mlpack_DIR.") | ||
ENDIF() | ||
|
||
IF (NOT DEFINED mlpack_INCLUDE_DIRS) | ||
SET(mlpack_INCLUDE_DIRS ${mlpack_DIR}/include) | ||
ENDIF() | ||
|
||
# Check mlpack core header file | ||
FIND_PATH(mlpack_CORE_HPP_DIR NAMES core.hpp HINTS ${mlpack_INCLUDE_DIRS}/mlpack) | ||
|
||
# Check mlpack library | ||
FIND_LIBRARY(mlpack_LIBRARIES NAMES mlpack HINTS ${mlpack_DIR}/*) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(mlpack DEFAULT_MSG mlpack_CORE_HPP_DIR mlpack_LIBRARIES) | ||
|
||
IF(NOT mlpack_FOUND) | ||
MESSAGE(FATAL_ERROR "The mlpack package not found.") | ||
ENDIF() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.