diff options
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 87f3d76..42d84d3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -111,6 +111,10 @@ if (IS_TERMUX) | |||
| 111 | target_compile_definitions(libyue PRIVATE YUE_NO_WATCHER) | 111 | target_compile_definitions(libyue PRIVATE YUE_NO_WATCHER) |
| 112 | endif() | 112 | endif() |
| 113 | 113 | ||
| 114 | if (MSVC) | ||
| 115 | target_compile_definitions(libyue PRIVATE YUE_BUILD_AS_DLL) | ||
| 116 | endif () | ||
| 117 | |||
| 114 | add_executable(yue | 118 | add_executable(yue |
| 115 | src/yuescript/ast.cpp | 119 | src/yuescript/ast.cpp |
| 116 | src/yuescript/parser.cpp | 120 | src/yuescript/parser.cpp |
