diff --git a/CMakeLists.txt b/CMakeLists.txt index 1540cb92..004c42d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,10 @@ if(MSVC) add_compile_options(/MT$<$:d>) endif() +if(WIN32) + add_definitions(-DWIN32_LEAN_AND_MEAN) +endif() + if(NOT TARGET uv) add_subdirectory(vendor/libuv EXCLUDE_FROM_ALL) endif() @@ -323,6 +327,11 @@ link_bare_module(bare bare-url) link_bare_module(bare_bin bare-pipe) link_bare_module(bare_bin bare-repl) link_bare_module(bare_bin bare-signals) +link_bare_module(bare_bin bare-crypto) +link_bare_module(bare_bin bare-dns) +link_bare_module(bare_bin bare-inspector) +link_bare_module(bare_bin bare-tcp) +link_bare_module(bare_bin bare-tls) link_bare_module(bare_bin bare-tty) if(PROJECT_IS_TOP_LEVEL) diff --git a/bin/bare.js b/bin/bare.js index ed79c63f..b8eeced1 100644 --- a/bin/bare.js +++ b/bin/bare.js @@ -17,6 +17,7 @@ const bare = command( flag('--version|-v', 'Print the Bare version'), flag('--eval|-e