Skip to content

Commit

Permalink
Merge pull request #5 from andreiavrammsd/bazel-modules
Browse files Browse the repository at this point in the history
Bazel modules
  • Loading branch information
andreiavrammsd committed Jul 27, 2024
2 parents 8c14f4a + 2ddbb84 commit 6bb9ec2
Show file tree
Hide file tree
Showing 6 changed files with 143 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.idea
*build*
*bazel*
bazel*
2 changes: 1 addition & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ cc_test(
copts = ["--std=c++17 -Wall -Wextra -Wpedantic -Werror"],
deps = [
":poly_map",
"@gtest//:gtest_main",
"@googletest//:gtest_main",
],
)
1 change: 1 addition & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bazel_dep(name = "googletest", version = "1.15.0")
139 changes: 139 additions & 0 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions WORKSPACE

This file was deleted.

2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ endif()
include(${CPM_DOWNLOAD_LOCATION})

# Testing framework
CPMAddPackage("gh:google/googletest@1.12.0")
CPMAddPackage("gh:google/googletest@1.15.0")

# Test macro
macro(package_add_test TESTNAME)
Expand Down

0 comments on commit 6bb9ec2

Please sign in to comment.