[nostalgia] Make Makefile's setup-conan platform specific

This commit is contained in:
Gary Talent 2020-06-29 11:32:02 -05:00
parent 95e752bf3b
commit b21ec14079

View File

@ -84,10 +84,17 @@ devenv-destroy:
devenv-shell: devenv-shell:
${ENV_RUN} bash ${ENV_RUN} bash
ifeq ($(OS),linux)
.PHONY: setup-conan .PHONY: setup-conan
setup-conan: setup-conan:
conan profile update settings.compiler.libcxx=libstdc++11 default conan profile update settings.compiler.libcxx=libstdc++11 default
conan remote add -f bincrafters https://api.bintray.com/conan/bincrafters/public-conan conan remote add -f bincrafters https://api.bintray.com/conan/bincrafters/public-conan
else
.PHONY: setup-conan
setup-conan:
conan remote add -f bincrafters https://api.bintray.com/conan/bincrafters/public-conan
endif
.PHONY: conan .PHONY: conan
conan: conan:
@mkdir -p conanbuild && cd conanbuild && conan install ../ --build=missing @mkdir -p conanbuild && cd conanbuild && conan install ../ --build=missing