File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 11
11
matrix :
12
12
os : [macos-10.15, windows-2019, ubuntu-18.04]
13
13
x86 : [0, 1]
14
- no_intl : [0, 1]
14
+ small_icu : [0, 1]
15
15
exclude :
16
16
- os : macos-10.15
17
17
x86 : 1
20
20
runs-on : ${{ matrix.os }}
21
21
env :
22
22
LIBNODE_X86 : ${{ matrix.x86 }}
23
- LIBNODE_NO_INTL : ${{ matrix.no_intl }}
23
+ LIBNODE_SMALL_ICU : ${{ matrix.small_icu }}
24
24
steps :
25
25
- name : Checkout code
26
26
uses : actions/checkout@v2
Original file line number Diff line number Diff line change 7
7
x86 = os .environ .get ('LIBNODE_X86' ) == '1'
8
8
zipBasenameSuffix = os .environ .get ('LIBNODE_ZIP_SUFFIX' , '' )
9
9
10
- if os .environ .get ('LIBNODE_NO_INTL ' , '' ) == '1' :
11
- configFlags += ['--without -intl' ]
12
- zipBasenameSuffix += '-nointl '
10
+ if os .environ .get ('LIBNODE_SMALL_ICU ' , '' ) == '1' :
11
+ configFlags += ['--with -intl=small-icu ' ]
12
+ zipBasenameSuffix += '-smallicu '
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.13)
2
2
3
3
set (CMAKE_CXX_STANDARD 11)
4
- set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>" )
5
4
6
5
7
6
project (libnode_test)
@@ -13,3 +12,8 @@ target_link_libraries(simple libnode)
13
12
14
13
add_executable (process_argv process_argv.cc)
15
14
target_link_libraries (process_argv libnode)
15
+
16
+ if (WIN32 )
17
+ target_compile_options (simple PRIVATE "/MT" )
18
+ target_compile_options (process_argv PRIVATE "/MT" )
19
+ endif ()
You can’t perform that action at this time.
0 commit comments