[Qt-creator] Add OTHER_FILE function to CMake project
Campbell Barton
ideasman42 at gmail.com
Wed Aug 22 08:28:47 CEST 2012
for CMake you can include non source files in add_library() they get
included in the project but not built.
You can use cmake's SOURCE_GROUP() to group files by name though
currently only msvc project files make use of this.
On Tue, Aug 21, 2012 at 5:01 PM, Stefano Cordibella
<stefano.cordibella at edalab.it> wrote:
> Hi all,
> I am using QtCreator for editing Qt and C++ projects. I am also
> moving from qmake to CMake for Qt project.
>
> The Project outline is perfect when using qmake based project, but when
> the current project is a CMake project there are less information on
> this panel:
> 1) the header files are not showed, but this problem can be resolved
> adding the header files to the source files' list,
> 2) useful files that in qmake are collected in OTHER_FILE variable
> (README, Changelog, configuration, ...) are not showed.
>
> Are there any plan to improve the project view for CMake projects?
> There is any way to add other files to project outline like OTHER_FILE
> for qmake in CMake projects?
>
> Thanks in advance,
> Stefano.
>
> --
> Dott. Stefano Cordibella
> ---------------------------------------------
> EDALab - Networked Embedded Systems
> C.S. Dept - University of Verona - IT
> ---------------------------------------------
> email : stefano.cordibella at edalab.it
> skype : stefano.cordibella
> tel. : +39 045 802 70 85
> web : www.edalab.it
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
--
- Campbell
More information about the Qt-creator
mailing list