From 8424c8924927aa6018153f4faed2f9aa71d0ccc5 Mon Sep 17 00:00:00 2001 From: memsharded Date: Wed, 14 Feb 2018 13:01:30 +0100 Subject: [PATCH] updated readme --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index db18e62a..d23c87c7 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,29 @@ conan_cmake_run(CONANFILE conanfile.txt Pass to ``conan_basic_setup(NO_OUTPUT_DIRS)`` so *conanbuildinfo.cmake* does not change the output directories (lib, bin) +### ARCH + +```cmake +include(conan.cmake) +conan_cmake_run(ARCH armv7) +``` + +Use it to override the architecture detection and force to call conan with the provided one. The architecture should +exist in *settings.yml* + + +### BUILD_TYPE + +```cmake +include(conan.cmake) +conan_cmake_run(BUILD_TYPE "None") +``` + +Use it to override the build_type detection and force to call conan with the provided one. The build type should +exist in *settings.yml* + + + ### CMAKE_BUILD_TYPE To use the [cmake_multi](http://docs.conan.io/en/latest/integrations/cmake.html#cmake-multi-configuration-environments) generator you just need to make sure ``CMAKE_BUILD_TYPE`` is empty and use a CMake generator that supports multi-configuration.