robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
92a83f671b
master
1add_library ( test_lib INTERFACE ) 2if ( WIN32) 3target_compile_definitions ( test_lib INTERFACE MSWIN ) 4endif () 5target_link_libraries ( test_lib INTERFACE nvim_bin ) 6 7add_executable ( tty-test EXCLUDE_FROM_ALL tty-test.c ) 8add_executable ( shell-test EXCLUDE_FROM_ALL shell-test.c ) 9# Fake pwsh (powershell) for testing make_filter_cmd(). #16271 10add_executable ( pwsh-test EXCLUDE_FROM_ALL shell-test.c ) 11add_executable ( printargs-test EXCLUDE_FROM_ALL printargs-test.c ) 12add_executable ( printenv-test EXCLUDE_FROM_ALL printenv-test.c ) 13add_executable ( streams-test EXCLUDE_FROM_ALL streams-test.c ) 14 15target_link_libraries ( tty-test PRIVATE test_lib ) 16target_link_libraries ( shell-test PRIVATE test_lib ) 17target_link_libraries ( pwsh-test PRIVATE test_lib ) 18target_link_libraries ( printargs-test PRIVATE test_lib ) 19target_link_libraries ( printenv-test PRIVATE test_lib ) 20target_link_libraries ( streams-test PRIVATE test_lib )