cmake-conan
cmake-conan copied to clipboard
Add command line flags for host profile.
This seems to be missing. With this, I can cross-build out of the box akin to
conan_cmake_run(
SETTINGS ${settings}
ENV ${conan_env}
PROFILE_BUILD default
PROFILE_HOST android
REQUIRES
boost/1.78.0
catch2/2.13.8
eigen/3.4.0
expected-lite/0.6.2
fmt/9.1.0
nlohmann_json/3.11.2
openssl/1.1.1o
valijson/0.6
BASIC_SETUP
CMAKE_TARGETS
CONAN_COMMAND ${CONAN_CMD}
OPTIONS
boost:without_stacktrace=True
BUILD missing
GENERATORS cmake_find_package)
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
I seem to have managed to mess up this patch when copying it between my trees, sorry about the two separate commits. Now it includes the whole change.
Any interest? Just ran into this again when updating.
I have another patch which adds support for -c flags, but I'd like to get this out of the way first.
Hi @TobiSchluter
Thanks for your contribution, and sorry for taking so long to check it. We have been focused on releasing 2.0, and also for the new cmake-conan integration based on the new CMake dependency providers, there have been a few things that have fallen through the cracks.