Questions tagged cmake

Explore the latest questions and answers asked by our top developers.

Cmake – cross compiling C++ project for iOS

There is no quite a good tutorial for Cmake integration for iOS projects. There are very few found on internet, but lags information. I have a C++ project and I want to cross compile it for my iOS project. I am really not an expert in C++ and Cmake topics. Though, I followed a blog […]

By iOS
Published
Categorized as c++, cmake, cross-compiling, ios, xcode Tagged , , , ,

Embedding files in an iOS app (C++/Qt/cmake)

In an iOS c++/Qt application, I need to ship a few files and to keep them in their directory structure. For the Android version, we bundle a zip which we unzip on the target before creating the QApplication. On iOS, it seems that CMake is not capable of bundling files in a tree: https://cmake.org/cmake/help/latest/prop_tgt/RESOURCE.html#prop_tgt:RESOURCE https://cmake.org/cmake/help/latest/prop_sf/MACOSX_PACKAGE_LOCATION.html […]

By Denis Rouzaud
Published
Categorized as c++, cmake, ios, objective-c, qt Tagged , , , ,

Building a header only framework for iOS with Bazel (to be consumed by a native iOS implementation)

Summary I am currently trying to build a header only C++ (17) library for iOS. This library should output a .framework which should be consumable in a standard iOS application. The library also (of course) has other dependencies which do have source files. Background The existing setup uses Bazel, and up until this point has […]

By WoodyDev
Published
Categorized as bazel, c++, cmake, ios, xcode

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq