Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nptool
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Gitlab has been updated. More info
here
.
Show more breadcrumbs
np
nptool
Commits
57f9e1d7
Commit
57f9e1d7
authored
9 years ago
by
adrien-matta
Browse files
Options
Downloads
Patches
Plain Diff
* Fidling around with root linking
parent
da4b22f3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
NPAnalysis/S1554/Calibration.txt
+1
-1
1 addition, 1 deletion
NPAnalysis/S1554/Calibration.txt
NPLib/Core/CMakeLists.txt
+1
-1
1 addition, 1 deletion
NPLib/Core/CMakeLists.txt
NPLib/Maya/CMakeLists.txt
+1
-1
1 addition, 1 deletion
NPLib/Maya/CMakeLists.txt
NPLib/Root.cmake
+4
-3
4 additions, 3 deletions
NPLib/Root.cmake
with
7 additions
and
6 deletions
NPAnalysis/S1554/Calibration.txt
+
1
−
1
View file @
57f9e1d7
...
@@ -2,4 +2,4 @@ CalibrationFilePath
...
@@ -2,4 +2,4 @@ CalibrationFilePath
SharcCalibration.txt
SharcCalibration.txt
SharcPixelCalibration.txt
SharcPixelCalibration.txt
SharcPixelDeadLayer.txt
SharcPixelDeadLayer.txt
TigressCalibration.txt
TigressCalibration
_Ryan
.txt
This diff is collapsed.
Click to expand it.
NPLib/Core/CMakeLists.txt
+
1
−
1
View file @
57f9e1d7
add_custom_command
(
OUTPUT TAsciiFileDict.cxx COMMAND ../scripts/build_dict.sh TAsciiFile.h TAsciiFileDict.cxx TAsciiFile.rootmap libNPCore.so
)
add_custom_command
(
OUTPUT TAsciiFileDict.cxx COMMAND ../scripts/build_dict.sh TAsciiFile.h TAsciiFileDict.cxx TAsciiFile.rootmap libNPCore.so
)
add_custom_command
(
OUTPUT NPVDetectorDict.cxx COMMAND ../scripts/build_dict.sh NPVDetector.h NPVDetectorDict.cxx NPVDetector.rootmap libNPCore.so NPCoreLinkdef.h
)
add_custom_command
(
OUTPUT NPVDetectorDict.cxx COMMAND ../scripts/build_dict.sh NPVDetector.h NPVDetectorDict.cxx NPVDetector.rootmap libNPCore.so NPCoreLinkdef.h
)
add_library
(
NPCore SHARED NPVAnalysis.cxx NPAnalysisFactory.cxx NPCalibrationManager.cxx NPOptionManager.cxx RootOutput.cxx RootInput.cxx TAsciiFile.cxx TAsciiFileDict.cxx NPDetectorManager.cxx NPVDetector.cxx NPVDetectorDict.cxx NPVSpectra.cxx NPDetectorFactory.cxx NPSpectraServer.cxx
)
add_library
(
NPCore SHARED NPVAnalysis.cxx NPAnalysisFactory.cxx NPCalibrationManager.cxx NPOptionManager.cxx RootOutput.cxx RootInput.cxx TAsciiFile.cxx TAsciiFileDict.cxx NPDetectorManager.cxx NPVDetector.cxx NPVDetectorDict.cxx NPVSpectra.cxx NPDetectorFactory.cxx NPSpectraServer.cxx
)
target_link_libraries
(
NPCore
${
ROOT_LIBRARIES
}
-lGpad
)
target_link_libraries
(
NPCore
${
ROOT_LIBRARIES
}
)
install
(
FILES NPVAnalysis.h NPAnalysisFactory.h NPCalibrationManager.h NPOptionManager.h RootInput.h RootOutput.h TAsciiFile.h NPDetectorManager.h NPVDetector.h NPGlobalSystemOfUnits.h NPPhysicalConstants.h NPSystemOfUnits.h NPVSpectra.h NPDetectorFactory.h NPSpectraServer.h DESTINATION
${
CMAKE_INCLUDE_OUTPUT_DIRECTORY
}
)
install
(
FILES NPVAnalysis.h NPAnalysisFactory.h NPCalibrationManager.h NPOptionManager.h RootInput.h RootOutput.h TAsciiFile.h NPDetectorManager.h NPVDetector.h NPGlobalSystemOfUnits.h NPPhysicalConstants.h NPSystemOfUnits.h NPVSpectra.h NPDetectorFactory.h NPSpectraServer.h DESTINATION
${
CMAKE_INCLUDE_OUTPUT_DIRECTORY
}
)
This diff is collapsed.
Click to expand it.
NPLib/Maya/CMakeLists.txt
+
1
−
1
View file @
57f9e1d7
...
@@ -4,7 +4,7 @@ add_custom_command(OUTPUT TMayaHistoDict.cxx COMMAND ../scripts/build_dict.sh TM
...
@@ -4,7 +4,7 @@ add_custom_command(OUTPUT TMayaHistoDict.cxx COMMAND ../scripts/build_dict.sh TM
add_library
(
NPMaya SHARED TMayaData.cxx TMayaHisto.cxx TMayaDataDict.cxx TMayaHistoDict.cxx ConfigReader.cxx
)
add_library
(
NPMaya SHARED TMayaData.cxx TMayaHisto.cxx TMayaDataDict.cxx TMayaHistoDict.cxx ConfigReader.cxx
)
target_link_libraries
(
NPMaya
${
ROOT_LIBRARIES
}
NPCore
)
target_link_libraries
(
NPMaya
${
ROOT_LIBRARIES
}
-lGraf
NPCore
)
install
(
FILES TMayaData.h TMayaHisto.h ConfigReader.h DESTINATION
${
CMAKE_INCLUDE_OUTPUT_DIRECTORY
}
)
install
(
FILES TMayaData.h TMayaHisto.h ConfigReader.h DESTINATION
${
CMAKE_INCLUDE_OUTPUT_DIRECTORY
}
)
endif
()
endif
()
This diff is collapsed.
Click to expand it.
NPLib/Root.cmake
+
4
−
3
View file @
57f9e1d7
...
@@ -43,17 +43,18 @@ string(REPLACE "-lGui" "" ROOT_LIBRARIES "${ROOT_LIBRARIES}")
...
@@ -43,17 +43,18 @@ string(REPLACE "-lGui" "" ROOT_LIBRARIES "${ROOT_LIBRARIES}")
#string(REPLACE "-lRIO" "" ROOT_LIBRARIES "${ROOT_LIBRARIES}")
#string(REPLACE "-lRIO" "" ROOT_LIBRARIES "${ROOT_LIBRARIES}")
#string(REPLACE "-lNet" "" ROOT_LIBRARIES "${ROOT_LIBRARIES}")
#string(REPLACE "-lNet" "" ROOT_LIBRARIES "${ROOT_LIBRARIES}")
#string(REPLACE "-lHist" "" ROOT_LIBRARIES "${ROOT_LIBRARIES}")
#string(REPLACE "-lHist" "" ROOT_LIBRARIES "${ROOT_LIBRARIES}")
#
string(REPLACE "-lGraf " " " ROOT_LIBRARIES "${ROOT_LIBRARIES}")
string
(
REPLACE
"-lGraf "
" "
ROOT_LIBRARIES
"
${
ROOT_LIBRARIES
}
"
)
string
(
REPLACE
"-lGraf3d"
""
ROOT_LIBRARIES
"
${
ROOT_LIBRARIES
}
"
)
string
(
REPLACE
"-lGraf3d"
""
ROOT_LIBRARIES
"
${
ROOT_LIBRARIES
}
"
)
string
(
REPLACE
"-lGpad"
""
ROOT_LIBRARIES
"
${
ROOT_LIBRARIES
}
"
)
#
string(REPLACE "-lGpad" "" ROOT_LIBRARIES "${ROOT_LIBRARIES}")
#string(REPLACE "-lTree" "" ROOT_LIBRARIES "${ROOT_LIBRARIES}")
#string(REPLACE "-lTree" "" ROOT_LIBRARIES "${ROOT_LIBRARIES}")
string
(
REPLACE
"-lRint"
""
ROOT_LIBRARIES
"
${
ROOT_LIBRARIES
}
"
)
string
(
REPLACE
"-lRint"
""
ROOT_LIBRARIES
"
${
ROOT_LIBRARIES
}
"
)
string
(
REPLACE
"-lPost
S
cript"
""
ROOT_LIBRARIES
"
${
ROOT_LIBRARIES
}
"
)
string
(
REPLACE
"-lPost
s
cript"
""
ROOT_LIBRARIES
"
${
ROOT_LIBRARIES
}
"
)
string
(
REPLACE
"-lMatrix"
""
ROOT_LIBRARIES
"
${
ROOT_LIBRARIES
}
"
)
string
(
REPLACE
"-lMatrix"
""
ROOT_LIBRARIES
"
${
ROOT_LIBRARIES
}
"
)
#string(REPLACE "-lPhysics" "" ROOT_LIBRARIES "${ROOT_LIBRARIES}")
#string(REPLACE "-lPhysics" "" ROOT_LIBRARIES "${ROOT_LIBRARIES}")
#string(REPLACE "-lMathCore" "" ROOT_LIBRARIES "${ROOT_LIBRARIES}")
#string(REPLACE "-lMathCore" "" ROOT_LIBRARIES "${ROOT_LIBRARIES}")
string
(
REPLACE
"-lThread"
""
ROOT_LIBRARIES
"
${
ROOT_LIBRARIES
}
"
)
string
(
REPLACE
"-lThread"
""
ROOT_LIBRARIES
"
${
ROOT_LIBRARIES
}
"
)
string
(
REPLACE
"-lpthread"
""
ROOT_LIBRARIES
"
${
ROOT_LIBRARIES
}
"
)
string
(
REPLACE
"-lpthread"
""
ROOT_LIBRARIES
"
${
ROOT_LIBRARIES
}
"
)
message
(
"
${
ROOT_LIBRARIES
}
"
)
# Lib directories
# Lib directories
exec_program
(
${
NPTOOL_ROOT_CONFIG
}
ARGS
"--libdir"
OUTPUT_VARIABLE ROOT_LIBRARY_DIR
)
exec_program
(
${
NPTOOL_ROOT_CONFIG
}
ARGS
"--libdir"
OUTPUT_VARIABLE ROOT_LIBRARY_DIR
)
...
...
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