[buildcore] Add support for MSVC

This commit is contained in:
2022-03-12 11:50:21 -06:00
parent 6e51c221af
commit 399f117eab
3 changed files with 13 additions and 1 deletions

View File

@ -135,6 +135,11 @@ conan-config:
${ENV_RUN} conan profile new ${PROJECT_NAME} --detect --force
ifeq ($(OS),linux)
${ENV_RUN} conan profile update settings.compiler.libcxx=libstdc++11 ${PROJECT_NAME}
else
${ENV_RUN} conan profile update settings.compiler.cppstd=20 ${PROJECT_NAME}
ifeq ($(OS),windows)
${ENV_RUN} conan profile update settings.compiler.runtime=static ${PROJECT_NAME}
endif
endif
.PHONY: conan
conan: