diff options
| author | Fuwn <[email protected]> | 2022-04-26 22:45:38 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-04-26 22:45:38 -0700 |
| commit | b4e93de4107be938fe10e0843d20e91da01a7b9e (patch) | |
| tree | 2d0ab99e00dc6b42a76fd851456fc86e694c96fd /cmake.toml | |
| parent | refactor(soyuz): global style refactoring (diff) | |
| download | soyuz-b4e93de4107be938fe10e0843d20e91da01a7b9e.tar.xz soyuz-b4e93de4107be938fe10e0843d20e91da01a7b9e.zip | |
build(cmake): cleanup cmake.toml
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"] |