-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from tanguypasquier/master
Inclusion of SDHCALContent and APRILContent
- Loading branch information
Showing
4 changed files
with
62 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
build/ | ||
lib/ |
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,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) | ||
|
||
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
7b934b3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the compilation options to choose to include SDHCALContent or APRILContent in DDMarlinPandora.
To compile with SDHCALContent :
mkdir build
cd build
cmake -C ${ILCSOFT}/ILCSoft.cmake -DPANDORA_MONITORING=ON -DUSE_SDHCALCONTENT=ON -DSDHCALContent_DIR=path/to/SDHCALContent ..
To compile with APRILContent :
mkdir build
cd build
cmake -C ${ILCSOFT}/ILCSoft.cmake -DPANDORA_MONITORING=ON -DUSE_APRILCONTENT=ON -DAPRILContent_DIR=path/toAPRILContent -Dmlpack_DIR=path/to/MLPACK/INSTALL ..