util/OptionParser: move to cmdline/
This library will depend on libfmt, and libutil shouldn't depend on any library.
This commit is contained in:
@@ -39,9 +39,9 @@
|
||||
#include "fs/StandardDirectory.hxx"
|
||||
#include "event/Features.h"
|
||||
#include "io/uring/Features.h"
|
||||
#include "cmdline/OptionDef.hxx"
|
||||
#include "cmdline/OptionParser.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
#include "util/OptionDef.hxx"
|
||||
#include "util/OptionParser.hxx"
|
||||
#include "Version.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
|
9
src/cmdline/meson.build
Normal file
9
src/cmdline/meson.build
Normal file
@@ -0,0 +1,9 @@
|
||||
cmdline = static_library(
|
||||
'cmdline',
|
||||
'OptionParser.cxx',
|
||||
include_directories: inc,
|
||||
)
|
||||
|
||||
cmdline_dep = declare_dependency(
|
||||
link_with: cmdline,
|
||||
)
|
@@ -22,7 +22,6 @@ util = static_library(
|
||||
'PeakBuffer.cxx',
|
||||
'PrintException.cxx',
|
||||
'SparseBuffer.cxx',
|
||||
'OptionParser.cxx',
|
||||
'ByteReverse.cxx',
|
||||
'format.c',
|
||||
'BitReverse.cxx',
|
||||
|
Reference in New Issue
Block a user