[buildcore] Make conan properly use own profile

This commit is contained in:
Gary Talent 2021-03-28 00:41:34 -05:00
parent f1a1d94ac3
commit c7cb2176ee

View File

@ -109,14 +109,15 @@ endif
endif # USE_VCPKG endif # USE_VCPKG
.PHONY: setup-conan .PHONY: setup-conan
setup-conan: conan-config:
conan profile new nostalgia --detect --force
ifeq ($(OS),linux) ifeq ($(OS),linux)
conan profile update settings.compiler.libcxx=libstdc++11 ${PROJECT_NAME} conan profile update settings.compiler.libcxx=libstdc++11 ${PROJECT_NAME}
endif endif
conan remote add -f bincrafters https://api.bintray.com/conan/bincrafters/public-conan -pr=${PROJECT_NAME} conan remote add -f bincrafters https://api.bintray.com/conan/bincrafters/public-conan
.PHONY: conan .PHONY: conan
conan: conan:
@mkdir -p .conanbuild && cd .conanbuild && conan install ../ --build=missing @mkdir -p .conanbuild && cd .conanbuild && conan install ../ --build=missing -pr=${PROJECT_NAME}
.PHONY: configure-xcode .PHONY: configure-xcode
configure-xcode: configure-xcode: