Commit 1cc50886 authored by Linshizhi's avatar Linshizhi

init

parents
Pipeline #25714 failed with stages
cc_binary(
name = "img-render",
srcs = ["IMGRender.cc"]
)
int main(int argc, char *argv[]) {
return 0;
}
cc_library(
name = "render",
srcs = ["canvas.cc"],
hdrs = ["canvas.h"],
visibility = [
"//app:__pkg__",
"//tests:__pkg__"
]
)
#include <stdio.h>
int say(void) {
printf("Hello,World\n");
return 0;
}
int say();
# Needed for each target whose artifacts are to be checked.
cc_test(
name = "check",
srcs = [":check.cc"],
args = ["/home"],
deps = ["//src:render"]
)
#include "src/canvas.h"
int main(void) {
return say();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment