diff --git a/docs/cmake-toml.md b/docs/cmake-toml.md index 82a832d..86a6b4a 100644 --- a/docs/cmake-toml.md +++ b/docs/cmake-toml.md @@ -27,6 +27,7 @@ name = "myproject" version = "1.0.0" description = "Description of the project" languages = ["C", "CXX"] +msvc-runtime = "" # dynamic (implicit default), static cmake-before = """ message(STATUS "CMake injected before the project() call") """ @@ -58,6 +59,8 @@ sources = ["src/main.cpp"] windows.sources = ["src/windows_specific.cpp"] ``` +### Predefined conditions + The following conditions are predefined (you can override them if you desire): ```toml @@ -144,6 +147,7 @@ alias = "mytarget::mytarget" type = "static" # executable, shared (DLL), static, interface, object, library, custom headers = ["src/mytarget.h"] sources = ["src/mytarget.cpp"] +msvc-runtime = "" # dynamic (implicit default), static # The keys below match the target_xxx CMake commands # Keys prefixed with private- will get PRIVATE visibility