4 #include "NPDetConfig.h"
7 #define required_argument 1
8 #define optional_argument 2
19 int main(
int argc,
char * argv[]) {
23 std::cout << std::endl;
26 const struct option longopts[] =
47 iarg = getopt_long(argc, argv,
"vhlcpd", longopts, &index);
87 std::cout << std::endl;
93 std::cout <<
"NPDet Version "
94 << NPDet_VERSION_MAJOR <<
"."
95 << NPDet_VERSION_MINOR <<
"."
96 << NPDet_VERSION_PATCH <<
" ";
100 std::cout <<
"NPDet-config --libs --cflags --ldflags --inc --grid" <<
" ";
104 std::cout << NPDet_CXX_LIBS <<
" ";
108 std::cout << NPDet_CXX_INC_DIR <<
" ";
112 std::cout << NPDet_CXX_CFLAGS <<
" ";
116 std::cout << NPDet_CXX_LDFLAGS <<
" ";
120 std::cout << NPDet_DATA_DIR <<
" ";
124 std::cout << NPDet_PREFIX <<
" ";