I am trying to install the ArcGIS Toolkit so that I can use Popups in my application. I have cloned the repo and am now trying to follow the instructions in uitools/README.md so that I can create a PopupStackView in QML.
However, my project uses CMake. The Toolkit only provides qmake files for installation (toolkitcpp.pri, toolkitqml.pri, toolkitwidgets.pri). If I add the suggested path for the Toolkit qmake file to my CMakeLists.txt:
include(uitools/toolkitcpp.pri)
Then I will receive an error when I build the application:
CMake Error at uitools/toolkitcpp.pri:16:
Parse error. Expected "(", got unquoted argument with text "+=".
Call Stack (most recent call first):
src/CMakeLists.txt:72 (include)
This is because CMake is trying to parse the .pri file as if it is written in CMake, even though it is written in qmake. How do I work around this? I'd prefer not to manually rewrite the .pri file in CMake, because then any future changes to toolkitcpp.pri would have to be manually reflected in my personal rewritten file.
Also, are there any future plans to provide a CMake alternative to the .pri files in the Toolkit?