-
Notifications
You must be signed in to change notification settings - Fork 12
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
1 parent
c82d4a4
commit 839db3a
Showing
5 changed files
with
132 additions
and
219 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
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 |
---|---|---|
@@ -1,42 +1,36 @@ | ||
############################################################################## | ||
# Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH # | ||
# Copyright (C) 2019 Members of R3B Collaboration # | ||
# # | ||
# This software is distributed under the terms of the # | ||
# GNU General Public Licence (GPL) version 3, # | ||
# copied verbatim in the file "LICENSE". # | ||
# # | ||
# In applying this license GSI does not waive the privileges and immunities # | ||
# granted to it by virtue of its status as an Intergovernmental Organization # | ||
# or submit itself to any jurisdiction. # | ||
############################################################################## | ||
# Create a library called "libR3BGTPCMAP" which includes the source files given in | ||
# the array . | ||
# The extension is already found. Any number of sources could be listed here. | ||
|
||
Set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-overloaded-virtual") | ||
|
||
Set(SYSTEM_INCLUDE_DIRECTORIES | ||
${SYSTEM_INCLUDE_DIRECTORIES} | ||
${BASE_INCLUDE_DIRECTORIES} | ||
) | ||
|
||
set(INCLUDE_DIRECTORIES | ||
${ROOT_INCLUDE_DIR} | ||
${Boost_INCLUDE_DIRS} | ||
${R3BGTPC_SOURCE_DIR}/gtpcmap | ||
) | ||
|
||
include_directories( ${INCLUDE_DIRECTORIES}) | ||
include_directories(SYSTEM ${SYSTEM_INCLUDE_DIRECTORIES}) | ||
|
||
set(LINK_DIRECTORIES | ||
${ROOT_LIBRARY_DIR} | ||
${FAIRROOT_LIBRARY_DIR} | ||
) | ||
|
||
link_directories( ${LINK_DIRECTORIES}) | ||
|
||
set(SRCS | ||
R3BGTPCMap.cxx | ||
) | ||
set(SRCS R3BGTPCMap.cxx) | ||
|
||
# fill list of header files from list of source files | ||
# by exchanging the file extension | ||
CHANGE_FILE_EXTENSION(*.cxx *.h HEADERS "${SRCS}") | ||
|
||
set(LINKDEF R3BGTPCMapLinkDef.h) | ||
set(LIBRARY_NAME R3BGTPCMap) | ||
set(DEPENDENCIES | ||
Hist Core m) | ||
|
||
GENERATE_LIBRARY() | ||
|
||
change_file_extension(*.cxx *.h HEADERS "${SRCS}") | ||
|
||
add_library_with_dictionary( | ||
LIBNAME | ||
R3BGTPCMap | ||
LINKDEF | ||
R3BGTPCMapLinkDef.h | ||
HEADERS | ||
${HEADERS} | ||
SRCS | ||
${SRCS} | ||
INCLUDEDIRS | ||
${CMAKE_CURRENT_SOURCE_DIR} | ||
DEPENDENCIES | ||
R3BBase) | ||
|
||
target_compile_options(R3BGTPCMap PRIVATE -Wno-overloaded-virtual) |
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