Skip to content

Commit 87ce7eb

Browse files
committed
bazel module 'OptFrame' -> 'optframe'
1 parent 3ecdf85 commit 87ce7eb

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

MODULE.bazel

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
module(name = "optframe")
2+
13
# bazel_dep(name = "bazel_skylib", version = "1.4.2")
24
bazel_dep(name = "hedron_compile_commands", dev_dependency = True)
35
git_override(

demo/00_SimpleBuild/BUILD.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package(default_visibility = ["//visibility:public"])
55
cc_binary(
66
name = "app_demo_opt",
77
srcs = ["src/OptFCore_load.cpp"],
8-
deps = ["@OptFrame//include:OptFCore"],
8+
deps = ["@optframe//include:OptFCore"],
99
copts = select({
1010
"@bazel_tools//src/conditions:windows": ["/std:c++17"],
1111
"@bazel_tools//src/conditions:darwin": ["--std=c++17"],

demo/00_SimpleBuild/MODULE.bazel

+9
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,12 @@
44
#
55
# For more details, please check https://github.com/bazelbuild/bazel/issues/18958
66
###############################################################################
7+
8+
9+
bazel_dep(name = "optframe", dev_dependency = True)
10+
git_override(
11+
module_name = "optframe",
12+
remote = "https://github.com/optframe/optframe.git",
13+
branch='master'
14+
)
15+

demo/00_SimpleBuild/WORKSPACE.bazel

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
load('@bazel_tools//tools/build_defs/repo:git.bzl', 'git_repository')
2-
git_repository(
3-
name='OptFrame',
4-
remote='https://github.com/optframe/optframe.git',
5-
branch='master'
6-
)
1+
#load('@bazel_tools//tools/build_defs/repo:git.bzl', 'git_repository')
2+
#git_repository(
3+
# name='OptFrame',
4+
# remote='https://github.com/optframe/optframe.git',
5+
# branch='master'
6+
#)

0 commit comments

Comments
 (0)