Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add iOS CMake support #20

Closed
crazyhappygame opened this issue Jul 24, 2019 · 6 comments

Comments

@crazyhappygame
Copy link

commented Jul 24, 2019

In CMake https://github.com/firebase/firebase-cpp-sdk/blob/master/release_build_files/CMakeLists.txt#L31 there is only :

elseif(APPLE)
    set(FIREBASE_SDK_LIBDIR ${FIREBASE_CPP_SDK_DIR}/libs/darwin/universal))

Please add also ios branch

@crazyhappygame

This comment has been minimized.

Copy link
Author

commented Aug 27, 2019

FYI. Starting from cmake 3.14.0 there is native support for iOS:
https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling-for-ios-tvos-or-watchos

Some game engines like cocos2d-x https://github.com/cocos2d/cocos2d-x switched to cmake

@stewartmiles

This comment has been minimized.

Copy link
Contributor

commented Sep 6, 2019

We've supported this since we first open sourced the project. See https://github.com/firebase/firebase-cpp-sdk#building-with-cmake-for-ios

@crazyhappygame

This comment has been minimized.

Copy link
Author

commented Sep 6, 2019

This ticket is not about building but about using in iOS cmake project

@crazyhappygame

This comment has been minimized.

Copy link
Author

commented Sep 6, 2019

@stewartmiles please reopen this issue

@stewartmiles

This comment has been minimized.

Copy link
Contributor

commented Sep 7, 2019

@crazyhappygame it looks like you opened the feature request #22 feel free to follow up on there.

@crazyhappygame

This comment has been minimized.

Copy link
Author

commented Sep 7, 2019

@stewartmiles there are 2 things:

  1. Building firebase-cpp-sdk with CMake
  2. Using firebase-cpp-sdk in CMake project

There are both about CMake but those are completely different use cases....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.