Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
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
Show more breadcrumbs
dCache
cta
Commits
e981dc69
Commit
e981dc69
authored
9 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
Added Findcryptopp and Findlibuuid
parent
1d2e1ed6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
cmake/Findcryptopp.cmake
+34
-0
34 additions, 0 deletions
cmake/Findcryptopp.cmake
cmake/Findlibuuid.cmake
+34
-0
34 additions, 0 deletions
cmake/Findlibuuid.cmake
cmdline/CMakeLists.txt
+18
-1
18 additions, 1 deletion
cmdline/CMakeLists.txt
common/CMakeLists.txt
+1
-0
1 addition, 0 deletions
common/CMakeLists.txt
with
87 additions
and
1 deletion
cmake/Findcryptopp.cmake
0 → 100644
+
34
−
0
View file @
e981dc69
# The CERN Tape Archive(CTA) project
# Copyright(C) 2015 CERN
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# This module will set the following variables:
# CRYPTOPP_FOUND
# CRYPTOPP_INCLUDE_DIRS
# CRYPTOPP_LIBRARIES
find_path
(
CRYPTOPP_INCLUDE_DIRS
base64.h
PATHS /usr/include/cryptopp
NO_DEFAULT_PATH
)
find_library
(
CRYPTOPP_LIBRARIES
NAME cryptopp
PATHS /usr/lib64
NO_DEFAULT_PATH
)
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
cryptopp DEFAULT_MSG
CRYPTOPP_INCLUDE_DIRS CRYPTOPP_LIBRARIES
)
This diff is collapsed.
Click to expand it.
cmake/Findlibuuid.cmake
0 → 100644
+
34
−
0
View file @
e981dc69
# The CERN Tape Archive(CTA) project
# Copyright(C) 2015 CERN
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# This module will set the following variables:
# LIBUUID_FOUND
# LIBUUID_INCLUDE_DIRS
# LIBUUID_LIBRARIES
find_path
(
LIBUUID_INCLUDE_DIRS
uuid.h
PATHS /usr/include/uuid
NO_DEFAULT_PATH
)
find_library
(
LIBUUID_LIBRARIES
NAME uuid
PATHS /usr/lib64
NO_DEFAULT_PATH
)
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
libuuid DEFAULT_MSG
LIBUUID_INCLUDE_DIRS LIBUUID_LIBRARIES
)
This diff is collapsed.
Click to expand it.
cmdline/CMakeLists.txt
+
18
−
1
View file @
e981dc69
# The CERN Tape Archive(CTA) project
# Copyright(C) 2015 CERN
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
cmake_minimum_required
(
VERSION 2.6
)
list
(
APPEND CMAKE_MODULE_PATH
${
PROJECT_SOURCE_DIR
}
/cmake
)
find_package
(
cryptopp REQUIRED
)
find_package
(
xrootd REQUIRED
)
include_directories
(
${
XROOTD_INCLUDE_DIR
}
${
XROOTD_PRIVATE_INCLUDE_DIR
}
${
CMAKE_SOURCE_DIR
}
)
...
...
@@ -8,4 +25,4 @@ add_executable (cta CTACmdMain.cpp CTACmd.cpp)
target_link_libraries
(
cta
${
XROOTD_XRDCL_LIB
}
ctacommon cryptopp ctautils
)
install
(
TARGETS cta DESTINATION usr/bin
)
include_directories
(
${
CMAKE_SOURCE_DIR
}
/tapeserver/
)
\ No newline at end of file
include_directories
(
${
CMAKE_SOURCE_DIR
}
/tapeserver/
)
This diff is collapsed.
Click to expand it.
common/CMakeLists.txt
+
1
−
0
View file @
e981dc69
...
...
@@ -19,6 +19,7 @@ cmake_minimum_required (VERSION 2.6)
find_package
(
binutils REQUIRED
)
find_package
(
libattr REQUIRED
)
find_package
(
libcap REQUIRED
)
find_package
(
libuuid REQUIRED
)
set
(
COMMON_LIB_SRC_FILES
dataStructures/AdminHost.cpp
...
...
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