tile/third_party/gflags/test/gflags_declare_flags.cc

13 lines
234 B
C++
Raw Normal View History

2024-06-11 19:13:30 +08:00
#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;
}