diff options
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5e3a74c0f..0696201df 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt | |||
| @@ -43,7 +43,7 @@ if (MSVC) | |||
| 43 | /Zo | 43 | /Zo |
| 44 | /permissive- | 44 | /permissive- |
| 45 | /EHsc | 45 | /EHsc |
| 46 | /std:c++latest | 46 | /std:c++20 |
| 47 | /utf-8 | 47 | /utf-8 |
| 48 | /volatile:iso | 48 | /volatile:iso |
| 49 | /Zc:externConstexpr | 49 | /Zc:externConstexpr |
| @@ -51,8 +51,10 @@ if (MSVC) | |||
| 51 | /Zc:throwingNew | 51 | /Zc:throwingNew |
| 52 | /GT | 52 | /GT |
| 53 | 53 | ||
| 54 | # Modules | ||
| 55 | /experimental:module- # Disable module support explicitly due to conflicts with precompiled headers | ||
| 56 | |||
| 54 | # External headers diagnostics | 57 | # External headers diagnostics |
| 55 | /experimental:external # Enables the external headers options. This option isn't required in Visual Studio 2019 version 16.10 and later | ||
| 56 | /external:anglebrackets # Treats all headers included by #include <header>, where the header file is enclosed in angle brackets (< >), as external headers | 58 | /external:anglebrackets # Treats all headers included by #include <header>, where the header file is enclosed in angle brackets (< >), as external headers |
| 57 | /external:W0 # Sets the default warning level to 0 for external headers, effectively turning off warnings for external headers | 59 | /external:W0 # Sets the default warning level to 0 for external headers, effectively turning off warnings for external headers |
| 58 | 60 | ||
| @@ -195,3 +197,8 @@ endif() | |||
| 195 | if (ENABLE_WEB_SERVICE) | 197 | if (ENABLE_WEB_SERVICE) |
| 196 | add_subdirectory(web_service) | 198 | add_subdirectory(web_service) |
| 197 | endif() | 199 | endif() |
| 200 | |||
| 201 | if (ANDROID) | ||
| 202 | add_subdirectory(android/app/src/main/jni) | ||
| 203 | target_include_directories(yuzu-android PRIVATE android/app/src/main) | ||
| 204 | endif() | ||