build-cpp / cmkr

Modern build system based on CMake and TOML.
https://cmkr.build
MIT License
439 stars 27 forks source link

[feature] Add an 'SET' option #57

Closed gmh5225 closed 2 years ago

gmh5225 commented 2 years ago

Now I want to use set(CMAKE_GENERATOR_TOOLSET, "llvm-msvc"). But I didn't find a way to use it in the cmkr project. Is it possible to consider adding a SET = ["CMAKE_GENERATOR_TOOLSET"="llvm-msvc"]

mrexodia commented 2 years ago

This is not something that should be part of your CMake project. Instead you use cmake -B build -T ClangCL to build with the LLVM toolset.

gmh5225 commented 2 years ago

This is not something that should be part of your CMake project. Instead you use cmake -B build -T ClangCL to build with the LLVM toolset.

I see. Thank you.