support bazel complie this project and format code.
This commit is contained in:
9
codingStyleIdioms/4_copy-swap/BUILD
Normal file
9
codingStyleIdioms/4_copy-swap/BUILD
Normal file
@@ -0,0 +1,9 @@
|
||||
# please run `bazel run //codingStyleIdioms/4_copy-swap:copy-swapAndADL`
|
||||
|
||||
load("@rules_cc//cc:defs.bzl", "cc_binary")
|
||||
|
||||
cc_binary(
|
||||
name = "copy-swapAndADL",
|
||||
srcs = ["copy-swapAndADL.cpp"],
|
||||
copts = ["-std=c++11"],
|
||||
)
|
Reference in New Issue
Block a user