Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
abseil-cpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Archive
Third Party Libraries
abseil-cpp
Commits
fe2006e9
Commit
fe2006e9
authored
7 years ago
by
Roman Gershman
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
7994c57a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMake/README.md
+2
-1
2 additions, 1 deletion
CMake/README.md
CMakeLists.txt
+2
-2
2 additions, 2 deletions
CMakeLists.txt
with
4 additions
and
3 deletions
CMake/README.md
+
2
−
1
View file @
fe2006e9
...
...
@@ -29,7 +29,8 @@
Note: Abseil requires CCTZ and the googletest framework. Consequently,
the targets `gtest`, `gtest_main`, `gmock` and `cctz` need
to be declared in your project before including abseil with `add_subdirectory`.
However, if abseil is compiled with -DBUILD_TESTING=OFF, then `gtest`, `gmock` and `gtest_main` are not required.
In addition, it's possible to override the name of cctz target to custom one with option -DABSL_CCTZ_TARGET=my_cctz
4- Add the absl:: target you wish to use to the
`target_link_libraries()`
section of your executable or of your library
...
...
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
2
−
2
View file @
fe2006e9
...
...
@@ -62,8 +62,8 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_WARNING_VLA} ${CMAKE_CXX_FLAGS} ")
## pthread
find_package
(
Threads REQUIRED
)
if
(
NOT CCTZ_TARGET
)
set
(
CCTZ_TARGET cctz
)
if
(
NOT
ABSL_
CCTZ_TARGET
)
set
(
ABSL_
CCTZ_TARGET cctz
)
endif
()
# commented: used only for standalone test
...
...
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