-
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
315 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
build --cxxopt="-std=c++20" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
cc_library( | ||
name = "ada", | ||
srcs = [ | ||
"src/ada.cpp", | ||
], | ||
hdrs = glob([ | ||
"include/*.h", | ||
"include/ada/*.h", | ||
# todo: this can be included by every client of the library, but there is no better way | ||
# since .cpp files are included into each other. | ||
"src/*.cpp", | ||
]), | ||
# todo: once .cpp files are not included, rather then polluting -I flags, src/ should | ||
# be dropped from hdrs and this replaced by `strip_include_prefix = "include"` | ||
includes = [ | ||
"include", | ||
"include/ada", | ||
], | ||
visibility = ["//visibility:public"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bazel_dep(name = "googletest", version = "1.15.2") |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
cc_test( | ||
name = "url_search_params", | ||
srcs = ["url_search_params.cpp"], | ||
deps = [ | ||
"//:ada", | ||
"@googletest//:gtest", | ||
"@googletest//:gtest_main", | ||
], | ||
) |