|
1 | 1 | if(EMSCRIPTEN)
|
2 |
| - |
3 |
| - add_distinct_clang_unittest(ClangReplInterpreterTests |
4 |
| - IncrementalCompilerBuilderTest.cpp |
5 |
| - IncrementalProcessingTest.cpp |
6 |
| - InterpreterTest.cpp |
7 |
| - InterpreterExtensionsTest.cpp |
8 |
| - CodeCompletionTest.cpp |
9 |
| - |
10 |
| - CLANG_LIBS |
11 |
| - clangInterpreter |
12 |
| - ) |
13 |
| - |
14 |
| - target_link_options(ClangReplInterpreterTests |
15 |
| - PUBLIC "SHELL: -s MAIN_MODULE=1" |
16 |
| - PUBLIC "SHELL: -s ALLOW_MEMORY_GROWTH=1" |
17 |
| - PUBLIC "SHELL: -s STACK_SIZE=32mb" |
18 |
| - PUBLIC "SHELL: -s INITIAL_MEMORY=128mb" |
19 |
| - PUBLIC "SHELL: --emrun" |
20 |
| - ) |
21 |
| - |
22 |
| - set_target_properties(ClangReplInterpreterTests PROPERTIES |
23 |
| - SUFFIX ".html" |
24 |
| - ) |
25 |
| - |
| 2 | +add_distinct_clang_unittest(ClangReplInterpreterTests |
| 3 | + IncrementalCompilerBuilderTest.cpp |
| 4 | + IncrementalProcessingTest.cpp |
| 5 | + InterpreterTest.cpp |
| 6 | + InterpreterExtensionsTest.cpp |
| 7 | + CodeCompletionTest.cpp |
| 8 | + |
| 9 | + CLANG_LIBS |
| 10 | + clangInterpreter |
| 11 | +) |
| 12 | +target_link_options(ClangReplInterpreterTests |
| 13 | + PUBLIC "SHELL: -s MAIN_MODULE=1" |
| 14 | + PUBLIC "SHELL: -s ALLOW_MEMORY_GROWTH=1" |
| 15 | + PUBLIC "SHELL: -s STACK_SIZE=32mb" |
| 16 | + PUBLIC "SHELL: -s INITIAL_MEMORY=128mb" |
| 17 | + PUBLIC "SHELL: --emrun" |
| 18 | +) |
| 19 | +set_target_properties(ClangReplInterpreterTests PROPERTIES |
| 20 | + SUFFIX ".html" |
| 21 | +) |
26 | 22 | else()
|
27 |
| - |
28 |
| - add_distinct_clang_unittest(ClangReplInterpreterTests |
29 |
| - IncrementalCompilerBuilderTest.cpp |
30 |
| - IncrementalProcessingTest.cpp |
31 |
| - InterpreterTest.cpp |
32 |
| - InterpreterExtensionsTest.cpp |
33 |
| - CodeCompletionTest.cpp |
34 |
| - |
35 |
| - EXPORT_SYMBOLS |
36 |
| - |
37 |
| - CLANG_LIBS |
38 |
| - clangAST |
39 |
| - clangBasic |
40 |
| - clangInterpreter |
41 |
| - clangFrontend |
42 |
| - clangSema |
43 |
| - |
44 |
| - LINK_LIBS |
45 |
| - LLVMTestingSupport |
46 |
| - |
47 |
| - LLVM_COMPONENTS |
48 |
| - ${LLVM_TARGETS_TO_BUILD} |
49 |
| - Core |
50 |
| - MC |
51 |
| - OrcJIT |
52 |
| - Support |
53 |
| - TargetParser |
54 |
| - ) |
55 |
| - |
| 23 | +add_distinct_clang_unittest(ClangReplInterpreterTests |
| 24 | + IncrementalCompilerBuilderTest.cpp |
| 25 | + IncrementalProcessingTest.cpp |
| 26 | + InterpreterTest.cpp |
| 27 | + InterpreterExtensionsTest.cpp |
| 28 | + CodeCompletionTest.cpp |
| 29 | + |
| 30 | + EXPORT_SYMBOLS |
| 31 | + |
| 32 | + CLANG_LIBS |
| 33 | + clangAST |
| 34 | + clangBasic |
| 35 | + clangInterpreter |
| 36 | + clangFrontend |
| 37 | + clangSema |
| 38 | + |
| 39 | + LINK_LIBS |
| 40 | + LLVMTestingSupport |
| 41 | + |
| 42 | + LLVM_COMPONENTS |
| 43 | + ${LLVM_TARGETS_TO_BUILD} |
| 44 | + Core |
| 45 | + MC |
| 46 | + OrcJIT |
| 47 | + Support |
| 48 | + TargetParser |
| 49 | +) |
56 | 50 | endif()
|
57 | 51 |
|
58 | 52 | # Exceptions on Windows are not yet supported.
|
|
0 commit comments