Build Node bindings on Windows
This commit is contained in:
parent
2707eba7bc
commit
a36034b275
@ -28,6 +28,7 @@
|
|||||||
#include "util/json_util.hpp"
|
#include "util/json_util.hpp"
|
||||||
|
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
|
#include <map>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
namespace osrm
|
namespace osrm
|
||||||
|
|||||||
@ -14,7 +14,7 @@ nodejs_init()
|
|||||||
message(STATUS "Configuring node_osrm bindings for NodeJs ${NODEJS_VERSION}")
|
message(STATUS "Configuring node_osrm bindings for NodeJs ${NODEJS_VERSION}")
|
||||||
|
|
||||||
add_nodejs_module(node_osrm node_osrm.cpp)
|
add_nodejs_module(node_osrm node_osrm.cpp)
|
||||||
set_target_properties(node_osrm PROPERTIES CXX_STANDARD 14)
|
set_target_properties(node_osrm PROPERTIES CXX_STANDARD 17)
|
||||||
# TODO: we disable clang-tidy for this target, because it causes errors in third-party NodeJs related headers
|
# TODO: we disable clang-tidy for this target, because it causes errors in third-party NodeJs related headers
|
||||||
set_target_properties(node_osrm PROPERTIES CXX_CLANG_TIDY "")
|
set_target_properties(node_osrm PROPERTIES CXX_CLANG_TIDY "")
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user