Open athairus opened 8 years ago
CMake looks promising. I've made some changes to the project as I designed the build files:
AUTO_RCC
that requires a change in how the input db is referred in main.cpp
pkg-config
mandatory on the PATH
for all platformsqt
)build_folder/QML/Phoenix/what/ever.qml
qmldir
files for each folder so we can import using proper import statements instead of relative paths..app
bundle for distribution later on.Reddit comment:
If you are absolutely, positively, unconditionally convinced that you project will only ever run on one OS, go ahead and use whatever facilities that OS affords you. If, on the other hand, you're project is cross-platform, check in pre-compiled libraries in your source tree under /thirdparty/[name]/[version/[platform]. Trust me on that one. Managing multiple package managers is not worth it. It. Is. Not. Worth. It.
After looking at other projects, I'm inclined to agree. If Phoenix were Linux-only or Linux and OS X exclusive this would be much simpler, but with Windows being thrown in the complexity just balloons. Juggling multiple 3rd party plugins on Windows is not fun.
I started building the project with cmake, I suppose this is the thread to track?
Meson is a promising CMake alternative. One thing I really like about them is how they're trialing their system against many large projects and making changes or adding new features to make their system practical for large non-trivial projects. They also seem to have excellent documentation and lots of examples. Oh, and first-class Qt support!