Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abseil-cpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
abseil-cpp
Commits
6a72279e
Unverified
Commit
6a72279e
authored
Nov 02, 2021
by
Derek Mauro
Committed by
GitHub
Nov 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply LTS transformations for 20211102 LTS branch (#1050)
parent
3b22e577
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
17 deletions
+7
-17
CMake/AbseilHelpers.cmake
+1
-1
CMakeLists.txt
+2
-12
absl/base/config.h
+2
-2
absl/base/options.h
+2
-2
No files found.
CMake/AbseilHelpers.cmake
View file @
6a72279e
...
...
@@ -278,7 +278,7 @@ Cflags: -I\${includedir}${PC_CFLAGS}\n")
if
(
ABSL_ENABLE_INSTALL
)
set_target_properties
(
${
_NAME
}
PROPERTIES
OUTPUT_NAME
"absl_
${
_NAME
}
"
SOVERSION
0
SOVERSION
"2111.0.0"
)
endif
()
else
()
...
...
CMakeLists.txt
View file @
6a72279e
...
...
@@ -50,7 +50,7 @@ endif (POLICY CMP0091)
# This must come before the project() and include(CTest) lines.
OPTION
(
BUILD_TESTING
"Build tests"
OFF
)
project
(
absl LANGUAGES CXX
)
project
(
absl LANGUAGES CXX
VERSION 20211102
)
include
(
CTest
)
# Output directory is correct by default for most build setups. However, when
...
...
@@ -175,17 +175,7 @@ endif()
add_subdirectory
(
absl
)
if
(
ABSL_ENABLE_INSTALL
)
# absl:lts-remove-begin(system installation is supported for LTS releases)
# We don't support system-wide installation
list
(
APPEND SYSTEM_INSTALL_DIRS
"/usr/local"
"/usr"
"/opt/"
"/opt/local"
"c:/Program Files/
${
PROJECT_NAME
}
"
)
if
(
NOT DEFINED CMAKE_INSTALL_PREFIX OR CMAKE_INSTALL_PREFIX IN_LIST SYSTEM_INSTALL_DIRS
)
message
(
WARNING
"\
The default and system-level install directories are unsupported except in LTS \
releases of Abseil. Please set CMAKE_INSTALL_PREFIX to install Abseil in your \
source or build tree directly.\
"
)
endif
()
# absl:lts-remove-end
# install as a subdirectory only
install
(
EXPORT
${
PROJECT_NAME
}
Targets
...
...
absl/base/config.h
View file @
6a72279e
...
...
@@ -92,8 +92,8 @@
//
// LTS releases can be obtained from
// https://github.com/abseil/abseil-cpp/releases.
#
undef ABSL_LTS_RELEASE_VERSION
#
undef ABSL_LTS_RELEASE_PATCH_LEVEL
#
define ABSL_LTS_RELEASE_VERSION 20211102
#
define ABSL_LTS_RELEASE_PATCH_LEVEL 0
// Helper macro to convert a CPP variable to a string literal.
#define ABSL_INTERNAL_DO_TOKEN_STR(x) #x
...
...
absl/base/options.h
View file @
6a72279e
...
...
@@ -205,8 +205,8 @@
// be changed to a new, unique identifier name. In particular "head" is not
// allowed.
#define ABSL_OPTION_USE_INLINE_NAMESPACE
0
#define ABSL_OPTION_INLINE_NAMESPACE_NAME
head
#define ABSL_OPTION_USE_INLINE_NAMESPACE
1
#define ABSL_OPTION_INLINE_NAMESPACE_NAME
lts_20211102
// ABSL_OPTION_HARDENED
//
...
...
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