init repo.
This commit is contained in:
12
third_party/gflags/test/gflags_declare_flags.cc
vendored
Executable file
12
third_party/gflags/test/gflags_declare_flags.cc
vendored
Executable file
@ -0,0 +1,12 @@
|
||||
#define GFLAGS_DLL_DECLARE_FLAG
|
||||
|
||||
#include <iostream>
|
||||
#include <gflags/gflags_declare.h>
|
||||
|
||||
DECLARE_string(message); // in gflags_delcare_test.cc
|
||||
|
||||
void print_message();
|
||||
void print_message()
|
||||
{
|
||||
std::cout << FLAGS_message << std::endl;
|
||||
}
|
Reference in New Issue
Block a user