From b4e93de4107be938fe10e0843d20e91da01a7b9e Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 26 Apr 2022 22:45:38 -0700 Subject: build(cmake): cleanup cmake.toml --- cmake.toml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'cmake.toml') diff --git a/cmake.toml b/cmake.toml index 9817c22..7495155 100644 --- a/cmake.toml +++ b/cmake.toml @@ -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"] -- cgit v1.2.3