larpon / QtFirebase

An effort to bring Google's Firebase C++ API to Qt + QML
MIT License
284 stars 83 forks source link

Build project with CMakeLists.txt instead of .pro #173

Open xuanloct4 opened 2 years ago

xuanloct4 commented 2 years ago

Is there any way for using CMakeLists.txt because my project is currently built with CMakeLists.txt?

larpon commented 2 years ago

Some years back I tried going towards CMake but had to give up back then. It should be possible but I'm not aware of anyone using CMake with the project. As always people are welcome to chime in

csikosgabor commented 1 year ago

Is there any way for using CMakeLists.txt because my project is currently built with CMakeLists.txt?

Port your *.pro files to CMake files using pro2cmake, remove the unnecessary parts, patch the *.h, *.cpp and *.mm files where it is needed, and add a *.swift file and reference it in your CMakeLists.txt.