mirror of https://github.com/gabime/spdlog.git
* Implemented Buck builds
parent
f85a08622e
commit
24c0495c34
@ -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