question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[feature] Improve CMakeToolchain support for xcode flags

See original GitHub issue

Coming from https://github.com/conan-io/conan-center-index/pull/5545

The darwing-toolchain generator recipe used to provide some useful configurable apple flags: https://github.com/ezored/conan-darwin-toolchain/blob/stable/1.3.0/conanfile.py#L87-L127

We should take a look at the cmake flags used there and see if we can improve the integration for cmake apple-clang projects

cc/ @theodelrieu @paulo-coutinho

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:37 (35 by maintainers)

github_iconTop GitHub Comments

1reaction
paulocoutinhoxcommented, May 4, 2022

It was solved and is used in my new project: https://nativium.github.io/

Thanks a lot!

1reaction
paulocoutinhoxcommented, Sep 15, 2021

Hi,

We need a way to use it and pass flags for all dependencies only one time, it will be nice.

Example:

[build_requires]
darwin-toolchain/1.3.0@ezored/stable

[options]
darwin-toolchain:enable_arc=True
darwin-toolchain:enable_bitcode=True
darwin-toolchain:enable_visibility=False
Read more comments on GitHub >

github_iconTop Results From Across the Web

New CMakeToolchain.cache_variables - Conan Blog
The new version features include new CMakeToolchain.cache_variables, improving XCodeDeps support for components, several fixes and much ...
Read more >
conan Changelog - pyup.io
Feature : Added new mechanism to inject common Xcode flags in `CMakeToolchain` generator if enabled Bitcode, ARC, or Visibility configurations.
Read more >
Xcode 12.2 iOS Simulator arm64/x86_64 CompilerIdCXX ...
Compiler: Build flags: Id flags: The output was: 0 Command line invocation: ... warning: Traditional headermap style is no longer supported; ...
Read more >
Getting Started with the LLVM System
Release is a better fit for most users of LLVM and Clang. ... that a very recent version may be required to support...
Read more >
cmake-toolchains(7) — CMake 3.25.1 Documentation
Some toolchain features have built-in handling in CMake, ... For toolchains that do not support linking binaries without custom flags or scripts one...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found