aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/windows/dll/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'examples/windows/dll/BUILD')
-rw-r--r--examples/windows/dll/BUILD15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/windows/dll/BUILD b/examples/windows/dll/BUILD
new file mode 100644
index 0000000000..2b7e956fc5
--- /dev/null
+++ b/examples/windows/dll/BUILD
@@ -0,0 +1,15 @@
+cc_binary(
+ name = "hellolib.dll",
+ srcs = [
+ "hello-library.cpp",
+ ],
+ linkshared = 1,
+)
+
+cc_binary(
+ name = "hello",
+ srcs = [
+ "hello-world.cpp",
+ ],
+ data = [":hellolib.dll"],
+)