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
33256c2f
Commit
33256c2f
authored
11 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
Added more
parent
51a9ed92
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+8
-2
8 additions, 2 deletions
CMakeLists.txt
common/CMakeLists.txt
+1
-0
1 addition, 0 deletions
common/CMakeLists.txt
tape/CMakeLists.txt
+2
-1
2 additions, 1 deletion
tape/CMakeLists.txt
with
11 additions
and
3 deletions
CMakeLists.txt
+
8
−
2
View file @
33256c2f
...
...
@@ -3,12 +3,18 @@ project (castor)
set
(
MAJOR_CASTOR_VERSION 2.1
)
set
(
MINOR_CASTOR_VERSION 14.2
)
set
(
CASTOR_DEST_BIN_DIR /usr/bin
)
set
(
CASTOR_DEST_LIB_DIR /usr/lib64
)
# All common variables and values to be used by all CMakeLists.txt files should
# be specified here
set
(
CMAKE_C_FLAGS
"-fPIC -Wall -Wextra -Werror -Wno-unused-parameter"
)
set
(
CMAKE_CXX_FLAGS
"-fPIC -Wall -Wextra -Werror -Wno-unused-parameter"
)
set
(
CMAKE_C_FLAGS
"-pthread -fPIC -Wall -Wextra -Werror -Wno-unused-parameter"
)
set
(
CMAKE_CXX_FLAGS
${
CMAKE_C_FLAGS
}
)
set_property
(
DIRECTORY PROPERTY COMPILE_DEFINITIONS _LARGEFILE64_SOURCE
)
# Do not add rpath information to compiled executables
set
(
CMAKE_SKIP_RPATH TRUE
)
add_subdirectory
(
common
)
add_subdirectory
(
tape
)
This diff is collapsed.
Click to expand it.
common/CMakeLists.txt
+
1
−
0
View file @
33256c2f
...
...
@@ -47,3 +47,4 @@ set (COMMON_LIB_SRC_FILES
add_library
(
castorcommon SHARED
${
COMMON_LIB_SRC_FILES
}
)
set_target_properties
(
castorcommon
PROPERTIES SOVERSION
${
MAJOR_CASTOR_VERSION
}
)
install
(
TARGETS castorcommon DESTINATION $CASTOR_DEST_LIB_DIR
)
This diff is collapsed.
Click to expand it.
tape/CMakeLists.txt
+
2
−
1
View file @
33256c2f
...
...
@@ -30,4 +30,5 @@ set (TAPE_LIB_SRC_FILES Ctape_config.c Ctape_devinfo.c Ctape_dmpfil.c
add_library
(
castortape SHARED
${
TAPE_LIB_SRC_FILES
}
${
TAPE_LIB_USR_SRC_FILES
}
)
set_target_properties
(
castortape PROPERTIES SOVERSION
${
MAJOR_CASTOR_VERSION
}
)
#target_link_libraries (castortape
target_link_libraries
(
castortape castorcommon
)
install
(
TARGETS castortape DESTINATION $CASTOR_DEST_LIB_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