Make it much easier to build and run marble from an IDE like QtCreator.

Review Request #6574 - Created March 3, 2011 and updated

Information
Andrew Manson
kde
Reviewers
marble
Make it much easier to build and run marble from an IDE like QtCreator. 

This change is really just a change to the cmake configuration files that copies the data into the cmake build directory while cmake is being run. Any code changes are just to facilitate looking relative to the executable for data files. 

This is a proof of concept patch and needs discussion. Once approved the rest of the Data marble/data/CMakeLists.txt file can be converted to using the new handy macro with very little effort. 
I have only tested this running the QT_ONLY version from within qtcreator. I have not tested running "make install" but I am confident that I have not changed any of the logic in the CMake Script so the install path should not have changed. 
Thibaut Gridel
It doesn't look like a good idea to merge build dir and install dir.
Moreover, cmake proposes -DCMAKE_INSTALL_PREFIX to install to a local/ and QtCreator proposes deployment step before running an app.
Loading...