diff options
Diffstat (limited to 'cmake.toml')
| -rw-r--r-- | cmake.toml | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -10,18 +10,13 @@ version = "1.1.2" description = "🚀 Discord RPC Blocker for Lunar Client" languages = ["CXX", "C"] -[conditions] -windows = "WIN32" -msvc = "MSVC" - [fetch-content] fmt = { git = "https://github.com/fmtlib/fmt", tag = "8.1.1" } [target.soyuz] type = "executable" -windows.sources = ["soyuz/*.cc", "resource/*.rc"] +sources = ["soyuz/*.cc", "resource/*.rc"] private-include-directories = ["include/"] -properties = { CXX_STANDARD = "20", CXX_STANDARD_REQUIRED = true, CMAKE_CXX_EXTENSIONS = false, WIN32_EXECUTABLE = true } -compile-features = ["cxx_std_20", "cxx_return_type_deduction"] -msvc.compile-options = ["/W4", "/WX"] # /Wall +properties = { CMAKE_CXX_EXTENSIONS = false, CXX_STANDARD = "23", CXX_STANDARD_REQUIRED = true, WIN32_EXECUTABLE = true } +compile-options = ["/W4", "/WX"] private-link-libraries = ["fmt::fmt"] |