-
-
Save njlr/8ce85bf6f5e1959105194f37596472fd to your computer and use it in GitHub Desktop.
BUCK file for Google Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cxx_library( | |
name = 'googletest', | |
header_namespace = '', | |
srcs = [ | |
'googletest/src/gtest-all.cc', | |
'googletest/src/gtest_main.cc', | |
], | |
headers = subdir_glob([ | |
('googletest', 'src/*.h'), | |
('googletest', 'src/*.cc'), | |
('googletest/include', '**/*.h'), | |
]), | |
deps = [ | |
'//:c++' | |
], | |
exported_headers = subdir_glob([ | |
('googletest/include', '**/*.h'), | |
]), | |
preprocessor_flags = [ | |
'-U_STRICT_ANSI_', | |
], | |
compiler_flags = [ | |
'-stdlib=libc++', | |
'-std=c++1z', | |
'-nostdinc++', | |
], | |
visibility = [ | |
'PUBLIC', | |
], | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment