mirror of https://github.com/gabime/spdlog.git
Merge 1afa301a1c
into 9470bdd3ec
commit
5d32094ec3
@ -0,0 +1,12 @@
|
||||
prebuilt_cxx_library(
|
||||
name = 'spdlog',
|
||||
header_namespace = 'spdlog',
|
||||
header_only = True,
|
||||
exported_headers = subdir_glob([
|
||||
('include/spdlog', '**/*.h'),
|
||||
('include/spdlog', '**/*.cc'),
|
||||
]),
|
||||
visibility = [
|
||||
'PUBLIC',
|
||||
],
|
||||
)
|
@ -0,0 +1,25 @@
|
||||
cxx_binary(
|
||||
name = 'example',
|
||||
srcs = [
|
||||
'example.cpp',
|
||||
],
|
||||
compiler_flags = [
|
||||
'-std=c++14',
|
||||
],
|
||||
deps = [
|
||||
'//:spdlog',
|
||||
],
|
||||
)
|
||||
|
||||
cxx_binary(
|
||||
name = 'bench',
|
||||
srcs = [
|
||||
'bench.cpp',
|
||||
],
|
||||
compiler_flags = [
|
||||
'-std=c++14',
|
||||
],
|
||||
deps = [
|
||||
'//:spdlog',
|
||||
],
|
||||
)
|
@ -0,0 +1,17 @@
|
||||
cxx_binary(
|
||||
name = 'tests',
|
||||
header_namespace = '',
|
||||
headers = glob([
|
||||
'*.h',
|
||||
'*.hpp',
|
||||
]),
|
||||
srcs = glob([
|
||||
'*.cpp',
|
||||
]),
|
||||
compiler_flags = [
|
||||
'-std=c++14',
|
||||
],
|
||||
deps = [
|
||||
'//:spdlog',
|
||||
],
|
||||
)
|
Loading…
Reference in New Issue