Skip to content

Commit 582e4ba

Browse files
authored
Add StrCat, StrJoin and the rest of //strings from abseil-cpp (#756)
From abseil-cpp version bf7fc9986e20f664958fc227547fd8d2fdcf863e
1 parent 2885029 commit 582e4ba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+14613
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
#
2+
# Copyright 2017 The Abseil Authors.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
list(APPEND MEMORY_PUBLIC_HEADERS
18+
"memory.h"
19+
)
20+
21+
22+
absl_header_library(
23+
TARGET
24+
absl_memory
25+
EXPORT_NAME
26+
memory
27+
)
28+
29+
#
30+
## TESTS
31+
#
32+
33+
# test memory_test
34+
list(APPEND MEMORY_TEST_SRC
35+
"memory_test.cc"
36+
${MEMORY_PUBLIC_HEADERS}
37+
)
38+
set(MEMORY_TEST_PUBLIC_LIBRARIES absl::base absl::memory)
39+
40+
41+
42+
absl_test(
43+
TARGET
44+
memory_test
45+
SOURCES
46+
${MEMORY_TEST_SRC}
47+
PUBLIC_LIBRARIES
48+
${MEMORY_TEST_PUBLIC_LIBRARIES}
49+
)
50+
51+
52+

0 commit comments

Comments
 (0)