diff --git a/Languages/xmake/使用记录.txt b/Languages/xmake/使用记录.txt index 6be3273..8722051 100644 --- a/Languages/xmake/使用记录.txt +++ b/Languages/xmake/使用记录.txt @@ -28,6 +28,8 @@ target("zoost-use") xrepo install -p windows --vs=2017 --toolchain=msvc zoost xrepo install -p windows --vs=2022 --toolchain=msvc zoost 这种来指定不同的库版本。当然工程中也需要指定如xmake f --vs=2022 --toolchain=msvc来对应。 +后续使用发现,指定了--vs=2022 --toolchain=msvc应该会自适应编译器版本,但是--toolchain=msvc +必须要设定,不能光设定--vs=2022。 【2】xmake的基本配置