Not using boost in the end
Although the dependency is still there because of restc-cpp
This commit is contained in:
parent
49af441d48
commit
002f27de1f
2 changed files with 1 additions and 5 deletions
3
main.cpp
3
main.cpp
|
@ -2,15 +2,12 @@
|
|||
|
||||
#include <restc-cpp/restc-cpp.h>
|
||||
#include <restc-cpp/RequestBuilder.h>
|
||||
#include <boost/date_time/local_time/local_time.hpp>
|
||||
#include <string>
|
||||
//#include <boost/lexical_cast.hpp>
|
||||
#include <boost/fusion/adapted.hpp>
|
||||
#include <iostream>
|
||||
#include "date/date.h"
|
||||
|
||||
namespace rc = restc_cpp;
|
||||
namespace lt = boost::local_time;
|
||||
|
||||
namespace oro {
|
||||
typedef date::sys_time<std::chrono::microseconds> timestamp_t;
|
||||
|
|
|
@ -11,13 +11,12 @@ restc_cpp_dep = dependency('restc-cpp', version: '>=0.1.1',
|
|||
'restc_cpp_with_unit_tests=false',
|
||||
],
|
||||
)
|
||||
boost_dep = dependency('Boost', modules: ['date_time'])
|
||||
|
||||
date_incdir = include_directories('subprojects/date/include')
|
||||
|
||||
executable(meson.project_name(),
|
||||
'main.cpp',
|
||||
install: true,
|
||||
dependencies: [restc_cpp_dep, boost_dep],
|
||||
dependencies: [restc_cpp_dep],
|
||||
include_directories: date_incdir,
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue