fix(headers): moved all headers to fourdst/
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
#
|
#
|
||||||
# *********************************************************************** #
|
# *********************************************************************** #
|
||||||
project('liblogging', 'cpp', version: 'v1.0.5', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0')
|
project('liblogging', 'cpp', version: 'v1.0.6', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0')
|
||||||
|
|
||||||
# Add default visibility for all C++ targets
|
# Add default visibility for all C++ targets
|
||||||
add_project_arguments('-fvisibility=default', language: 'cpp')
|
add_project_arguments('-fvisibility=default', language: 'cpp')
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
|
||||||
#include "logging.h"
|
#include "fourdst/logging/logging.h"
|
||||||
|
|
||||||
|
|
||||||
namespace fourdst::logging {
|
namespace fourdst::logging {
|
||||||
|
|||||||
@@ -22,10 +22,6 @@ logging_sources = files(
|
|||||||
'lib/logging.cpp',
|
'lib/logging.cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
logging_headers = files(
|
|
||||||
'include/logging.h'
|
|
||||||
)
|
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
quill_dep,
|
quill_dep,
|
||||||
]
|
]
|
||||||
@@ -44,4 +40,7 @@ logging_dep = declare_dependency(
|
|||||||
dependencies: dependencies
|
dependencies: dependencies
|
||||||
)
|
)
|
||||||
|
|
||||||
|
logging_headers = files(
|
||||||
|
'include/fourdst/logging/logging.h'
|
||||||
|
)
|
||||||
install_headers(logging_headers, subdir : 'fourdst/fourdst/logging')
|
install_headers(logging_headers, subdir : 'fourdst/fourdst/logging')
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#include <regex>
|
#include <regex>
|
||||||
#include "quill/LogMacros.h"
|
#include "quill/LogMacros.h"
|
||||||
|
|
||||||
#include "logging.h"
|
#include "fourdst/logging/logging.h"
|
||||||
|
|
||||||
std::string getLastLine(const std::string& filename) {
|
std::string getLastLine(const std::string& filename) {
|
||||||
std::ifstream file(filename);
|
std::ifstream file(filename);
|
||||||
|
|||||||
Reference in New Issue
Block a user