Move Visual Studio module test to its own subdir.

pull/10358/head
Jussi Pakkanen 3 years ago
parent 42327eacbc
commit 7183d9d71e
  1. 20
      test cases/unit/85 cpp modules/meson.build
  2. 0
      test cases/unit/85 cpp modules/vs/main.cpp
  3. 15
      test cases/unit/85 cpp modules/vs/meson.build
  4. 0
      test cases/unit/85 cpp modules/vs/src0.ixx
  5. 0
      test cases/unit/85 cpp modules/vs/src1.ixx
  6. 0
      test cases/unit/85 cpp modules/vs/src2.ixx
  7. 0
      test cases/unit/85 cpp modules/vs/src3.ixx
  8. 0
      test cases/unit/85 cpp modules/vs/src4.ixx
  9. 0
      test cases/unit/85 cpp modules/vs/src5.ixx
  10. 0
      test cases/unit/85 cpp modules/vs/src6.ixx
  11. 0
      test cases/unit/85 cpp modules/vs/src7.ixx
  12. 0
      test cases/unit/85 cpp modules/vs/src8.ixx
  13. 0
      test cases/unit/85 cpp modules/vs/src9.ixx

@ -1,17 +1,9 @@
project('cppmodules', 'cpp', default_options: ['cpp_std=c++latest'])
e = executable('modtest',
'main.cpp',
'src0.ixx',
'src1.ixx',
'src2.ixx',
'src3.ixx',
'src4.ixx',
'src5.ixx',
'src6.ixx',
'src7.ixx',
'src8.ixx',
'src9.ixx',
)
cpp = meson.get_compiler('cpp')
test('modtest', e)
if cpp.get_id() == 'msvc'
subdir('vs')
else
error('Unknown compiler')
endif

@ -0,0 +1,15 @@
e = executable('modtest',
'main.cpp',
'src0.ixx',
'src1.ixx',
'src2.ixx',
'src3.ixx',
'src4.ixx',
'src5.ixx',
'src6.ixx',
'src7.ixx',
'src8.ixx',
'src9.ixx',
)
test('modtest', e)
Loading…
Cancel
Save