Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AculUtils
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AccullinaGroup
AculUtils
Commits
13e5802a
Commit
13e5802a
authored
Mar 19, 2024
by
Vratislav Chudoba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMakeLists files stripped of excess.
parent
bcb132d1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
75 deletions
+5
-75
CMakeLists.txt
AculData/CMakeLists.txt
+0
-6
CMakeLists.txt
CMakeLists.txt
+2
-64
CMakeLists.txt
TELoss/CMakeLists.txt
+3
-5
No files found.
AculData/CMakeLists.txt
View file @
13e5802a
...
@@ -6,15 +6,9 @@ ROOT_STANDARD_LIBRARY_PACKAGE(AculData
...
@@ -6,15 +6,9 @@ ROOT_STANDARD_LIBRARY_PACKAGE(AculData
HEADERS
HEADERS
AculCalibCsI.h
AculCalibCsI.h
AculCalibration.h
AculCalibration.h
# ConfigDictionary.h
# ReturnCodes.h
# AculDataLinkDef.h
SOURCES
SOURCES
AculCalibCsI.cpp
AculCalibCsI.cpp
AculCalibration.cpp
AculCalibration.cpp
# ConfigDictionary.cpp
# DICTIONARY_OPTIONS
# -writeEmptyRootPCM
# DEPENDENCIES
# DEPENDENCIES
# MathCore
# MathCore
# Matrix
# Matrix
...
...
CMakeLists.txt
View file @
13e5802a
cmake_minimum_required
(
VERSION 3.0
)
cmake_minimum_required
(
VERSION 3.0
)
project
(
AculUtils
)
project
(
AculUtils
)
# Find ROOT package
# Find ROOT package
find_package
(
ROOT REQUIRED
)
find_package
(
ROOT REQUIRED
)
...
@@ -9,73 +8,12 @@ find_package(ROOT REQUIRED)
...
@@ -9,73 +8,12 @@ find_package(ROOT REQUIRED)
include_directories
(
${
ROOT_INCLUDE_DIRS
}
)
include_directories
(
${
ROOT_INCLUDE_DIRS
}
)
# Print the value of ROOT_INCLUDE_DIRS
# Print the value of ROOT_INCLUDE_DIRS
message
(
STATUS
"ROOT include directories:
${
ROOT_INCLUDE_DIRS
}
"
)
message
(
STATUS
"ROOT include directories:
${
ROOT_INCLUDE_DIRS
}
"
)
# message(STATUS "target_link_libraries(TELoss): ${ROOT_LIBRARIES}")
# include_directories(TELoss)
# Add the
TELoss directory
# Add the
subdirectories
add_subdirectory
(
TELoss
)
add_subdirectory
(
TELoss
)
add_subdirectory
(
AculData
)
add_subdirectory
(
AculData
)
# Add the "TELoss" directory to the include path
# include_directories(TELoss)
# Add the source files
# set(SOURCES
# TELoss/TELoss.cpp
# TELoss/TELoss.h
# TELoss/linkdef.h
# )
# # Add the Fortran source file
# set(FORTRAN_SOURCES
# TELoss/ELOSS.f90
# )
# Set the output directory for the dictionary files
# Set the output directory for the dictionary files
# set(GEN_DICT_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/TELoss)
set
(
GEN_DICT_OUTPUT_DIR
${
CMAKE_CURRENT_BINARY_DIR
}
)
set
(
GEN_DICT_OUTPUT_DIR
${
CMAKE_CURRENT_BINARY_DIR
}
)
message
(
STATUS
"CMAKE_CURRENT_BINARY_DIR:
${
CMAKE_CURRENT_BINARY_DIR
}
"
)
message
(
STATUS
"CMAKE_CURRENT_BINARY_DIR:
${
CMAKE_CURRENT_BINARY_DIR
}
"
)
message
(
STATUS
"GEN_DICT_OUTPUT_DIR:
${
GEN_DICT_OUTPUT_DIR
}
"
)
message
(
STATUS
"GEN_DICT_OUTPUT_DIR:
${
GEN_DICT_OUTPUT_DIR
}
"
)
\ No newline at end of file
# Generate dictionary for TELoss class
# #working
# ROOT_GENERATE_DICTIONARY(G__TELoss ${CMAKE_CURRENT_SOURCE_DIR}/TELoss/TELoss.h
# LINKDEF TELoss/TELossLinkDef.h)
message
(
STATUS
"CMAKE_CURRENT_SOURCE_DIR:
${
CMAKE_CURRENT_SOURCE_DIR
}
"
)
# ROOT_GENERATE_DICTIONARY(G__TELoss TELoss/TELoss.h LINKDEF TELoss/linkdef.h OPTIONS -I${CMAKE_CURRENT_SOURCE_DIR}/TELoss -o ${CMAKE_CURRENT_BINARY_DIR}/TELoss)
# ROOT_GENERATE_DICTIONARY(G__TELoss ${CMAKE_CURRENT_SOURCE_DIR}/TELoss/TELoss.h
# LINKDEF TELoss/TELossLinkDef.h
# OPTIONS -I${CMAKE_CURRENT_SOURCE_DIR}/TELoss -o ${GEN_DICT_OUTPUT_DIR})
# ROOT_GENERATE_DICTIONARY(G__TELoss ${CMAKE_CURRENT_SOURCE_DIR}/TELoss/TELoss.h
# # MODULE TELoss
# # LINKDEF ${CMAKE_CURRENT_SOURCE_DIR}/TELoss/TELossLinkDef.h
# LINKDEF TELoss/TELossLinkDef.h
# OPTIONS -o ${GEN_DICT_OUTPUT_DIR})
# Add the dictionary source file to the sources list
# list(APPEND SOURCES ${CMAKE_CURRENT_BINARY_DIR}/G__TELoss.cxx)
# list(APPEND SOURCES ${GEN_DICT_OUTPUT_DIR}/G__TELoss.cxx)
message
(
STATUS
"SOURCES:
${
SOURCES
}
"
)
# Add an executable target for the C++ class
# add_library(TELoss SHARED TELoss/TELoss.cpp TELoss/TELoss.h TELoss/linkdef.h TELoss/ELOSS.f90 ${GEN_DICT_OUTPUT_DIR}/G__TELoss.cxx)
#working
# add_library(TELoss SHARED TELoss/TELoss.cpp TELoss/TELoss.h TELoss/TELossLinkDef.h TELoss/ELOSS.f90 G__TELoss.cxx)
# add_library(TELoss SHARED ${SOURCES} ${FORTRAN_SOURCES})
# Link ROOT libraries
# target_link_libraries(TELoss ${ROOT_LIBRARIES})
# target_link_libraries(TELoss PUBLIC ROOT::Core)
# Set compiler flags for Fortran source
# enable_language(Fortran)
# set_source_files_properties(${FORTRAN_SOURCES} PROPERTIES Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/modules)
TELoss/CMakeLists.txt
View file @
13e5802a
# CMakeLists.txt in the TELoss directory
############################################################################
# CMakeLists.txt file for building TELoss package
############################################################################
include_directories
(
TELoss
)
include_directories
(
TELoss
)
...
@@ -29,10 +31,6 @@ ROOT_GENERATE_DICTIONARY(
...
@@ -29,10 +31,6 @@ ROOT_GENERATE_DICTIONARY(
LINKDEF
LINKDEF
${
CMAKE_CURRENT_SOURCE_DIR
}
/TELossLinkDef.h
)
${
CMAKE_CURRENT_SOURCE_DIR
}
/TELossLinkDef.h
)
#working
# ROOT_GENERATE_DICTIONARY(G__TELoss ${CMAKE_CURRENT_SOURCE_DIR}/TELoss/TELoss.h
# LINKDEF TELoss/TELossLinkDef.h)
# Add the dictionary source file to the sources list
# Add the dictionary source file to the sources list
list
(
APPEND SOURCES
${
CMAKE_CURRENT_BINARY_DIR
}
/G__TELoss.cxx
)
list
(
APPEND SOURCES
${
CMAKE_CURRENT_BINARY_DIR
}
/G__TELoss.cxx
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment